*** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** SUMMARY STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
SUMMARY Every time the desktop is resumed plasmashell crashes and if auto bug reporting is enabled several instances or drkonqi crash too STEPS TO REPRODUCE 1. Install plasma 2. Wait for suspend 3. Resume and see crash OBSERVED RESULT Plasmashell crashes EXPECTED RESULT Desktop resumes normally SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.9.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor Memory: 62.0 GiB of RAM Graphics Processor: AMD Radeon RX 6750 XT Manufacturer: ASUS ADDITIONAL INFORMATION Using Polonium Backtrace was to large to paste
Created attachment 171501 [details] Backtrace
Thank you for the bug report! This crash is already reported and has been recognized as an upstream bug in Qt. Please follow the linked bug report for updates. If you believe that you are experiencing a different crash, please feel free to reopen this. *** This bug has been marked as a duplicate of bug 489180 ***
I have exactly the same problem. After resume after suspend plasma crashes. Apparently here: Thread 1 (Thread 0x7f4d48f1a400 (LWP 8932)): [KCrash Handler] #5 std::__atomic_base<int>::fetch_add (this=0x31, __i=1, __m=std::memory_order_acq_rel) at /usr/include/c++/14/bits/atomic_base.h:629 #6 QAtomicOps<int>::ref<int> (_q_value=<error reading variable: Cannot access memory at address 0x31>) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/thread/qatomic_cxx11.h:259 #7 QBasicAtomicInteger<int>::ref (this=0x31) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/thread/qbasicatomic.h:47 #8 QThreadData::ref (this=this@entry=0x31) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/thread/qthread.cpp:99 #9 0x00007f4d4f3f01ce in QObjectPrivate::connectImpl (sender=sender@entry=0x5560a3b79560, signal_index=5, receiver=receiver@entry=0x5560a3b79560, slot=slot@entry=0x0, slotObjRaw=slotObjRaw@entry=0x5560a3dc1050, type=0, types=0x0, senderMetaObject=0x7f4d387db6a0 <KScreen::WaylandConfig::staticMetaObject>) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qobject.cpp:5259 #10 0x00007f4d4f3f08b0 in QObject::connectImpl (sender=0x5560a3b79560, signal=<optimized out>, receiver=0x5560a3b79560, slot=0x0, slotObjRaw=0x5560a3dc1050, type=Qt::AutoConnection, types=0x0, senderMetaObject=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qobject.cpp:5189 #11 0x00007f4d387cfd62 in KScreen::WaylandConfig::setupRegistry()::{lambda(void*, wl_registry*, unsigned int, char const*, unsigned int)#1}::_FUN(void*, wl_registry*, unsigned int, char const*, unsigned int) () at /usr/include/qt6/QtCore/qobject.h:263 #12 0x00007f4d5036c056 in ffi_call_unix64 () at ../src/x86/unix64.S:104 #13 0x00007f4d503686a0 in ffi_call_int (cif=cif@entry=0x7ffe239e79a0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673 #14 0x00007f4d5036b4ee in ffi_call (cif=cif@entry=0x7ffe239e79a0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffe239e7a70) at ../src/x86/ffi64.c:710 #15 0x00007f4d52158f2e in wl_closure_invoke (closure=closure@entry=0x7f4d28004230, target=<optimized out>, target@entry=0x5560a32f5dc0, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../src/connection.c:1025 #16 0x00007f4d521597a3 in dispatch_event (display=display@entry=0x5560a32f0a00, queue=0x5560a32f0af0) at ../src/wayland-client.c:1631 #17 0x00007f4d52159a4c in dispatch_queue (queue=0x5560a32f0af0, display=0x5560a32f0a00) at ../src/wayland-client.c:1777 #18 wl_display_dispatch_queue_pending (display=0x5560a32f0a00, queue=0x5560a32f0af0) at ../src/wayland-client.c:2019 #19 0x00007f4d50b75c52 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylanddisplay.cpp:227 #20 0x00007f4d4f3edd4b in QObject::event (this=0x5560a32f07d0, e=0x7f4d2c001430) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qobject.cpp:1452 #21 0x00007f4d5178b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5560a32f07d0, e=0x7f4d2c001430) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287 #22 0x00007f4d4f396dc8 in QCoreApplication::notifyInternal2 (receiver=0x5560a32f07d0, event=0x7f4d2c001430) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142 #23 0x00007f4d4f39702d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1583 #24 0x00007f4d4f39ab91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5560a32bf870) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1940 #25 0x00007f4d4f39ae3d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1797 #26 0x00007f4d4f6858ef in postEventSourceDispatch (s=0x5560a32ed8f0) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:244 #27 0x00007f4d4df61e8c in g_main_dispatch (context=0x7f4d34000f00) at ../glib/gmain.c:3344 #28 g_main_context_dispatch_unlocked (context=0x7f4d34000f00) at ../glib/gmain.c:4152 #29 0x00007f4d4dfc3c98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f4d34000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217 #30 0x00007f4d4df63383 in g_main_context_iteration (context=0x7f4d34000f00, may_block=1) at ../glib/gmain.c:4282 #31 0x00007f4d4f6850a3 in QEventDispatcherGlib::processEvents (this=0x5560a33056c0, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #32 0x00007f4d4f3a3b03 in QEventLoop::exec (this=this@entry=0x7ffe239e80b0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/global/qflags.h:34 #33 0x00007f4d4f39f9bc in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-3.fc40.x86_64/src/corelib/global/qflags.h:74 #34 0x0000556069ad7b3a in main ()
Apparently the same problem was addressed here: https://bugs.kde.org/show_bug.cgi?id=480835