SUMMARY KWin crashes (core dump) consistently when I press a wrong key combination for Grid View such as Win+G+F. I don't know if this is related to Grid View only. Appends in X11 and Wayland. STEPS TO REPRODUCE 1. Add virtual desktops for the grid view 2. Register Win+G as KWin/Grid View shortcut (default, but not enabled) 3. Press Win+G+F (Win+F is not a shortcut, nor Win+G+F) OBSERVED RESULT The grid view starts opening and then freezes, Black screen, then KWin restarts Sometimes only XWayland applications crash core dump in journalctl of kwin_wayland or kwin_x11 EXPECTED RESULT No core dump SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.10.3-zen1-2-zen (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION Other similar key combination cause the issue: Win+G+H, Win+G+Z. No core dump in a Manjaro VM with KDE 6.0.5. I wasn't able to get an output from gdb with kwin_wayland (freeze and nothing is written, or dump corrupted). The following is the output in journalctl for kwin_wayland and kwin_x11. Full log in attachment. --- Stacktrace Wayland 21:34:37 systemd-coredump[2915]: Process 1293 (kwin_wayland) of user 1000 dumped core. Stack trace of thread 1293: #0 0x00007233a87a8d83 _ZN15QSocketNotifier10setEnabledEb (libQt6Core.so.6 + 0x1a8d83) #1 0x00007233a86af7b8 n/a (libQt6Core.so.6 + 0xaf7b8) #2 0x00007233a88c5abb _ZN27QEventDispatcherUNIXPrivate23activateSocketNotifiersEv (libQt6Core.so.6 + 0x2c5abb) #3 0x00007233a88c6676 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2c6676) #4 0x00007233a91f9693 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x5f9693) #5 0x00007233a874f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #6 0x00007233a874934d _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x14934d) #7 0x00006038e91ea015 n/a (kwin_wayland + 0x3d015) #8 0x00007233a8034e08 n/a (libc.so.6 + 0x25e08) #9 0x00007233a8034ecc __libc_start_main (libc.so.6 + 0x25ecc) #10 0x00006038e91effb5 n/a (kwin_wayland + 0x42fb5) 21:34:38 systemd-coredump[2972]: Process 2182 (kioworker) of user 1000 dumped core. Stack trace of thread 2182: #0 0x00007902130a53f4 n/a (libc.so.6 + 0x963f4) #1 0x000079021304c120 raise (libc.so.6 + 0x3d120) #2 0x00007902130334c3 abort (libc.so.6 + 0x244c3) #3 0x0000790213034354 n/a (libc.so.6 + 0x25354) #4 0x00007902130af765 n/a (libc.so.6 + 0xa0765) #5 0x00007902130b19fc n/a (libc.so.6 + 0xa29fc) #6 0x00007902130b1cfa n/a (libc.so.6 + 0xa2cfa) #7 0x00007902130b45ce __libc_free (libc.so.6 + 0xa55ce) #8 0x000079020ee59d47 n/a (libfontconfig.so.1 + 0xad47) #9 0x000079020ee64d3f n/a (libfontconfig.so.1 + 0x15d3f) #10 0x000079020ee59c53 n/a (libfontconfig.so.1 + 0xac53) #11 0x0000790211389e19 _ZN19QFontconfigDatabaseD0Ev (libQt6Gui.so.6 + 0x589e19) #12 0x000079020d73f2c0 _ZN15QtWaylandClient19QWaylandIntegrationD1Ev (libQt6WaylandClient.so.6 + 0x812c0) #13 0x000079020d73f3a5 _ZN15QtWaylandClient19QWaylandIntegrationD0Ev (libQt6WaylandClient.so.6 + 0x813a5) #14 0x0000790210f7c7d6 _ZN22QGuiApplicationPrivateD2Ev (libQt6Gui.so.6 + 0x17c7d6) #15 0x000079020d8ef0e5 _ZN19QApplicationPrivateD0Ev (libQt6Widgets.so.6 + 0xef0e5) #16 0x0000790213a9a2fd kdemain (thumbnail.so + 0xc2fd) #17 0x00005ff2df60e22d n/a (kioworker + 0x122d) #18 0x0000790213034e08 n/a (libc.so.6 + 0x25e08) #19 0x0000790213034ecc __libc_start_main (libc.so.6 + 0x25ecc) #20 0x00005ff2df60e4f5 n/a (kioworker + 0x14f5) --- Stacktrace x11 21:25:13 systemd-coredump[2398]: Process 1384 (kwin_x11) of user 1000 dumped core. Stack trace of thread 1384: #0 0x000071e9f8ea53f4 n/a (libc.so.6 + 0x963f4) #1 0x000071e9f8e4c120 raise (libc.so.6 + 0x3d120) #2 0x000071e9fc657643 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x6643) #3 0x000071e9f8e4c1d0 n/a (libc.so.6 + 0x3d1d0) #4 0x000071e9f8ea53f4 n/a (libc.so.6 + 0x963f4) #5 0x000071e9f8e4c120 raise (libc.so.6 + 0x3d120) #6 0x000071e9f8e334c3 abort (libc.so.6 + 0x244c3) #7 0x000071e9f8e34354 n/a (libc.so.6 + 0x25354) #8 0x000071e9f8eaf765 n/a (libc.so.6 + 0xa0765) #9 0x000071e9f8eb2f64 n/a (libc.so.6 + 0xa3f64) #10 0x000071e9f8eb3ef4 malloc (libc.so.6 + 0xa4ef4) #11 0x000071e9f90ae805 _Znwm (libstdc++.so.6 + 0xae805) #12 0x000071e9f94f1022 _ZN7QBufferC2EP7QObject (libQt6Core.so.6 + 0xf1022) #13 0x000071e9f26e4770 _ZNK11KIconLoader14loadScaledIconERK7QStringNS_5GroupEdRK5QSizeiRK5QListIS0_EPS0_bRKSt8optionalI11KIconColorsE (libKF6IconThemes.so.6 + 0x1e770) #14 0x000071e9f26d9b3a _ZN11KIconEngine12createPixmapERK5QSizedN5QIcon4ModeENS3_5StateE (libKF6IconThemes.so.6 + 0x13b3a) #15 0x000071e9f26da0bb _ZN11KIconEngine6pixmapERK5QSizeN5QIcon4ModeENS3_5StateE (libKF6IconThemes.so.6 + 0x140bb) #16 0x000071e9f9afafcd n/a (libQt6Gui.so.6 + 0xfafcd) #17 0x000071e9f9b020bb _ZNK5QIcon6pixmapERK5QSizedNS_4ModeENS_5StateE (libQt6Gui.so.6 + 0x1020bb) #18 0x000071e9df35495d n/a (libKirigamiPrimitives.so.6 + 0x1295d) #19 0x000071e9fb8469ca _ZN19QQuickWindowPrivate11polishItemsEv (libQt6Quick.so.6 + 0x2469ca) #20 0x000071e9fb7e02b7 _ZN19QQuickRenderControl11polishItemsEv (libQt6Quick.so.6 + 0x1e02b7) #21 0x000071e9fbff9d70 _ZN4KWin18OffscreenQuickView6updateEv (libkwin.so.6 + 0x1f9d70) #22 0x000071e9fbffd223 _ZN4KWin16QuickSceneEffect14prePaintScreenERNS_18ScreenPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.6 + 0x1fd223) #23 0x000071e9fbfcecc6 _ZN4KWin14EffectsHandler14prePaintScreenERNS_18ScreenPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.6 + 0x1cecc6) #24 0x000071e9fbfcecc6 _ZN4KWin14EffectsHandler14prePaintScreenERNS_18ScreenPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.6 + 0x1cecc6) #25 0x000071e9fbfcecc6 _ZN4KWin14EffectsHandler14prePaintScreenERNS_18ScreenPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.6 + 0x1cecc6) #26 0x000071e9fc0cc972 _ZN4KWin14WorkspaceScene8prePaintEPNS_13SceneDelegateE (libkwin.so.6 + 0x2cc972) #27 0x000071e9fc0b888a _ZN4KWin13SceneDelegate8prePaintEv (libkwin.so.6 + 0x2b888a) #28 0x000071e9fbf660ec _ZN4KWin10Compositor12prePaintPassEPNS_11RenderLayerEP7QRegion (libkwin.so.6 + 0x1660ec) #29 0x000071e9fc1b0c90 _ZN4KWin13X11Compositor9compositeEPNS_10RenderLoopE (libkwin.so.6 + 0x3b0c90) #30 0x000071e9f95a16f7 n/a (libQt6Core.so.6 + 0x1a16f7) #31 0x000071e9fbf7b145 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.6 + 0x17b145) #32 0x000071e9fbf81833 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.6 + 0x181833) #33 0x000071e9f95a16f7 n/a (libQt6Core.so.6 + 0x1a16f7) #34 0x000071e9f95a9885 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x1a9885) #35 0x000071e9f958bfc9 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x18bfc9) #36 0x000071e9fa4fc51c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfc51c) #37 0x000071e9f9544d28 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x144d28) #38 0x000071e9f96c3c98 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2c3c98) #39 0x000071e9f97a49b1 n/a (libQt6Core.so.6 + 0x3a49b1) #40 0x000071e9f8439ab9 n/a (libglib-2.0.so.0 + 0x5cab9) #41 0x000071e9f849b9e7 n/a (libglib-2.0.so.0 + 0xbe9e7) #42 0x000071e9f8438fc5 g_main_context_iteration (libglib-2.0.so.0 + 0x5bfc5) #43 0x000071e9f97a2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd) #44 0x000071e9f954f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e) #45 0x000071e9f954934d _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x14934d) #46 0x0000628b0d5faddb n/a (kwin_x11 + 0x39ddb) #47 0x000071e9f8e34e08 n/a (libc.so.6 + 0x25e08) #48 0x000071e9f8e34ecc __libc_start_main (libc.so.6 + 0x25ecc) #49 0x0000628b0d5fea05 n/a (kwin_x11 + 0x3da05)
Created attachment 172421 [details] kwin_wayland core dump in journalctl
Created attachment 172422 [details] kwin_x11 core dump in journalctl
Unfortunately without debug symbols and a real backtrace, there's nothing we can do here. I would recommend figuring out why you're unable to get a backtrace out of `coredumpctl gdb` and fixing that, so that further crash reports are actionable. Hopefully distro folks can help you figure it out. Thanks anyway!
kwin_wayland is "not present" in `coredumpctl list` The following is `coredumpctl debug 9988` with kwin_x11 (version 6.1.4) on a new user. Worth mentioning: I have an AMD CPU (iGPU) and GPU. Also I have an unusal installation (not out of the box) which could have incompatibilities. I will ask for help in a forum, thanks! --- PID: 9988 (kwin_x11) UID: 1002 (d) GID: 1003 (d) Signal: 11 (SEGV) Timestamp: Mon 2024-08-12 10:53:54 CEST (19min ago) Command Line: /usr/bin/kwin_x11 --replace Executable: /usr/bin/kwin_x11 Control Group: /user.slice/user-1002.slice/user@1002.service/session.slice/plasma-kwin_x11.service Unit: user@1002.service User Unit: plasma-kwin_x11.service Slice: user-1002.slice Owner UID: 1002 (d) Boot ID: 34f*** Machine ID: *** Hostname: *** Storage: /var/lib/systemd/coredump/core.kwin_x11.1002.34f***.9988.1723452834000000.zst (present) Size on Disk: 13.2M Message: Process 9988 (kwin_x11) of user 1002 dumped core. --- (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007229fa0a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:78 #2 0x00007229fa04c120 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007229fd82c643 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.4.0/src/kcrash.cpp:597 #4 <signal handler called> #5 0x00007229fa9a4699 in socketNotifierSourceCheck (source=source@entry=0x593d7dd98940) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:53 #6 0x00007229f950fb11 in g_main_context_check_unlocked (context=0x7229e4000f00, max_priority=<optimized out>, fds=<optimized out>, n_fds=<optimized out>) at ../glib/glib/gmain.c:4039 #7 0x00007229f9570846 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7229e4000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4214 #8 0x00007229f950dfc5 in g_main_context_iteration (context=0x7229e4000f00, may_block=1) at ../glib/glib/gmain.c:4282 #9 0x00007229fa9a2cbd in QEventDispatcherGlib::processEvents (this=0x593d7dde7460, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #10 0x00007229fa74f01e in QEventLoop::processEvents (this=0x7ffcc67554d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100 #11 QEventLoop::exec (this=0x7ffcc67554d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182 #12 0x00007229fa74934d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74 #13 0x00007229fb6f83ba in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555 #14 0x0000593d5917cdfb in main (argc=<optimized out>, argv=0x7ffcc6755888) at /usr/src/debug/kwin/kwin-6.1.4/src/main_x11.cpp:467 --- (other threads in the attachement) (gdb) thread apply all backtrace full Thread 1 (LWP 9988): #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 tid = <optimized out> --Type <RET> for more, q to quit, c to continue without paging-- ret = 0 pd = <optimized out> old_mask = {__val = {0}} ret = <optimized out> #1 0x00007229fa0a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:78 No locals. #2 0x00007229fa04c120 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 ret = <optimized out> #3 0x00007229fd82c643 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.4.0/src/kcrash.cpp:597 data = {<KCrash::MetadataWriter> = {_vptr.MetadataWriter = 0x7229fd8317f0 <vtable for KCrash::Metadata+16>}, argv = {_M_elems = {0x0, 0x7229fd82f541 "--platform", 0x593d7f75edb0 "xcb", 0x7229fd82f568 "--display", 0x593d7dd13520 ":0", 0x7229fd82f572 "--appname", 0x7229fd82f4c3 "<unknown>", 0x7229fd82f589 "--signal", 0x7ffcc6754a66 "11", 0x7229fd82f597 "--pid", 0x7ffcc6754a70 "9988", 0x7229fd82f59d "--appversion", 0x593d7e1a7840 "6.1.4", 0x7229fd82f5aa "--programname", 0x593d7e1a77a0 "KWin", 0x7229fd82f5b8 "--bugaddress", 0x593d7e19e7f0 "submit@bugs.kde.org", 0x0 <repeats 17 times>}}, argc = 17, m_writer = 0x0} platformName = {d = {d = 0x593d7f75eda0, ptr = 0x593d7f75edb0 "xcb", size = 3}, static _empty = 0 '\000'} about = 0x593d7e1a76e0 argv = 0x7ffcc6754a98 i = <optimized out> ini = {<KCrash::MetadataWriter> = {_vptr.MetadataWriter = 0x7229fd831820 <vtable for KCrash::MetadataINIWriter+16>}, writable = false, fd = -1} sigtxt = "11\000\000\000\000\000\000\000" pidtxt = "9988\000\177\000\000\340\205\031Y=Y\000\000\260J", <incomplete sequence \306> argc = <optimized out> crashRecursionCounter = 2 #4 <signal handler called> No locals. #5 0x00007229fa9a4699 in socketNotifierSourceCheck (source=source@entry=0x593d7dd98940) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:53 t = {0x7229faa2084b "Read", 0x7229faa20850 "Write", 0x7229faa20856 "Exception"} p = 0x593d7f6bf650 i = 2 src = 0x593d7dd98940 pending = false #6 0x00007229f950fb11 in g_main_context_check_unlocked (context=0x7229e4000f00, max_priority=<optimized out>, fds=<optimized out>, n_fds=<optimized out>) at ../glib/glib/gmain.c:4039 begin_time_nsec = 1659222899716 result = <optimized out> check = 0x7229fa9a45c0 <socketNotifierSourceCheck(GSource*)> tmp_list = <optimized out> pollfd = <optimized out> source = 0x593d7dd98940 iter = {context = 0x7229e4000f00, may_modify = 1, current_list = <optimized out>, source = 0x593d7dd98940} pollrec = <optimized out> n_ready = <optimized out> i = <optimized out> __func__ = "g_main_context_check_unlocked" #7 0x00007229f9570846 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7229e4000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4214 max_priority = 0 timeout = 0 some_ready = <optimized out> nfds = 5 allocated_nfds = <optimized out> fds = 0x593d7f418ef0 begin_time_nsec = 1659222859068 #8 0x00007229f950dfc5 in g_main_context_iteration (context=0x7229e4000f00, may_block=1) at ../glib/glib/gmain.c:4282 retval = <optimized out> #9 0x00007229fa9a2cbd in QEventDispatcherGlib::processEvents (this=0x593d7dde7460, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394 d = 0x593d7dd621e0 canWait = true savedFlags = {i = 0} result = <optimized out> #10 0x00007229fa74f01e in QEventLoop::processEvents (this=0x7ffcc67554d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100 d = <optimized out> threadData = <optimized out> #11 QEventLoop::exec (this=0x7ffcc67554d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182 d = 0x593d7e1b5f30 threadData = <optimized out> locker = {m_mutex = <optimized out>, m_isLocked = false} --Type <RET> for more, q to quit, c to continue without paging-- ref = <optimized out> app = 0x7ffcc6755630 #12 0x00007229fa74934d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74 threadData = 0x593d7dcfc3e0 eventLoop = {<QObject> = {_vptr.QObject = 0x7229fabe98c8 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7229faa3e860 <_ZN12_GLOBAL__N_1L39qt_meta_stringdata_CLASSQObjectENDCLASSE.lto_priv.0>, data = 0x7229faa33ca0 <_ZL33qt_meta_data_CLASSQObjectENDCLASS.lto_priv.0>, static_metacall = 0x7229fa798890 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7229fabe7c20 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_141qt_meta_stringdata_CLASSQObjectENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteI7QStringSt17integral_constantIbLb1EEEENS3_I7QObjectS6_EENS3_IvS5_IbLb0EEEENS3_IPS8_SA_EESB_SB_NS3_IRKS4_SA_EESB_SD_EE.lto_priv.0>, extradata = 0x0}}, d_ptr = {d = 0x593d7e1b5f30}}, static staticMetaObject = {d = {superdata = {direct = 0x7229fabe7c80 <QObject::staticMetaObject>}, stringdata = 0x7229faa33000 <_ZN12_GLOBAL__N_1L42qt_meta_stringdata_CLASSQEventLoopENDCLASSE.lto_priv.0>, data = 0x7229faa32f00 <_ZL36qt_meta_data_CLASSQEventLoopENDCLASS.lto_priv.0>, static_metacall = 0x7229fa74ae50 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7229fabe7740 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_144qt_meta_stringdata_CLASSQEventLoopENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteI6QFlagsIN10QEventLoop17ProcessEventsFlagEESt17integral_constantIbLb1EEEENS3_IS5_S9_EENS3_IvS8_IbLb0EEEENS3_IiSC_EESD_SD_EE.lto_priv.0>, extradata = 0x0}}} returnCode = <optimized out> #13 0x00007229fb6f83ba in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555 No locals. #14 0x0000593d5917cdfb in main (argc=<optimized out>, argv=0x7ffcc6755888) at /usr/src/debug/kwin/kwin-6.1.4/src/main_x11.cpp:467 format = {d = 0x593d7dd09620} a = {<KWin::Application> = {<QApplication> = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x593d59287708 <vtable for KWin::ApplicationX11+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7229faa3e860 <_ZN12_GLOBAL__N_1L39qt_meta_stringdata_CLASSQObjectENDCLASSE.lto_priv.0>, data = 0x7229faa33ca0 <_ZL33qt_meta_data_CLASSQObjectENDCLASS.lto_priv.0>, static_metacall = 0x7229fa798890 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7229fabe7c20 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_141qt_meta_stringdata_CLASSQObjectENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteI7QStringSt17integral_constantIbLb1EEEENS3_I7QObjectS6_EENS3_IvS5_IbLb0EEEENS3_IPS8_SA_EESB_SB_NS3_IRKS4_SA_EESB_SD_EE.lto_priv.0>, extradata = 0x0}}, d_ptr = {d = 0x593d7dd09670}}, static staticMetaObject = {d = {superdata = {direct = 0x7229fabe7c80 <QObject::staticMetaObject>}, stringdata = 0x7229faa33300 <_ZN12_GLOBAL__N_1L48qt_meta_stringdata_CLASSQCoreApplicationENDCLASSE.lto_priv.0>, data = 0x7229faa33160 <_ZL42qt_meta_data_CLASSQCoreApplicationENDCLASS.lto_priv.0>, static_metacall = 0x7229fa74de90 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7229fabe77c0 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_150qt_meta_stringdata_CLASSQCoreApplicationENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteI7QStringSt17integral_constantIbLb1EEEES7_S7_S7_NS3_IbS6_EENS3_I16QCoreApplicationS6_EENS3_IvS5_IbLb0EEEESC_SC_SC_SC_SC_SC_NS3_IiSB_EESC_EE.lto_priv.0>, extradata = 0x0}}, static self = 0x7ffcc6755630}, static staticMetaObject = {d = {superdata = {direct = 0x7229fabe7840 <QCoreApplication::staticMetaObject>}, stringdata = 0x7229fb30eba0 <_ZN12_GLOBAL__N_1L47qt_meta_stringdata_CLASSQGuiApplicationENDCLASSE.lto_priv.0>, data = 0x7229fb30e8a0 <_ZL41qt_meta_data_CLASSQGuiApplicationENDCLASS.lto_priv.0>, static_metacall = 0x7229fad87050 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7229fb426400 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_149qt_meta_stringdata_CLASSQGuiApplicationENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteI5QIconSt17integral_constantIbLb1EEEENS3_I7QStringS6_EES9_NS3_IN2Qt15LayoutDirectionES6_EES9_NS3_IbS6_EENS3_IP7QScreenS6_EENS3_I15QGuiApplicationS6_EENS3_IvS5_IbLb0EEEESK_NS3_ISF_SJ_EESK_SL_SK_SL_SK_SK_NS3_IP7QObjectSJ_EESK_NS3_IP7QWindowSJ_EESK_NS3_INSA_16ApplicationStateESJ_EESK_NS3_ISB_SJ_EESK_NS3_IR15QSessionManagerSJ_EESK_SX_SK_SK_NS3_IRK8QPaletteSJ_EESK_NS3_IRK5QFontSJ_EESK_NS3_IxSJ_EESK_SO_EE.lto_priv.0>, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7229fb427e60 <QGuiApplication::staticMetaObject>}, stringdata = 0x7229fbb85340 <_ZN12_GLOBAL__N_1L44qt_meta_stringdata_CLASSQApplicationENDCLASSE.lto_priv.0>, data = 0x7229fbb851a0 <_ZL38qt_meta_data_CLASSQApplicationENDCLASS.lto_priv.0>, static_metacall = 0x7229fb6ff200 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7229fbccca40 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_146qt_meta_stringdata_CLASSQApplicationENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteIiSt17integral_constantIbLb1EEEES6_S6_S6_S6_S6_NS3_I7QStringS5_EENS3_IbS5_EENS3_I12QApplicationS5_EENS3_IvS4_IbLb0EEEENS3_IP7QWidgetSC_EESG_SD_NS3_IRKS7_SC_EESD_NS3_IKbSC_EESD_SD_EE.lto_priv.0>, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7229fbcdb7e0 <QApplication::staticMetaObject>}, stringdata = 0x7229fd6247c0 <_ZN12_GLOBAL__N_1L52qt_meta_stringdata_CLASSKWinSCOPEApplicationENDCLASSE.lto_priv.0>, data = 0x7229fd624640 <_ZL46qt_meta_data_CLASSKWinSCOPEApplicationENDCLASS.lto_priv.0>, static_metacall = 0x7229fd24c0d0 <KWin::Application::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7229fd732dc0 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_154qt_meta_stringdata_CLASSKWinSCOPEApplicationENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteIjSt17integral_constantIbLb1EEEES6_NS3_IPvS5_EENS3_I28QExplicitlySharedDataPointerI13KSharedConfigES5_EESC_NS3_IN4KWin11Application13OperationModeES5_EENS3_ISE_S5_EENS3_IvS4_IbLb0EEEESJ_SJ_SJ_SJ_SJ_EE.lto_priv.0>, extradata = 0x0}}, static crashes = 1, m_eventFilters = {<QListSpecialMethods<QPointer<KWin::X11EventFilterContainer> >> = {<QListSpecialMethodsBase<QPointer<KWin::X11EventFilterContainer> >> = {<No data fields>}, <No data fields>}, d = {d = 0x7229dc0093c0, ptr = 0x7229dc0093d0, size = 14}}, m_genericEventFilters = {<QListSpecialMethods<QPointer<KWin::X11EventFilterContainer> >> = {<QListSpecialMethodsBase<QPointer<KWin::X11EventFilterContainer> >> = {<No data fields>}, <No data fields>}, d = {d = 0x593d7e551120, ptr = 0x593d7e551130, size = 1}}, m_eventFilter = std::unique_ptr<KWin::XcbEventFilter> = {get() = 0x593d7e1a5140}, m_followLocale1 = false, m_configLock = false, m_config = {d = 0x593d7e18bbc0}, m_kxkbConfig = {d = 0x7229dc002a80}, m_inputConfig = {d = 0x7229dc002b20}, m_operationMode = KWin::Application::OperationModeX11, m_x11Time = 1658919, m_rootWindow = 997, m_compositeWindow = 133, m_connection = 0x593d7dd192c0, m_useKActivities = true, m_session = std::unique_ptr<KWin::Session> = {get() = 0x593d7e1a7810}, m_outputBackend = std::unique_ptr<KWin::OutputBackend> = {get() = 0x593d7e1a86c0}, m_terminating = false, m_xwaylandScale = 1, m_processEnvironment = {d = {d = 0x0}}, m_pluginManager = std::unique_ptr<KWin::PluginManager> = {get() = 0x593d7e4184e0}, m_inputMethod = std::unique_ptr<KWin::InputMethod> = {get() = 0x0}, m_colorManager = std::unique_ptr<KWin::ColorManager> = {get() = 0x593d7e420a40}, m_tabletModeManager = std::unique_ptr<KWin::TabletModeManager> = {get() = 0x593d7e1a9fa0}, m_screenLockerWatcher = std::unique_ptr<KWin::ScreenLockerWatcher> = {get() = 0x7229dc008c70}, m_platformCursor = std::unique_ptr<KWin::Cursor> = {get() = 0x593d7e1cd870}}, static staticMetaObject = {d = {superdata = {direct = 0x7229fd733020 <KWin::Application::staticMetaObject>}, stringdata = 0x593d59253e60 <(anonymous namespace)::qt_meta_stringdata_CLASSKWinSCOPEApplicationX11ENDCLASS>, data = 0x593d59253c00 <qt_meta_data_CLASSKWinSCOPEApplicationX11ENDCLASS>, static_metacall = 0x593d59181f40 <KWin::ApplicationX11::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x593d59285ad0 <qt_incomplete_metaTypeArray<(anonymous namespace)::qt_meta_stringdata_CLASSKWinSCOPEApplicationX11ENDCLASS_t, QtPrivate::TypeAndForceComplete<KWin::ApplicationX11, std::integral_constant<bool, true> >, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> > >>, extradata = 0x0}}, owner = std::unique_ptr<KWin::KWinSelectionOwner> = {get() = 0x593d7e1b56c0}, m_replace = true} replaceOption = {d = {d = 0x593d7e19ebc0}} parser = {d = 0x593d7e19feb0} noActivitiesOption = {d = {d = 0x593d7e1a84d0}}
Created attachment 172532 [details] kwin_x11 backtrace full in coredumpctl debug
I had other issues I couldn't solve, so I opted for a reinstall. The issue is happening again when installing EmojiRunner. https://github.com/alex1701c/EmojiRunner?tab=readme-ov-file#option-c-manual-installation-method It seems to be an issue with QFileSystemWatcher default constructor and/or destructor. There is no core dump after removing watcher from emojirunner.h https://github.com/alex1701c/EmojiRunner/blob/master/src/runner/emojirunner.h#L26 https://github.com/alex1701c/EmojiRunner/blob/master/src/runner/emojirunner.cpp#L32 (commenting the cpp only still produces the core dump). Also, once the patched version has been installed, installing a non-patched version requires a reconnection/restart to crash again. Should I open an issue in EmojiRunner?
An instance of EmojiRunner is created and destroyed as soon as Meta+G+F is pressed. This shouldn't be the case. kwin_wayland[50439]: qrc:/qt/qml/org/kde/kwin/private/effects/WindowHeapDelegate.qml:141: TypeError: Cannot read property 'activeFocusItem' of null kwin_wayland[50439]: qrc:/qt/qml/org/kde/kwin/private/effects/WindowHeapDelegate.qml:141: TypeError: Cannot read property 'activeFocusItem' of null kwin_wayland[50439]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) kwin_wayland[50439]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) kwin_wayland[50439]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) kwin_wayland[50439]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) kwin_wayland[50439]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairRequested(QString) kwin_wayland[50439]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::repairDone(Solid::ErrorType, QVariant, QString) kwin_wayland[50439]: EmojiRunner constructor 1 kwin_wayland[50439]: EmojiRunner constructor 2 kwin_wayland[50439]: EmojiRunner::reloadConfiguration 1 kwin_wayland[50439]: EmojiRunner::reloadConfiguration 2 kwin_wayland[50439]: QObject::killTimer: Timers cannot be stopped from another thread kwin_wayland[50439]: EmojiRunner destructor 1 kwin_wayland[50439]: QObject::~QObject: Timers cannot be stopped from another thread kwin_wayland[50439]: EmojiRunner destructor 2 kwin_wayland[50439]: QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread kwin_wayland[50439]: QSocketNotifier: Invalid socket 316 with type Read, disabling... kernel: traps: kwin_wayland[50439] general protection fault ip:7691b39aaad3 sp:7fffa8108fc0 error:0 in libQt6Core.so.6.7.2[1aaad3,7691b388a000+39c000] kernel: audit: type=1701 audit(1725222527.215:1140): auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined pid=50439 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=11 res=1 systemd-coredump[51521]: Process 50439 (kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, processing... kernel: audit: type=1334 audit(1725222527.231:1141): prog-id=189 op=LOAD kernel: audit: type=1300 audit(1725222527.231:1141): arch=c000003e syscall=321 success=yes exit=226 a0=5 a1=7ffd5c34ba60 a2=90 a3=0 items=0 ppid=0 pid=1 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd" exe="/usr/lib/systemd/systemd" subj=unconfined key=(null) kernel: audit: type=1327 audit(1725222527.231:1141): proctitle="/init" kernel: audit: type=1334 audit(1725222527.231:1142): prog-id=190 op=LOAD kernel: audit: type=1300 audit(1725222527.231:1142): arch=c000003e syscall=321 success=yes exit=233 a0=5 a1=7ffd5c34ba70 a2=90 a3=0 items=0 ppid=0 pid=1 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd" exe="/usr/lib/systemd/systemd" subj=unconfined key=(null) kernel: audit: type=1327 audit(1725222527.231:1142): proctitle="/init" kernel: audit: type=1334 audit(1725222527.231:1143): prog-id=191 op=LOAD kernel: audit: type=1300 audit(1725222527.231:1143): arch=c000003e syscall=321 success=yes exit=234 a0=5 a1=7ffd5c34ba70 a2=90 a3=0 items=0 ppid=0 pid=1 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd" exe="/usr/lib/systemd/systemd" subj=unconfined key=(null) systemd[1]: Started Process Core Dump (PID 51521/UID 0). systemd-coredump[51522]: [🡕] Process 50439 (kwin_wayland) of user 1000 dumped core.
Created attachment 178783 [details] Apps "hide" when a key is pressed during grid view transition The crash is now fixed in EmojiRunner. However, something still happens to the applications during the grid transition. The issue can actually be triggered by any non-shortcut combination: Start the grid transition with Meta+g. Then press any key (letters or symbols). In the attached video, I use Meta+g, g, g, g with the slowest animation speed. Applications "hide" when g is pressed, and reappear once the animation ends. Plasma Activities seems to have the same issue as EmojiRunner. journalctl output: qt.sql.qsqldatabase: QSqlDatabasePrivate::database: requested database does not belong to the calling thread. kwin_wayland[1429]: kde.plasma.activitiesstats: PlasmaActivities: Database is not open: "" "" QSqlError("", "Driver not loaded", "Driver not loaded") kwin_wayland[1429]: kde.plasma.activitiesstats: Plasma Activities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike will not work!