SUMMARY This may be a tricky one as I don't know exactly how to reproduce it. However, it has been happening for a good number of releases on my system and it is quite annoying as I loose all in-flight work when it happens. Sometimes, when I launch an application (eg: kontact, KeePassXC, etc.), kwin_wayland crashes and my whole session and running programs are killed with it. This is what I get in the logs: ``` nov 29 15:55:41 apinovo systemd[2488]: Started KeePassXC - Gestor de contraseñas. nov 29 15:55:42 apinovo kded5[30347]: org.kde.plasma.appmenu: Got an error nov 29 15:55:42 apinovo kded5[30347]: org.kde.plasma.appmenu: Got an error nov 29 15:55:43 apinovo kded5[30347]: Registering ":1.22360/StatusNotifierItem" to system tray nov 29 15:55:46 apinovo systemd-coredump[6958]: [🡕] Process 30073 (kwin_wayland) of user 1004 dumped core. Stack trace of thread 30655: #0 0x00007f12c4156874 _ZNK10QArrayData4dataEv (libQt5Core.so.5 + 0x356874) #1 0x00007f12c4156d47 _ZNK11QJsonObject9valueImplI11QStringViewEE10QJsonValueT_ (libQt5Core.so.5 + 0x356d47) #2 0x00007f12c4157187 _ZNK11QJsonObjectixE11QStringView (libQt5Core.so.5 + 0x357187) #3 0x00007f12c4b9105a _ZNK15KPluginMetaData10rootObjectEv (libKF5CoreAddons.so.5 + 0x6305a) #4 0x00007f12c4b914c6 _ZNK15KPluginMetaData8pluginIdEv (libKF5CoreAddons.so.5 + 0x634c6) #5 0x00007f12c4b8e95b _ZNK15KPluginMetaData7isValidEv (libKF5CoreAddons.so.5 + 0x6095b) #6 0x00007f12745d8047 _ZNK6Plasma14AbstractRunner4nameEv (libKF5Runner.so.5 + 0x16047) #7 0x00007f12745e36d7 n/a (libKF5Runner.so.5 + 0x216d7) #8 0x00007f1273fe8fdb n/a (libKF5ThreadWeaver.so.5 + 0x13fdb) #9 0x00007f1273fec16c _ZN12ThreadWeaver3Job10defaultEndERK14QSharedPointerINS_12JobInterfaceEEPNS_6ThreadE (libKF5ThreadWeaver.so.5 + 0x1716c) #10 0x00007f1273fec0df _ZN12ThreadWeaver3Job7executeERK14QSharedPointerINS_12JobInterfaceEEPNS_6ThreadE (libKF5ThreadWeaver.so.5 + 0x170df) #11 0x00007f1273fefa68 _ZN12ThreadWeaver6Thread3runEv (libKF5ThreadWeaver.so.5 + 0x1aa68) #12 0x00007f12c3ef5e3d _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5e3d) #13 0x00007f12c309398d start_thread (libc.so.6 + 0x8e98d) #14 0x00007f12c311a380 __clone3 (libc.so.6 + 0x115380) Stack trace of thread 30123: #0 0x00007f12c3090006 __futex_abstimed_wait_common (libc.so.6 + 0x8b006) #1 0x00007f12c3092cd0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8dcd0) #2 0x00007f12b64baa5b n/a (iris_dri.so + 0xbaa5b) #3 0x00007f12b6503f27 n/a (iris_dri.so + 0x103f27) #4 0x00007f12c309398d start_thread (libc.so.6 + 0x8e98d) #5 0x00007f12c311a380 __clone3 (libc.so.6 + 0x115380) Stack trace of thread 30126: #0 0x00007f12c310bb7f __poll (libc.so.6 + 0x106b7f) #1 0x00007f12c1c6adbe n/a (libglib-2.0.so.0 + 0x58dbe) #2 0x00007f12c1c6aedc g_main_context_iteration (libglib-2.0.so.0 + 0x58edc) #3 0x00007f12c4133b56 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x333b56) #4 0x00007f12c40dab9b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2dab9b) #5 0x00007f12c3ef4c47 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf4c47) #6 0x00007f12c3ef5e3d _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5e3d) #7 0x00007f12c309398d start_thread (libc.so.6 + 0x8e98d) #8 0x00007f12c311a380 __clone3 (libc.so.6 + 0x115380) [...] (plus more threads in either __poll or some *wait... and then the apps complaining about the compositor dying) nov 29 15:55:46 apinovo kmozillahelper[6377]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo firefox[6269]: Error reading events from display: Conexión reinicializada por la máquina remota nov 29 15:55:46 apinovo xdg-desktop-portal-kde[31800]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo klauncher[31024]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo baloorunner[30678]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo kiod5[31071]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo kwalletmanager5[31034]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo kwalletd5[30866]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo kwalletd5[30866]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo keepassxc[6929]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo keepassxc[6929]: The Wayland connection broke. Did the Wayland compositor die? nov 29 15:55:46 apinovo akonadi_newmailnotifier_agent[30576]: The Wayland connection broke. Did the Wayland compositor die? [...] ``` STEPS TO REPRODUCE 1. Launch an application (sometimes) 2. The crash happens right after OBSERVED RESULT - A core dump is triggered for kwin_wayland process - Screen goes dark and all applications get killed - Then session is automatically restarted EXPECTED RESULT - No crash - If kwin crashes, I would expect my running apps to survive kwin restarts as they did before I moved to systemd based user session management. SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed (available in About System) KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.26.3 Qt Version: 5.15.7 ADDITIONAL INFORMATION
How exactly are you launching the application? From the Overview effect? If so, this is likely the same issue as Bug 448825, which will be fixed in Plasma 5.27.
Yeap, I launch most apps from Overview which has mostly replaced krunner for me. I'll keep an eye. Thanks! *** This bug has been marked as a duplicate of bug 448825 ***