https://bugs.kde.org/show_bug.cgi?id=493314
--- Comment #2 from stephan.lae...@protonmail.com --- Hi there! As of now, i have rebooted my PC quite a lot, and this was the first and (so far) only crash of plasmashell. So i expect this to be really difficult to reproduce. I have never debugged with gdb, so hopefully this is what you wanted: I have installed debug symbols and sources using splitdebug and installsources for kde-plasma/plasma-meta, kde-plasma/plasma-workspace and sys-libs/glibc. This resulted in the following: coredumpctl gdb 1311 PID: 1311 (plasmashell) UID: 1000 (shadowfly) GID: 1000 (shadowfly) Signal: 11 (SEGV) Timestamp: Wed 2024-09-18 11:47:52 CEST (2 days ago) Command Line: /usr/bin/plasmashell --no-respawn Executable: /usr/bin/plasmashell Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service Unit: user@1000.service User Unit: plasma-plasmashell.service Slice: user-1000.slice Owner UID: 1000 (shadowfly) Boot ID: 192e7546084d402cab6482244172f188 Machine ID: 3dff7dd68f0142da96b7d24edf932e68 Hostname: SHADOWFLY-03 Storage: /var/lib/systemd/coredump/core.plasmashell.1000.192e7546084d402cab6482244172f188.1311.1726652872000000.zst (present) Size on Disk: 14.3M Message: Process 1311 (plasmashell) of user 1000 dumped core. GNU gdb (Gentoo 14.2 vanilla) 14.2 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/plasmashell... Reading symbols from /usr/lib/debug//usr/bin/plasmashell.debug... warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing warning: Can't open file /memfd:kwin-dmabuf-feedback-table (deleted) during file-backed mapping note processing warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing [New LWP 1311] [New LWP 1313] [New LWP 1317] [New LWP 1318] [New LWP 1312] [New LWP 1314] [New LWP 1320] [New LWP 1327] [New LWP 1319] [New LWP 1329] [New LWP 1331] [New LWP 1316] [New LWP 1330] [New LWP 1328] [New LWP 1315] [New LWP 1989] [New LWP 1974] [New LWP 1973] [New LWP 1332] [New LWP 1983] [New LWP 1993] [New LWP 1985] [New LWP 2042] [New LWP 1425] [New LWP 1987] [New LWP 1990] [New LWP 2005] [New LWP 1984] [New LWP 1986] [New LWP 1988] [New LWP 1419] [New LWP 1994] [New LWP 1991] [New LWP 2041] --Type <RET> for more, q to quit, c to continue without paging-- [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Core was generated by `/usr/bin/plasmashell --no-respawn'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f05c74d38ec in ?? () from /usr/lib64/libc.so.6 [Current thread is 1 (Thread 0x7f05c3f659c0 (LWP 1311))] (gdb) bt #0 0x00007f05c74d38ec in ??? () at /usr/lib64/libc.so.6 #1 0x00007f05c7481856 in raise () at /usr/lib64/libc.so.6 #2 0x00007f05ca2e064c in KCrash::defaultCrashHandler(int) () at /usr/lib64/libKF6Crash.so.6 #3 0x00007f05c7481900 in <signal handler called> () at /usr/lib64/libc.so.6 #4 0x00007f05c891a8d2 in QV4::QObjectWrapper::wrap(QV4::ExecutionEngine*, QObject*) () at /usr/lib64/libQt6Qml.so.6 #5 0x00007f05c8abe2f0 in ??? () at /usr/lib64/libQt6Qml.so.6 #6 0x00007f05c8ac0e4a in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlRefPointer<QQmlContextData> const&, QV4::Heap::Object*, QObject*, QV4::String*, QFlags<QV4::QObjectWrapper::Flag>, bool*, QQmlPropertyData const**) () at /usr/lib64/libQt6Qml.so.6 #7 0x00007f05c8c740be in QV4::QQmlTypeWrapper::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) () at /usr/lib64/libQt6Qml.so.6 #8 0x00007f05c8a91879 in QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) () at /usr/lib64/libQt6Qml.so.6 #9 0x00007f05c8c7237e in QV4::QQmlTypeWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) () at /usr/lib64/libQt6Qml.so.6 #10 0x00007f05c8c44136 in ??? () at /usr/lib64/libQt6Qml.so.6 #11 0x00007f05c8c4833f in ??? () at /usr/lib64/libQt6Qml.so.6 #12 0x00007f05c8aed78e in ??? () at /usr/lib64/libQt6Qml.so.6 #13 0x00007f05c8a239fa in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt6Qml.so.6 #14 0x00007f05c8a23cdd in QQmlBinding::evaluate(bool*) () at /usr/lib64/libQt6Qml.so.6 #15 0x00007f05c8a28938 in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /usr/lib64/libQt6Qml.so.6 #16 0x00007f05c8a4af73 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt6Qml.so.6 #17 0x00007f05c898ec97 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt6Qml.so.6 #18 0x00007f05c8a27c4d in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt6Qml.so.6 #19 0x00007f05c8a54cab in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt6Qml.so.6 #20 0x00007f05ca3b5b0a in PlasmaQuick::SharedQmlEngine::completeInitialization(QHash<QString, QVariant> const&) () at /usr/lib64/libPlasmaQuick.so.6 #21 0x00007f05ca39979f in PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*) () at /usr/lib64/libPlasmaQuick.so.6 #22 0x00007f05ca3c8659 in ??? () at /usr/lib64/libPlasmaQuick.so.6 #23 0x00007f05c898f522 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt6Qml.so.6 #24 0x00007f05c8a27c4d in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt6Qml.so.6 #25 0x00007f05c8a54cab in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt6Qml.so.6 #26 0x00007f05ca3b5b0a in PlasmaQuick::SharedQmlEngine::completeInitialization(QHash<QString, QVariant> const&) () at /usr/lib64/libPlasmaQuick.so.6 #27 0x00007f05ca39979f in PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*) () at /usr/lib64/libPlasmaQuick.so.6 #28 0x00007f05ca3ae639 in ??? () at /usr/lib64/libPlasmaQuick.so.6 #29 0x000055dc0e5fd137 in ShellCorona::createWaitingPanels (this=0x55dc0f87c450) at /usr/src/debug/kde-plasma/plasma-workspace-6.1.4-r1/plasma-workspace-6.1.4/shell/shellcorona.cpp:1544 #30 0x00007f05c7cdeb35 in ??? () at /usr/lib64/libQt6Core.so.6 #31 0x00007f05c7c9cfee in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib64/libQt6Core.so.6 #32 0x00007f05c7c7d556 in QObject::event(QEvent*) () at /usr/lib64/libQt6Core.so.6 #33 0x00007f05c9d1d839 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt6Widgets.so.6 #34 0x00007f05c7cf5298 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt6Core.so.6 #35 0x00007f05c7c01b6b in QTimerInfoList::activateTimers() () at /usr/lib64/libQt6Core.so.6 #36 0x00007f05c7ac18b1 in ??? () at /usr/lib64/libQt6Core.so.6 #37 0x00007f05c67207a2 in ??? () at /usr/lib64/libglib-2.0.so.0 #38 0x00007f05c6723a97 in ??? () at /usr/lib64/libglib-2.0.so.0 #39 0x00007f05c67240f0 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #40 0x00007f05c7ac1ab1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6 #41 0x00007f05c7d209fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6 #42 0x00007f05c7d20bb7 in QCoreApplication::exec() () at /usr/lib64/libQt6Core.so.6 #43 0x000055dc0e5be7b0 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-plasma/plasma-workspace-6.1.4-r1/plasma-workspace-6.1.4/shell/main.cpp:188 In an attempt to remove as many ?? as possible, i then re-emerged dev-qt/qtdeclarative, kde-plasma/libplasma, dev-qt/qt5compat, dev-qt/qtbase and dev-libs/glib. Unfortunately this broke something, because now it says the following: GNU gdb (Gentoo 14.2 vanilla) 14.2 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/plasmashell... Reading symbols from /usr/lib/debug//usr/bin/plasmashell.debug... warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing warning: Can't open file /memfd:kwin-dmabuf-feedback-table (deleted) during file-backed mapping note processing warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing [New LWP 1311] [New LWP 1313] [New LWP 1317] [New LWP 1318] [New LWP 1312] [New LWP 1314] [New LWP 1320] [New LWP 1327] [New LWP 1319] [New LWP 1329] [New LWP 1331] [New LWP 1316] [New LWP 1330] [New LWP 1328] [New LWP 1315] [New LWP 1989] [New LWP 1974] [New LWP 1973] [New LWP 1332] [New LWP 1983] [New LWP 1993] [New LWP 1985] [New LWP 2042] [New LWP 1425] [New LWP 1987] [New LWP 1990] [New LWP 2005] [New LWP 1984] [New LWP 1986] [New LWP 1988] [New LWP 1419] [New LWP 1994] [New LWP 1991] [New LWP 2041] warning: .dynamic section for "/usr/lib64/libgio-2.0.so.0" is not at the expected address (wrong library or version mismatch?) --Type <RET> for more, q to quit, c to continue without paging-- [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Core was generated by `/usr/bin/plasmashell --no-respawn'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f05c74d38ec in ?? () from /usr/lib64/libc.so.6 [Current thread is 1 (Thread 0x7f05c3f659c0 (LWP 1311))] (gdb) bt #0 0x00007f05c74d38ec in ??? () at /usr/lib64/libc.so.6 #1 0x00007f05c7481856 in raise () at /usr/lib64/libc.so.6 #2 0x00007f05ca2e064c in KCrash::defaultCrashHandler(int) () at /usr/lib64/libKF6Crash.so.6 #3 0x00007f05c7481900 in <signal handler called> () at /usr/lib64/libc.so.6 #4 0x00007f05c891a8d2 in QDebug::maybeSpace (this=0x2) at /usr/include/qt6/QtCore/qdebug.h:91 #5 QDebug::operator<< (t=0x7f05c8c8f986 "t", this=0x2) at /usr/include/qt6/QtCore/qdebug.h:123 #6 QtPrivate::printSequentialContainer<QList<unsigned short> > (c=<optimized out>, which=0x7f05c8c8d6ac "mp", debug=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x2 #7 operator<< <unsigned short> (vec=<optimized out>, debug=...) at /usr/include/qt6/QtCore/qdebug.h:321 #8 QtPrivate::QDebugStreamOperatorForType<QList<unsigned short>, true>::debugStream (dbg=<optimized out>, a=<optimized out>) at /usr/include/qt6/QtCore/qmetatype.h:2360 #9 0x00007f05577b0780 in ??? () #10 0x24d91076b7161a00 in ??? () #11 0x000055dc0fb38e50 in ??? () #12 0x000055dc1120a8b0 in ??? () #13 0x0000000000000000 in ??? () I hope this helps. If not, i could maybe recompile everything with -Og and -ggdb, splitdebug and sources, then use a bash script to constantly reboot the PC in an attempt to catch the bug. Just tell me if that is necessary or if you have better ideas. -- You are receiving this mail because: You are watching all bug changes.