https://bugs.kde.org/show_bug.cgi?id=486018

            Bug ID: 486018
           Summary: Yakuake randomly crashes when clicking on buttons
    Classification: Applications
           Product: yakuake
           Version: 24.02.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: h...@kde.org
          Reporter: yule2...@live.com
  Target Milestone: ---

SUMMARY
Since upgrading to Plasma 6 and KDE Gear 24.02, Yakuake would randomly crash
when I click on the Open Menu button.

STEPS TO REPRODUCE
1. Leave Yakuake running for a couple days
2. Open Yakuake if hidden
3. Click on the menu icon

OBSERVED RESULT
Yakuake suddenly crashes, with all its tabs being killed.

EXPECTED RESULT
A menu would appear.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
Yakuake Version: 24.02.2
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I was also able to reproduce this with Qt 6.6 as well as Frameworks 6.0. I
haven't tried reproducing this on the X11 session.

BACKTRACE
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007b41d76ab393 in __pthread_kill_internal (signo=11,
threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007b41d765a6c8 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007b41d9abc45f in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kcrash/kcrash-6.1.0/src/kcrash.cpp:593
#4  0x00007b41d765a770 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x00007b41d83c2353 in QScreen::devicePixelRatio (this=0x5f5f0c532e10)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qscreen.cpp:288
#6  0x00007b41d83cb3a0 in QWindowPrivate::updateDevicePixelRatio
(this=0x5f5f0d35c710)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qwindow.cpp:1404
#7  0x00007b41d7d97609 in QtPrivate::QSlotObjectBase::call
    (a=0x7ffcf8d6e570, r=0x5f5f0d2ffb20, this=0x5f5f0d3c5000, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobjectdefs_impl.h:469
#8  doActivate<false> (sender=0x5f5f0d2ffb20, signal_index=3,
argv=0x7ffcf8d6e570)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:4078
#9  0x00007b41d83cb7d3 in QWindow::screenChanged (_t1=0x5f5f0c532e10,
this=0x5f5f0d2ffb20)
    at
/usr/src/debug/qt6-base/build/src/gui/Gui_autogen/include/moc_qwindow.cpp:817
#10 QWindowPrivate::emitScreenChangedRecursion (newScreen=0x5f5f0c532e10,
this=<optimized out>)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qwindow.cpp:496
#11 QWindowPrivate::setTopLevelScreen (this=<optimized out>,
newScreen=0x5f5f0c532e10, recreate=<optimized out>)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qwindow.cpp:520
#12 0x00007b41d8d32ae7 in QWidgetPrivate::create
(this=this@entry=0x5f5f0c585ed0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1318
#13 0x00007b41d8d31912 in QWidget::create
    (this=0x5f5f0c980d90, window=<optimized out>, initializeWindow=<optimized
out>, destroyOldWindow=<optimized out>)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:1209
#14 0x00007b41d8ebb448 in QMenuPrivate::popup(QPoint const&, QAction*,
std::function<QPoint (QSize const&)>)
    (this=0x5f5f0c585ed0, p=..., atAction=0x0, positionFunction=...)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qmenu.cpp:2359
#15 0x00007b41d8eceb6b in QMenu::popup (atAction=<optimized out>, p=<optimized
out>, this=<optimized out>)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qmenu.cpp:2306
#16 QPushButtonPrivate::popupPressed (this=0x7ffcf8d6e7d0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qpushbutton.cpp:586
#17 0x00007b41d7d97609 in QtPrivate::QSlotObjectBase::call
    (a=0x7ffcf8d6e8b8, r=0x5f5f0c939e80, this=0x5f5f0c939d40, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobjectdefs_impl.h:469
#18 doActivate<false> (sender=0x5f5f0c939e80, signal_index=7,
argv=0x7ffcf8d6e8b8)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:4078
#19 0x00007b41d8dff332 in QAbstractButton::pressed (this=0x5f5f0c939e80)
    at
