Periodic kwin crashes
I'm getting periodic (every ~20 mins) kwin crashes with the following stack trace kwin_stack_trace.txt.
#0 0x00007f3ab12ce34c __pthread_kill_implementation (libc.so.6 + 0x8f34c)
#1 0x00007f3ab12814b8 raise (libc.so.6 + 0x424b8)
#2 0x00007f3ab126b534 abort (libc.so.6 + 0x2c534)
#3 0x00007f3ab126b45c __assert_fail_base.cold (libc.so.6 + 0x2c45c)
#4 0x00007f3ab127a116 __assert_fail (libc.so.6 + 0x3b116)
#5 0x00007f3ab35fdd8a _ZNK4KWin3win7wayland6window14layer_for_dockEv (libkwin_wayland.so.5 + 0x1d8d8a)
#6 0x00007f3ab30df123 n/a (libkwin.so.5 + 0x193123)
#7 0x00007f3ab3153038 _ZN4KWin3win5space17setShowingDesktopEb (libkwin.so.5 + 0x207038)
#8 0x00007f3ab3150cb1 _ZN4KWin3win5space13request_focusEPNS_8ToplevelEbb (libkwin.so.5 + 0x204cb1)
#9 0x00007f3ab3151162 _ZN4KWin3win5space14activateClientEPNS_8ToplevelEb (libkwin.so.5 + 0x205162)
#10 0x00007f3ab1947463 n/a (libQt5Core.so.5 + 0x2bd463)
#11 0x00007f3ab2de3517 _ZN8Wrapland6Server12PlasmaWindow15activeRequestedEb (libWraplandServer.so.0 + 0x7f517)
#12 0x00007f3ab2e29e0e n/a (libWraplandServer.so.0 + 0xc5e0e)
#13 0x00007f3aaf4f1536 n/a (libffi.so.8 + 0x7536)
#14 0x00007f3aaf4ee037 n/a (libffi.so.8 + 0x4037)
#15 0x00007f3ab122faf2 n/a (libwayland-server.so.0 + 0x8af2)
#16 0x00007f3ab1233e14 n/a (libwayland-server.so.0 + 0xce14)
#17 0x00007f3ab123284a wl_event_loop_dispatch (libwayland-server.so.0 + 0xb84a)
#18 0x00007f3ab2e64970 n/a (libWraplandServer.so.0 + 0x100970)
#19 0x00007f3ab1947463 n/a (libQt5Core.so.5 + 0x2bd463)
#20 0x00007f3ab19494e4 _ZN15QSocketNotifier9activatedE17QSocketDescriptorNS_4TypeENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2bf4e4)
#21 0x00007f3ab1949faf _ZN15QSocketNotifier5eventEP6QEvent (libQt5Core.so.5 + 0x2bffaf)
#22 0x00007f3ab26622c6 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1792c6)
#23 0x00007f3ab19165aa _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x28c5aa)
#24 0x00007f3ab1961214 _ZN27QEventDispatcherUNIXPrivate23activateSocketNotifiersEv (libQt5Core.so.5 + 0x2d7214)
#25 0x00007f3ab1962185 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8185)
#26 0x0000558a244f27f2 n/a (kwin_wayland + 0x5f7f2)
#27 0x00007f3ab190e88b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28488b)
#28 0x00007f3ab1919fd7 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x28ffd7)
#29 0x0000558a244b2283 n/a (kwin_wayland + 0x1f283)
#30 0x00007f3ab126c310 __libc_start_call_main (libc.so.6 + 0x2d310)
#31 0x00007f3ab126c3c1 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d3c1)
#32 0x0000558a244b2935 n/a (kwin_wayland + 0x1f935)
I am using the latest commits (at the time of writing this) of both kwinft and wlroots. Let me know if there is something else I could do to help diagnose the problem.
Best,
William
Edited by Roman Gilg