Summary: | Improperly cleaned-up processes on logout cause crashes in QGuiApplicationPrivate::createPlatformIntegration() that an break login, screenlocker, global shortcuts, etc | ||
---|---|---|---|
Product: | [Plasma] plasma-integration | Reporter: | php4fan |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde, nate, phaanx, tobolikg |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/6ce8f434139f47e6a71bf0b68beae92be8845ce4 | Version Fixed In: | 6.0 |
Description
php4fan
2023-08-27 21:59:36 UTC
Do *any* global shortcuts work? e.g. Meta+D to show the desktop or Meta+W to open Overview? If none of them work then it sounds like KGlobalAccel has an issue. > Do *any* global shortcuts work?
Meta+Shift+D for Desktop was definitely working. I've already restarted since then so I don't know about any other.
So everything's working again? > So everything's working again?
Yep, after reboot, yes
Then I don't think there's any chance we can debug this further, unfortunately. :/ > Then I don't think there's any chance we can debug this further, unfortunately. :/
It seems that a few things had crashed: the screen locker, or unlocker, or greeter or whatever it is, and the System Settings (meaning whatever application is launched when you go to System Settings) among others. I also suspect Spectacle was actually crashing every time I tried the shortcut but that's speculation. Isn't there any log where I can find information about those crashes assuming they happened?
`coredumpctl --reverse` can show you the crashes. If you see any Spectacle crashes in there, we can re-open this and investigate the issue. Other crashes would be something else, probably worth filing new bug reports for them. I have these: ``` Sun 2023-08-27 23:59:39 CEST 218443 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 906.3K Sun 2023-08-27 23:59:39 CEST 218430 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 904.8K Sun 2023-08-27 23:59:39 CEST 218415 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 906.0K Sun 2023-08-27 23:59:39 CEST 218404 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 904.7K Sun 2023-08-27 23:59:39 CEST 218390 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 903.9K Sun 2023-08-27 23:59:38 CEST 218377 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 907.6K Sun 2023-08-27 23:59:38 CEST 218362 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 905.4K Sun 2023-08-27 23:59:33 CEST 218348 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 905.1K Sun 2023-08-27 23:59:21 CEST 218253 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 904.6K Sun 2023-08-27 23:59:17 CEST 218237 1000 1001 SIGABRT present /usr/lib/ksmserver-logout-greeter 906.0K Sun 2023-08-27 23:57:02 CEST 218162 1000 1001 SIGABRT present /usr/bin/systemsettings 978.6K Sun 2023-08-27 23:53:16 CEST 218115 1000 1001 SIGABRT present /usr/bin/kstart 680.2K Sun 2023-08-27 23:53:15 CEST 218099 1000 1001 SIGABRT present /usr/bin/kstart 679.7K Sun 2023-08-27 23:51:11 CEST 218069 1000 1001 SIGABRT present /usr/bin/kstart 679.1K Sun 2023-08-27 23:50:21 CEST 218000 1000 1001 SIGABRT present /usr/bin/kstart 679.9K Sun 2023-08-27 23:50:21 CEST 217986 1000 1001 SIGABRT present /usr/bin/kstart 679.7K Sun 2023-08-27 23:50:20 CEST 217972 1000 1001 SIGABRT present /usr/bin/kstart 681.6K Sun 2023-08-27 23:50:20 CEST 217958 1000 1001 SIGABRT present /usr/bin/kstart 679.2K Sun 2023-08-27 23:50:20 CEST 217945 1000 1001 SIGABRT present /usr/bin/kstart 682.0K Sun 2023-08-27 23:50:19 CEST 217930 1000 1001 SIGABRT present /usr/bin/kstart 682.1K Sun 2023-08-27 23:50:19 CEST 217916 1000 1001 SIGABRT present /usr/bin/kstart 680.6K Sun 2023-08-27 23:50:08 CEST 217887 1000 1001 SIGABRT present /usr/bin/kstart 679.8K Sun 2023-08-27 23:50:08 CEST 217873 1000 1001 SIGABRT present /usr/bin/kstart 679.9K Sun 2023-08-27 23:50:07 CEST 217858 1000 1001 SIGABRT present /usr/bin/kstart 681.2K Sun 2023-08-27 23:50:05 CEST 217843 1000 1001 SIGABRT present /usr/bin/kstart 680.0K Sun 2023-08-27 23:50:04 CEST 217828 1000 1001 SIGABRT present /usr/bin/kstart 680.4K Sun 2023-08-27 23:50:00 CEST 217813 1000 1001 SIGABRT present /usr/bin/kstart 680.9K Sun 2023-08-27 23:49:55 CEST 217797 1000 1001 SIGABRT present /usr/bin/kstart 680.3K Sun 2023-08-27 22:44:30 CEST 215283 1000 1001 SIGABRT present /usr/lib/kf5/kioslave5 41.5M Sun 2023-08-27 22:41:35 CEST 215179 1000 1001 SIGABRT present /usr/bin/kcminit 406.8K ``` These are all around the time when I reported this bug and I'm pretty sure they are all related or provoked by some common cause. Then after these the next ones are from the day before. Can you open a terminal window and run coredumpctl gdb 218115 [hit the "c" key once prompted] bt [again hit the "c" key once prompted] And then paste the full text here? > [hit the "c" key once prompted] The first prompt I get is a Yes or No question (and it doesn't take 'c' for an answer) ``` coredumpctl gdb 218115 PID: 218115 (kstart5) UID: 1000 (teo) GID: 1001 (teo) Signal: 6 (ABRT) Timestamp: Sun 2023-08-27 23:53:16 CEST (2 days ago) Command Line: /usr/bin/kstart5 -- /usr/bin/qdbus org.kde.Spectacle / FullScreen -1 Executable: /usr/bin/kstart Control Group: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kglobalaccel.service Unit: user@1000.service User Unit: plasma-kglobalaccel.service Slice: user-1000.slice Owner UID: 1000 (teo) Boot ID: 46f581f10469491a8a5ef3babd2afd0c Machine ID: 4f2c554d73c74daba9d61cc110b5b0bf Hostname: lenovo-teo-m Storage: /var/lib/systemd/coredump/core.kstart5.1000.46f581f10469491a8a5ef3babd2afd0c.218115.1693173196000000.zst (present) Size on Disk: 680.2K Message: Process 218115 (kstart5) of user 1000 dumped core. Stack trace of thread 218115: #0 0x00007fcdeaf1526c n/a (libc.so.6 + 0x8926c) #1 0x00007fcdeaec5a08 raise (libc.so.6 + 0x39a08) #2 0x00007fcdeaeae538 abort (libc.so.6 + 0x22538) #3 0x00007fcdea2a0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098) #4 0x00007fcdea93f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402) #5 0x00007fcdea93fa99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa99) #6 0x00007fcdea49b215 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b215) #7 0x00007fcdea93fb46 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb46) #8 0x00007fcdeb375b9e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175b9e) #9 0x000055bf7a01117f n/a (kstart + 0x417f) #10 0x00007fcdeaeaf850 n/a (libc.so.6 + 0x23850) #11 0x00007fcdeaeaf90a __libc_start_main (libc.so.6 + 0x2390a) #12 0x000055bf7a013c15 n/a (kstart + 0x6c15) Stack trace of thread 218116: #0 0x00007fcdeaf89c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007fcde916cc2f n/a (libglib-2.0.so.0 + 0xb7c2f) #2 0x00007fcde910d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2) #3 0x00007fcdea4ea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007fcdea49a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007fcdea2f72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007fcde9d97a9a n/a (libQt5DBus.so.5 + 0x18a9a) #7 0x00007fcdea2f34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007fcdeaf1344b n/a (libc.so.6 + 0x8744b) #9 0x00007fcdeaf96e40 n/a (libc.so.6 + 0x10ae40) ELF object binary architecture: AMD x86-64 GNU gdb (GDB) 13.1 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://www.gnu.org/software/gdb/bugs/>. 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/kstart... This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.archlinux.org> Enable debuginfod for this session? (y or [n]) ``` Give it a Y $ coredumpctl gdb 218115 PID: 218115 (kstart5) UID: 1000 (teo) GID: 1001 (teo) Signal: 6 (ABRT) Timestamp: Sun 2023-08-27 23:53:16 CEST (2 days ago) Command Line: /usr/bin/kstart5 -- /usr/bin/qdbus org.kde.Spectacle / FullScreen -1 Executable: /usr/bin/kstart Control Group: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kglobalaccel.service Unit: user@1000.service User Unit: plasma-kglobalaccel.service Slice: user-1000.slice Owner UID: 1000 (teo) Boot ID: 46f581f10469491a8a5ef3babd2afd0c Machine ID: 4f2c554d73c74daba9d61cc110b5b0bf Hostname: lenovo-teo-m Storage: /var/lib/systemd/coredump/core.kstart5.1000.46f581f10469491a8a5ef3babd2afd0c.218115.1693173196000000.zst (present) Size on Disk: 680.2K Message: Process 218115 (kstart5) of user 1000 dumped core. Stack trace of thread 218115: #0 0x00007fcdeaf1526c n/a (libc.so.6 + 0x8926c) #1 0x00007fcdeaec5a08 raise (libc.so.6 + 0x39a08) #2 0x00007fcdeaeae538 abort (libc.so.6 + 0x22538) #3 0x00007fcdea2a0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098) #4 0x00007fcdea93f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402) #5 0x00007fcdea93fa99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa99) #6 0x00007fcdea49b215 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b215) #7 0x00007fcdea93fb46 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb46) #8 0x00007fcdeb375b9e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175b9e) #9 0x000055bf7a01117f n/a (kstart + 0x417f) #10 0x00007fcdeaeaf850 n/a (libc.so.6 + 0x23850) #11 0x00007fcdeaeaf90a __libc_start_main (libc.so.6 + 0x2390a) #12 0x000055bf7a013c15 n/a (kstart + 0x6c15) Stack trace of thread 218116: #0 0x00007fcdeaf89c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007fcde916cc2f n/a (libglib-2.0.so.0 + 0xb7c2f) #2 0x00007fcde910d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2) #3 0x00007fcdea4ea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007fcdea49a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007fcdea2f72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007fcde9d97a9a n/a (libQt5DBus.so.5 + 0x18a9a) #7 0x00007fcdea2f34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007fcdeaf1344b n/a (libc.so.6 + 0x8744b) #9 0x00007fcdeaf96e40 n/a (libc.so.6 + 0x10ae40) ELF object binary architecture: AMD x86-64 GNU gdb (GDB) 13.1 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://www.gnu.org/software/gdb/bugs/>. 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/kstart... This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.archlinux.org> Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Downloading separate debug info for /usr/bin/kstart (No debugging symbols found in /usr/bin/kstart) [New LWP 218115] [New LWP 218116] Downloading separate debug info for /usr/lib/libKF5KIOGui.so.5 Downloading separate debug info for /usr/lib/libKF5WindowSystem.so.5 Downloading separate debug info for /usr/lib/libX11.so.6 Downloading separate debug info for /usr/lib/libQt5Widgets.so.5 Downloading separate debug info for /usr/lib/libQt5X11Extras.so.5 Downloading separate debug info for /usr/lib/libKF5Service.so.5 Downloading separate debug info for /usr/lib/libKF5I18n.so.5 Downloading separate debug info for /usr/lib/libKF5CoreAddons.so.5 Downloading separate debug info for /usr/lib/libQt5Gui.so.5 Downloading separate debug info for /usr/lib/libQt5Core.so.5 Downloading separate debug info for /usr/lib/libc.so.6 Downloading separate debug info for /usr/lib/libKF5KIOCore.so.5 --Type <RET> for more, q to quit, c to continue without paging--c Downloading separate debug info for /usr/lib/libKF5ConfigCore.so.5 Downloading separate debug info for /usr/lib/libQt5DBus.so.5 Downloading separate debug info for /lib64/ld-linux-x86-64.so.2 Downloading separate debug info for /usr/lib/libxcb.so.1 Downloading separate debug info for /usr/lib/libxcb-keysyms.so.1 Downloading separate debug info for /usr/lib/libm.so.6 Downloading separate debug info for /usr/lib/libQt5Xml.so.5 Downloading separate debug info for /usr/lib/libKF5DBusAddons.so.5 Downloading separate debug info for /usr/lib/libudev.so.1 Downloading separate debug info for /usr/lib/libGL.so.1 Downloading separate debug info for /usr/lib/libpng16.so.16 Downloading separate debug info for /usr/lib/libz.so.1 Downloading separate debug info for /usr/lib/libharfbuzz.so.0 Downloading separate debug info for /usr/lib/libmd4c.so.0 Downloading separate debug info for /usr/lib/libsystemd.so.0 Downloading separate debug info for /usr/lib/libdouble-conversion.so.3 Downloading separate debug info for /usr/lib/libicui18n.so.73 Downloading separate debug info for /usr/lib/libicuuc.so.73 Downloading separate debug info for /usr/lib/libpcre2-16.so.0 Downloading separate debug info for /usr/lib/libzstd.so.1 Downloading separate debug info for /usr/lib/libglib-2.0.so.0 Downloading separate debug info for /usr/lib/libQt5Network.so.5 Downloading separate debug info for /usr/lib/libKF5Crash.so.5 Downloading separate debug info for /usr/lib/libKF5AuthCore.so.5 Downloading separate debug info for /usr/lib/libacl.so.1 Downloading separate debug info for /usr/lib/libmount.so.1 Downloading separate debug info for /usr/lib/libdbus-1.so.3 Downloading separate debug info for /usr/lib/libXau.so.6 Downloading separate debug info for /usr/lib/libXdmcp.so.6 Downloading separate debug info for /usr/lib/libcap.so.2 Downloading separate debug info for /usr/lib/libGLdispatch.so.0 Downloading separate debug info for /usr/lib/libGLX.so.0 Downloading separate debug info for /usr/lib/libfreetype.so.6 Downloading separate debug info for /usr/lib/libgraphite2.so.3 Downloading separate debug info for /usr/lib/libgcrypt.so.20 Downloading separate debug info for /usr/lib/liblzma.so.5 Downloading separate debug info for /usr/lib/liblz4.so.1 Downloading separate debug info for /usr/lib/libicudata.so.73 Downloading separate debug info for /usr/lib/libpcre2-8.so.0 Downloading separate debug info for /usr/lib/libgssapi_krb5.so.2 Downloading separate debug info for /usr/lib/libproxy.so.1 Downloading separate debug info for /usr/lib/libssl.so.3 Downloading separate debug info for /usr/lib/libcrypto.so.3 Downloading separate debug info for /usr/lib/libblkid.so.1 Downloading separate debug info for /usr/lib/libbz2.so.1.0 Downloading separate debug info for /usr/lib/libbrotlidec.so.1 Downloading separate debug info for /usr/lib/libgpg-error.so.0 Downloading separate debug info for /usr/lib/libkrb5.so.3 Downloading separate debug info for /usr/lib/libk5crypto.so.3 Downloading separate debug info for /usr/lib/libcom_err.so.2 Downloading separate debug info for /usr/lib/libkrb5support.so.0 Downloading separate debug info for /usr/lib/libkeyutils.so.1 Downloading separate debug info for /usr/lib/libresolv.so.2 Downloading separate debug info for /usr/lib/libproxy/libpxbackend-1.0.so Downloading separate debug info for /usr/lib/libgobject-2.0.so.0 Downloading separate debug info for /usr/lib/libbrotlicommon.so.1 Downloading separate debug info for /usr/lib/libcurl.so.4 Downloading separate debug info for /usr/lib/libgio-2.0.so.0 Downloading separate debug info for /usr/lib/libduktape.so.207 Downloading separate debug info for /usr/lib/libffi.so.8 Downloading separate debug info for /usr/lib/libnghttp2.so.14 Downloading separate debug info for /usr/lib/libidn2.so.0 Downloading separate debug info for /usr/lib/libssh2.so.1 Downloading separate debug info for /usr/lib/libpsl.so.5 Downloading separate debug info for /usr/lib/libgmodule-2.0.so.0 Downloading separate debug info for /usr/lib/libunistring.so.5 Downloading separate debug info for /usr/lib/qt/plugins/platforms/libqxcb.so Downloading separate debug info for /usr/lib/libQt5XcbQpa.so.5 Downloading separate debug info for /usr/lib/libfontconfig.so.1 Downloading separate debug info for /usr/lib/libX11-xcb.so.1 Downloading separate debug info for /usr/lib/libxcb-icccm.so.4 Downloading separate debug info for /usr/lib/libxcb-image.so.0 Downloading separate debug info for /usr/lib/libxcb-shm.so.0 Downloading separate debug info for /usr/lib/libxcb-randr.so.0 Downloading separate debug info for /usr/lib/libxcb-render-util.so.0 Downloading separate debug info for /usr/lib/libxcb-render.so.0 Downloading separate debug info for /usr/lib/libxcb-shape.so.0 Downloading separate debug info for /usr/lib/libxcb-sync.so.1 Downloading separate debug info for /usr/lib/libxcb-xfixes.so.0 Downloading separate debug info for /usr/lib/libxcb-xinerama.so.0 Downloading separate debug info for /usr/lib/libxcb-xkb.so.1 Downloading separate debug info for /usr/lib/libxcb-xinput.so.0 Downloading separate debug info for /usr/lib/libSM.so.6 Downloading separate debug info for /usr/lib/libICE.so.6 Downloading separate debug info for /usr/lib/libxkbcommon-x11.so.0 Downloading separate debug info for /usr/lib/libxkbcommon.so.0 Downloading separate debug info for /usr/lib/libexpat.so.1 Downloading separate debug info for /usr/lib/libxcb-util.so.1 Downloading separate debug info for /usr/lib/libuuid.so.1 Downloading separate debug info for system-supplied DSO at 0x7fffe1fc1000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/kstart5 -- /usr/bin/qdbus org.kde.Spectacle / FullScreen -1'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fcdeaf1526c in ?? () from /usr/lib/libc.so.6 [Current thread is 1 (Thread 0x7fcde5edf880 (LWP 218115))] (gdb) bt #0 0x00007fcdeaf1526c in () at /usr/lib/libc.so.6 #1 0x00007fcdeaec5a08 in raise () at /usr/lib/libc.so.6 #2 0x00007fcdeaeae538 in abort () at /usr/lib/libc.so.6 #3 0x00007fcdea2a0098 in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5 #4 0x00007fcdea93f402 in QGuiApplicationPrivate::createPlatformIntegration() () at /usr/lib/libQt5Gui.so.5 #5 0x00007fcdea93fa99 in QGuiApplicationPrivate::createEventDispatcher() () at /usr/lib/libQt5Gui.so.5 #6 0x00007fcdea49b215 in QCoreApplicationPrivate::init() () at /usr/lib/libQt5Core.so.5 #7 0x00007fcdea93fb46 in QGuiApplicationPrivate::init() () at /usr/lib/libQt5Gui.so.5 #8 0x00007fcdeb375b9e in QApplicationPrivate::init() () at /usr/lib/libQt5Widgets.so.5 #9 0x000055bf7a01117f in () #10 0x00007fcdeaeaf850 in () at /usr/lib/libc.so.6 #11 0x00007fcdeaeaf90a in __libc_start_main () at /usr/lib/libc.so.6 #12 0x000055bf7a013c15 in () (gdb) c The program is not being run. (gdb) Thanks for your patience. So kstart5 was trying to launch spectacle and dying in: QGuiApplicationPrivate::createPlatformIntegration() This means something on your system was super messed up at the time. If rebooting fixed it, I don't think we'll be able to find out what it was after the fact, sorry. :/ > This means something on your system was super messed up at the time.
Ok. I suspect whatever the root cause is, it's the same thing that causes the "The screen locker is broken" screen when unlocking the screen.
And that one has already happened to me twice so I'm pretty sure it will happen again sooner than later. When that happens and before rebooting, is there anything I can do to gather more information?
Hmm, maybe I should stop being lazy and just troubleshoot with what you've already provided. :) Can you paste the backtraces from the output of: coredumpctl gdb 215179 coredumpctl gdb 215283 coredumpctl gdb 217797 ------------------------------------------------------------------------------------------- $ coredumpctl gdb 215179 PID: 215179 (kcminit) UID: 1000 (teo) GID: 1001 (teo) Signal: 6 (ABRT) Timestamp: Sun 2023-08-27 22:41:35 CEST (3 days ago) Command Line: /usr/bin/kcminit kcm_mouse kcm_touchpad Executable: /usr/bin/kcminit Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kded.service Unit: user@1000.service User Unit: plasma-kded.service Slice: user-1000.slice Owner UID: 1000 (teo) Boot ID: 46f581f10469491a8a5ef3babd2afd0c Machine ID: 4f2c554d73c74daba9d61cc110b5b0bf Hostname: lenovo-teo-m Storage: /var/lib/systemd/coredump/core.kcminit.1000.46f581f10469491a8a5ef3babd2afd0c.215179.1693168895000000.zst (missing) Message: Process 215179 (kcminit) of user 1000 dumped core. Stack trace of thread 215179: #0 0x00007f370349f26c n/a (libc.so.6 + 0x8926c) #1 0x00007f370344fa08 raise (libc.so.6 + 0x39a08) #2 0x00007f3703438538 abort (libc.so.6 + 0x22538) #3 0x00007f3703aa0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098) #4 0x00007f370413f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402) #5 0x00007f370413fa99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa99) #6 0x00007f3703c9b215 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b215) #7 0x00007f370413fb46 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb46) #8 0x00007f370414087c _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x14087c) #9 0x0000563831e3e11d n/a (kcminit + 0x311d) #10 0x00007f3703439850 n/a (libc.so.6 + 0x23850) #11 0x00007f370343990a __libc_start_main (libc.so.6 + 0x2390a) #12 0x0000563831e3eef5 n/a (kcminit + 0x3ef5) Stack trace of thread 215180: #0 0x00007f3703513c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007f370296cc2f n/a (libglib-2.0.so.0 + 0xb7c2f) #2 0x00007f370290d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2) #3 0x00007f3703cea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007f3703c9a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007f3703af72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007f37047e9a9a n/a (libQt5DBus.so.5 + 0x18a9a) #7 0x00007f3703af34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007f370349d44b n/a (libc.so.6 + 0x8744b) #9 0x00007f3703520e40 n/a (libc.so.6 + 0x10ae40) ELF object binary architecture: AMD x86-64 Cannot access "/var/lib/systemd/coredump/core.kcminit.1000.46f581f10469491a8a5ef3babd2afd0c.215179.1693168895000000.zst": No such file or directory ------------------------------------------------------------------------------------------- $ coredumpctl gdb 215283 PID: 215283 (kioslave5) UID: 1000 (teo) GID: 1001 (teo) Signal: 6 (ABRT) Timestamp: Sun 2023-08-27 22:44:29 CEST (3 days ago) Command Line: /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/thumbnail.so thumbnail "" local:/run/user/1000/dolphinGFfmlt.40.kioworker.socket Executable: /usr/lib/kf5/kioslave5 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-jetbrains\x2dphpstorm-23253b81c4c041a28ddffad70032e0f4.scope Unit: user@1000.service User Unit: app-jetbrains\x2dphpstorm-23253b81c4c041a28ddffad70032e0f4.scope Slice: user-1000.slice Owner UID: 1000 (teo) Boot ID: 46f581f10469491a8a5ef3babd2afd0c Machine ID: 4f2c554d73c74daba9d61cc110b5b0bf Hostname: lenovo-teo-m Storage: /var/lib/systemd/coredump/core.kioslave5.1000.46f581f10469491a8a5ef3babd2afd0c.215283.1693169069000000.zst (missing) Message: Process 215283 (kioslave5) of user 1000 dumped core. Stack trace of thread 215283: #0 0x00007fd310fd326c n/a (libc.so.6 + 0x8926c) #1 0x00007fd310f83a08 raise (libc.so.6 + 0x39a08) #2 0x00007fd310f6c538 abort (libc.so.6 + 0x22538) #3 0x00007fd310aa0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098) #4 0x00007fd30eb3f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402) #5 0x00007fd30eb3fa99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa99) #6 0x00007fd310c9b215 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b215) #7 0x00007fd30eb3fb46 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb46) #8 0x00007fd30af75b9e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175b9e) #9 0x00007fd3112cd16c kdemain (thumbnail.so + 0x916c) #10 0x0000562e0aacd1fd n/a (kioslave5 + 0x11fd) #11 0x00007fd310f6d850 n/a (libc.so.6 + 0x23850) #12 0x00007fd310f6d90a __libc_start_main (libc.so.6 + 0x2390a) #13 0x0000562e0aacd455 n/a (kioslave5 + 0x1455) Stack trace of thread 215284: #0 0x00007fd311047c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007fd30f96cc2f n/a (libglib-2.0.so.0 + 0xb7c2f) #2 0x00007fd30f90d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2) #3 0x00007fd310cea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007fd310c9a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007fd310af72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007fd310585a9a n/a (libQt5DBus.so.5 + 0x18a9a) #7 0x00007fd310af34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007fd310fd144b n/a (libc.so.6 + 0x8744b) #9 0x00007fd311054e40 n/a (libc.so.6 + 0x10ae40) ELF object binary architecture: AMD x86-64 Cannot access "/var/lib/systemd/coredump/core.kioslave5.1000.46f581f10469491a8a5ef3babd2afd0c.215283.1693169069000000.zst": No such file or directory ------------------------------------------------------------------------------------------- $ coredumpctl gdb 217797 PID: 217797 (kstart5) UID: 1000 (teo) GID: 1001 (teo) Signal: 6 (ABRT) Timestamp: Sun 2023-08-27 23:49:55 CEST (3 days ago) Command Line: /usr/bin/kstart5 -- /usr/bin/qdbus org.kde.Spectacle / RectangularRegion -1 Executable: /usr/bin/kstart Control Group: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kglobalaccel.service Unit: user@1000.service User Unit: plasma-kglobalaccel.service Slice: user-1000.slice Owner UID: 1000 (teo) Boot ID: 46f581f10469491a8a5ef3babd2afd0c Machine ID: 4f2c554d73c74daba9d61cc110b5b0bf Hostname: lenovo-teo-m Storage: /var/lib/systemd/coredump/core.kstart5.1000.46f581f10469491a8a5ef3babd2afd0c.217797.1693172995000000.zst (missing) Message: Process 217797 (kstart5) of user 1000 dumped core. Stack trace of thread 217797: #0 0x00007fe55ec9f26c n/a (libc.so.6 + 0x8926c) #1 0x00007fe55ec4fa08 raise (libc.so.6 + 0x39a08) #2 0x00007fe55ec38538 abort (libc.so.6 + 0x22538) #3 0x00007fe55f2a0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098) #4 0x00007fe55f93f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402) #5 0x00007fe55f93fa99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa99) #6 0x00007fe55f49b215 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b215) #7 0x00007fe55f93fb46 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb46) #8 0x00007fe560175b9e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175b9e) #9 0x0000558d2fe6417f n/a (kstart + 0x417f) #10 0x00007fe55ec39850 n/a (libc.so.6 + 0x23850) #11 0x00007fe55ec3990a __libc_start_main (libc.so.6 + 0x2390a) #12 0x0000558d2fe66c15 n/a (kstart + 0x6c15) Stack trace of thread 217798: #0 0x00007fe55ed13c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007fe55df6cc2f n/a (libglib-2.0.so.0 + 0xb7c2f) #2 0x00007fe55df0d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2) #3 0x00007fe55f4ea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007fe55f49a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007fe55f2f72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007fe55ebada9a n/a (libQt5DBus.so.5 + 0x18a9a) #7 0x00007fe55f2f34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007fe55ec9d44b n/a (libc.so.6 + 0x8744b) #9 0x00007fe55ed20e40 n/a (libc.so.6 + 0x10ae40) ELF object binary architecture: AMD x86-64 Cannot access "/var/lib/systemd/coredump/core.kstart5.1000.46f581f10469491a8a5ef3babd2afd0c.217797.1693172995000000.zst": No such file or directory ------------------------------------------------------------------------------------------- Too late maybe? Just happened again. Just like the previous time, it started with the black screen when unlocking the screen, the one that says "screenlocker-something is broken" and gives instruction to unlock the session from a virtual console. After that, the shortcut for Spectacle would not work. ``` Thu 2023-09-07 15:10:50 CEST 229296 1000 1001 SIGABRT present /usr/bin/kcminit 406.0K Thu 2023-09-07 15:10:32 CEST 229240 1000 1001 SIGABRT present /usr/bin/kcminit 407.4K Sun 2023-09-03 01:00:20 CEST 17935 1000 1001 SIGSEGV missing /usr/bin/node ``` ``` coredumpctl gdb 229240 PID: 229240 (kcminit) UID: 1000 (teo) GID: 1001 (teo) Signal: 6 (ABRT) Timestamp: Thu 2023-09-07 15:10:32 CEST (7min ago) Command Line: /usr/bin/kcminit kcm_mouse kcm_touchpad Executable: /usr/bin/kcminit Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kded.service Unit: user@1000.service User Unit: plasma-kded.service Slice: user-1000.slice Owner UID: 1000 (teo) Boot ID: 3924003139bc46e884057bfd76e624f9 Machine ID: 4f2c554d73c74daba9d61cc110b5b0bf Hostname: lenovo-teo-m Storage: /var/lib/systemd/coredump/core.kcminit.1000.3924003139bc46e884057bfd76e624f9.229240.1694092232000000.zst (present) Size on Disk: 407.4K Message: Process 229240 (kcminit) of user 1000 dumped core. Stack trace of thread 229240: #0 0x00007ff77390d26c n/a (libc.so.6 + 0x8926c) #1 0x00007ff7738bda08 raise (libc.so.6 + 0x39a08) #2 0x00007ff7738a6538 abort (libc.so.6 + 0x22538) #3 0x00007ff772ca0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098) #4 0x00007ff77333f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402) #5 0x00007ff77333fa99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa99) #6 0x00007ff772e9b215 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b215) #7 0x00007ff77333fb46 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb46) #8 0x00007ff77334087c _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x14087c) #9 0x0000561192c5d11d n/a (kcminit + 0x311d) #10 0x00007ff7738a7850 n/a (libc.so.6 + 0x23850) #11 0x00007ff7738a790a __libc_start_main (libc.so.6 + 0x2390a) #12 0x0000561192c5def5 n/a (kcminit + 0x3ef5) Stack trace of thread 229241: #0 0x00007ff773981c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007ff771f6cc2f n/a (libglib-2.0.so.0 + 0xb7c2f) #2 0x00007ff771f0d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2) #3 0x00007ff772eea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007ff772e9a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007ff772cf72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007ff773a88a9a n/a (libQt5DBus.so.5 + 0x18a9a) #7 0x00007ff772cf34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007ff77390b44b n/a (libc.so.6 + 0x8744b) #9 0x00007ff77398ee40 n/a (libc.so.6 + 0x10ae40) ELF object binary architecture: AMD x86-64 GNU gdb (GDB) 13.1 (.... downloading stuff ...) [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/kcminit kcm_mouse kcm_touchpad'. Program terminated with signal SIGABRT, Aborted. #0 0x00007ff77390d26c in ?? () from /usr/lib/libc.so.6 [Current thread is 1 (Thread 0x7ff7718921c0 (LWP 229240))] (gdb) bt #0 0x00007ff77390d26c in ?? () from /usr/lib/libc.so.6 #1 0x00007ff7738bda08 in raise () from /usr/lib/libc.so.6 #2 0x00007ff7738a6538 in abort () from /usr/lib/libc.so.6 #3 0x00007ff772ca0098 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5 #4 0x00007ff77333f402 in QGuiApplicationPrivate::createPlatformIntegration() () from /usr/lib/libQt5Gui.so.5 #5 0x00007ff77333fa99 in QGuiApplicationPrivate::createEventDispatcher() () from /usr/lib/libQt5Gui.so.5 #6 0x00007ff772e9b215 in QCoreApplicationPrivate::init() () from /usr/lib/libQt5Core.so.5 #7 0x00007ff77333fb46 in QGuiApplicationPrivate::init() () from /usr/lib/libQt5Gui.so.5 #8 0x00007ff77334087c in QGuiApplication::QGuiApplication(int&, char**, int) () from /usr/lib/libQt5Gui.so.5 #9 0x0000561192c5d11d in ?? () #10 0x00007ff7738a7850 in ?? () from /usr/lib/libc.so.6 #11 0x00007ff7738a790a in __libc_start_main () from /usr/lib/libc.so.6 #12 0x0000561192c5def5 in ?? () (gdb) ``` The one for 229296 seems to be exactly the same Thanks, moving to what I *think* is the right place for this bug report so it can be further debugged. What Plasma version and distro are you using? Discussed this with David and it's something deeper that's causing everything to periodically blow up like this. `/usr/bin/kstart5 -- /usr/bin/qdbus org.kde.Spectacle / FullScreen -1` works fine for me, even in a Plasma 6 session. I guess if this periodically stops working for you, we need to find out what lower level thing is dying such that /usr/bin/kstart5 stops working. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3302 Git commit 6ce8f434139f47e6a71bf0b68beae92be8845ce4 by David Edmundson. Committed on 29/09/2023 at 16:31. Pushed by davidedmundson into branch 'master'. Use systemd to handle more of the shutdown Previously we killed kwin manually, then tried to exit the session. This is racey as kwin will close all connections, before systemd has realised that the session is ending this can cause all apps to restart. Also closing plasma-workspace-wayland.target is ineffective, closing the graphical-session implicitly brings down the session more explicitly. It'll close the other targets and services. Related: bug 409088, bug 450531, bug 451939, bug 450320, bug 434403 Tested by looking at `coredumpctl list` after a logout and seeing it go from 10 entries of silly aborts restarting without a display server to 3, with different unrelated causes. M +12 -4 startkde/plasma-shutdown/shutdown.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/6ce8f434139f47e6a71bf0b68beae92be8845ce4 *** Bug 475600 has been marked as a duplicate of this bug. *** *** Bug 477107 has been marked as a duplicate of this bug. *** |