/usr/src/debug/qt6-base/build/src/widgets/Widgets_autogen/include/moc_qabstractbutton.cpp:311
#20 QAbstractButtonPrivate::emitPressed (this=0x5f5f0c939180)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qabstractbutton.cpp:395
#21 0x00007b41d8e0b8ab in QAbstractButton::mousePressEvent
(this=0x5f5f0c939e80, e=0x7ffcf8d6eeb0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/widgets/qabstractbutton.cpp:948
#22 0x00007b41d8d47292 in QWidget::event (this=0x5f5f0c939e80,
event=0x7ffcf8d6eeb0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidget.cpp:9018
#23 0x00007b41d8cfbfcb in QApplicationPrivate::notify_helper
    (this=this@entry=0x5f5f0c4f6be0, receiver=receiver@entry=0x5f5f0c939e80,
e=e@entry=0x7ffcf8d6eeb0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:3287
#24 0x00007b41d8d00ac5 in QApplication::notify (this=<optimized out>,
receiver=<optimized out>, e=0x7ffcf8d6eeb0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:2765
--Type <RET> for more, q to quit, c to continue without paging--c
#25 0x00007b41d7d3dae8 in QCoreApplication::notifyInternal2
(receiver=0x5f5f0c939e80, event=0x7ffcf8d6eeb0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1134
#26 0x00007b41d7d3db3d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1589
#27 0x00007b41d8cf4597 in QApplicationPrivate::sendMouseEvent
    (receiver=0x5f5f0c939e80, event=0x7ffcf8d6eeb0, alienWidget=0x5f5f0c939e80,
nativeWidget=0x7ffcf8d6f8f0, buttonDown=<optimized out>, lastMouseReceiver=...,
spontaneous=true, onlyDispatchEnterLeave=false)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:2347
#28 0x00007b41d8d5be37 in QWidgetWindow::handleMouseEvent (this=0x5f5f0ccc3320,
event=event@entry=0x7ffcf8d6f220)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidgetwindow.cpp:649
#29 0x00007b41d8d5d1c0 in QWidgetWindow::event (this=0x5f5f0ccc3320,
event=0x7ffcf8d6f220)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qwidgetwindow.cpp:263
#30 0x00007b41d8cfbfcb in QApplicationPrivate::notify_helper
    (this=<optimized out>, receiver=0x5f5f0ccc3320, e=0x7ffcf8d6f220)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:3287
#31 0x00007b41d7d3dae8 in QCoreApplication::notifyInternal2
(receiver=0x5f5f0ccc3320, event=0x7ffcf8d6f220)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1134
#32 0x00007b41d7d3db3d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1589
#33 0x00007b41d83720e5 in QGuiApplicationPrivate::processMouseEvent
(e=0x7b41bc00b200)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qguiapplication.cpp:2327
#34 0x00007b41d83dcfdc in QWindowSystemInterface::sendWindowSystemEvents
(flags=...)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/kernel/qwindowsysteminterface.cpp:1114
#35 0x00007b41d87c1244 in userEventSourceDispatch (source=<optimized out>)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#36 0x00007b41d689c199 in g_main_dispatch (context=0x7b41cc000f00) at
../glib/glib/gmain.c:3344
#37 0x00007b41d68fb3bf in g_main_context_dispatch_unlocked
(context=0x7b41cc000f00) at ../glib/glib/gmain.c:4152
#38 g_main_context_iterate_unlocked.isra.0
    (context=context@entry=0x7b41cc000f00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/glib/gmain.c:4217
#39 0x00007b41d689b712 in g_main_context_iteration (context=0x7b41cc000f00,
may_block=1) at ../glib/glib/gmain.c:4282
#40 0x00007b41d7f83df4 in QEventDispatcherGlib::processEvents
(this=0x5f5f0c531140, flags=...)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#41 0x00007b41d7d45c7e in QEventLoop::processEvents (flags=...,
this=0x7ffcf8d6f6e0)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:100
#42 QEventLoop::exec (this=0x7ffcf8d6f6e0, flags=...)
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:182
#43 0x00007b41d7d416e8 in QCoreApplication::exec ()
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/global/qflags.h:74
#44 0x00007b41d8cf851a in QApplication::exec ()
    at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:2555
#45 0x00005f5f0b03cbfb in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/yakuake/yakuake-24.02.2/app/main.cpp:71

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to