Bug 487588 - plasma-kwin_x11 crashes during usage of window rule access shortcut
Summary: plasma-kwin_x11 crashes during usage of window rule access shortcut
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 13:22 UTC by Dominik Kummer
Modified: 2024-07-10 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Kummer 2024-05-26 13:22:12 UTC
I defined several shortcuts to activate applications via short cut. Since update to 6.0.5 today I get crashes on a regular basis. This bug is probably related: https://bugs.kde.org/show_bug.cgi?id=487422

Mai 26 14:07:52 systemd-coredump[14898]: Process 1257 (kwin_x11) of user 1000 dumped core.
                                                
                                                Stack trace of thread 1257:
                                                #0  0x00007bf0ea6a8e44 n/a (libc.so.6 + 0x94e44)
                                                #1  0x00007bf0ea650a30 raise (libc.so.6 + 0x3ca30)
                                                #2  0x00007bf0eddd6645 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x6645)
                                                #3  0x00007bf0ea650ae0 n/a (libc.so.6 + 0x3cae0)
                                                #4  0x00007bf0ec92a182 n/a (libQt6Qml.so.6 + 0x12a182)
                                                #5  0x00007bf0ec964fe4 _ZN3QV415ExecutionEngine8fromDataE9QMetaTypePKvPNS_4Heap6ObjectEij (libQt6Qml.so.6 + 0x164fe4)
                                                #6  0x00007bf0ec9cb428 n/a (libQt6Qml.so.6 + 0x1cb428)
                                                #7  0x00007bf0ec9cd015 n/a (libQt6Qml.so.6 + 0x1cd015)
                                                #8  0x00007bf0ec9d0999 _ZNK3QV413QObjectMethod12callInternalEPKNS_5ValueES3_i (libQt6Qml.so.6 + 0x1d0999)
                                                #9  0x00007bf0ec9eeb87 _ZN3QV47Runtime12CallProperty4callEPNS_15ExecutionEngineERKNS_5ValueEiPS4_i (libQt6Qml.so.6 + 0x1eeb87)
                                                #10 0x00007bf0cea0175e n/a (n/a + 0x0)
                                                #11 0x00007bf0eca1ddce n/a (libQt6Qml.so.6 + 0x21ddce)
                                                #12 0x00007bf0ec9854af n/a (libQt6Qml.so.6 + 0x1854af)
                                                #13 0x00007bf0ec9eeb87 _ZN3QV47Runtime12CallProperty4callEPNS_15ExecutionEngineERKNS_5ValueEiPS4_i (libQt6Qml.so.6 + 0x1eeb87)
                                                #14 0x00007bf0dd583345 n/a (n/a + 0x0)
                                                #15 0x00007bf0eca1ddce n/a (libQt6Qml.so.6 + 0x21ddce)
                                                #16 0x00007bf0ec9854af n/a (libQt6Qml.so.6 + 0x1854af)
                                                #17 0x00007bf0ec9c73d0 n/a (libQt6Qml.so.6 + 0x1c73d0)
                                                #18 0x00007bf0eada17b7 n/a (libQt6Core.so.6 + 0x1a17b7)
                                                #19 0x00007bf0ed7d7d57 _ZN4KWin14EffectsHandler14desktopChangedEPNS_14VirtualDesktopES2_PNS_12EffectWindowE (libkwin.so.6 + 0x1d7d57)
                                                #20 0x00007bf0eada17b7 n/a (libQt6Core.so.6 + 0x1a17b7)
                                                #21 0x00007bf0ed98d82b _ZN4KWin9Workspace21currentDesktopChangedEPNS_14VirtualDesktopEPNS_6WindowE (libkwin.so.6 + 0x38d82b)
                                                #22 0x00007bf0ed981507 _ZN4KWin9Workspace25slotCurrentDesktopChangedEPNS_14VirtualDesktopES2_ (libkwin.so.6 + 0x381507)
                                                #23 0x00007bf0eada17b7 n/a (libQt6Core.so.6 + 0x1a17b7)
                                                #24 0x00007bf0ed94483b _ZN4KWin21VirtualDesktopManager14currentChangedEPNS_14VirtualDesktopES2_ (libkwin.so.6 + 0x34483b)
                                                #25 0x00007bf0ed947353 _ZN4KWin21VirtualDesktopManager10setCurrentEPNS_14VirtualDesktopE (libkwin.so.6 + 0x347353)
                                                #26 0x00007bf0ed75e4fe _ZN4KWin9Workspace14activateWindowEPNS_6WindowEb (libkwin.so.6 + 0x15e4fe)
                                                #27 0x00007bf0eada17b7 n/a (libQt6Core.so.6 + 0x1a17b7)
                                                #28 0x00007bf0eb71b094 _ZN7QAction8activateENS_11ActionEventE (libQt6Gui.so.6 + 0x51b094)
                                                #29 0x00007bf0eada17b7 n/a (libQt6Core.so.6 + 0x1a17b7)
                                                #30 0x00007bf0edd937d8 n/a (libKF6GlobalAccel.so.6 + 0x227d8)
                                                #31 0x00007bf0edd96cbf n/a (libKF6GlobalAccel.so.6 + 0x25cbf)
                                                #32 0x00007bf0ec3c963d n/a (libQt6DBus.so.6 + 0x3c63d)
                                                #33 0x00007bf0ead8c0cf _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x18c0cf)
                                                #34 0x00007bf0ebcfc55c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfc55c)
                                                #35 0x00007bf0ead44e08 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x144e08)
                                                #36 0x00007bf0ead451cb _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x1451cb)
                                                #37 0x00007bf0eafa45ec n/a (libQt6Core.so.6 + 0x3a45ec)
                                                #38 0x00007bf0e9b0ea89 n/a (libglib-2.0.so.0 + 0x5ca89)
                                                #39 0x00007bf0e9b709b7 n/a (libglib-2.0.so.0 + 0xbe9b7)
                                                #40 0x00007bf0e9b0df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                #41 0x00007bf0eafa28bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a28bd)
                                                #42 0x00007bf0ead4f0de _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f0de)
                                                #43 0x00007bf0ead4942d _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x14942d)
                                                #44 0x000060d514a43d2b n/a (kwin_x11 + 0x38d2b)
                                                #45 0x00007bf0ea639c88 n/a (libc.so.6 + 0x25c88)
                                                #46 0x00007bf0ea639d4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                #47 0x000060d514a479b5 n/a (kwin_x11 + 0x3c9b5)
                                                
                                                Stack trace of thread 1266:
                                                #0  0x00007bf0ea71c39d __poll (libc.so.6 + 0x10839d)
                                                #1  0x00007bf0e9b708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                                                #2  0x00007bf0e9b0df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                #3  0x00007bf0eafa28bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a28bd)
                                                #4  0x00007bf0ead4f0de _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f0de)
                                                #5  0x00007bf0eae3a4b0 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23a4b0)
                                                #6  0x00007bf0ec3badfe n/a (libQt6DBus.so.6 + 0x2ddfe)
                                                #7  0x00007bf0eaec96b7 n/a (libQt6Core.so.6 + 0x2c96b7)
                                                #8  0x00007bf0ea6a6ded n/a (libc.so.6 + 0x92ded)
                                                #9  0x00007bf0ea72a0dc n/a (libc.so.6 + 0x1160dc)
                                                
                                                Stack trace of thread 1267:
                                                #0  0x00007bf0ea71c39d __poll (libc.so.6 + 0x10839d)
                                                #1  0x00007bf0ede4520b n/a (libxcb.so.1 + 0xd20b)
                                                #2  0x00007bf0ede46f3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
                                                #3  0x00007bf0e55ae211 n/a (libQt6XcbQpa.so.6 + 0x4e211)
                                                #4  0x00007bf0eaec96b7 n/a (libQt6Core.so.6 + 0x2c96b7)
                                                #5  0x00007bf0ea6a6ded n/a (libc.so.6 + 0x92ded)
                                                #6  0x00007bf0ea72a0dc n/a (libc.so.6 + 0x1160dc)
                                                
                                                Stack trace of thread 9621:
                                                #0  0x00007bf0ea6a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                #1  0x00007bf0ea6a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                #2  0x00007bf0eaece090 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce090)
                                                #3  0x00007bf0ed219cca n/a (libQt6Quick.so.6 + 0x419cca)
                                                #4  0x00007bf0eaec96b7 n/a (libQt6Core.so.6 + 0x2c96b7)
                                                #5  0x00007bf0ea6a6ded n/a (libc.so.6 + 0x92ded)
                                                #6  0x00007bf0ea72a0dc n/a (libc.so.6 + 0x1160dc)
                                                
                                                Stack trace of thread 9618:
                                                #0  0x00007bf0ea71c39d __poll (libc.so.6 + 0x10839d)
                                                #1  0x00007bf0e9b708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                                                #2  0x00007bf0e9b0df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                #3  0x00007bf0eafa28bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a28bd)
                                                #4  0x00007bf0ead4f0de _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f0de)
                                                #5  0x00007bf0eae40dd0 _ZN7QThread3runEv (libQt6Core.so.6 + 0x240dd0)
                                                #6  0x00007bf0eaec96b7 n/a (libQt6Core.so.6 + 0x2c96b7)
                                                #7  0x00007bf0ea6a6ded n/a (libc.so.6 + 0x92ded)
                                                #8  0x00007bf0ea72a0dc n/a (libc.so.6 + 0x1160dc)
                                                
                                                Stack trace of thread 1381:
                                                #0  0x00007bf0ea71c39d __poll (libc.so.6 + 0x10839d)
                                                #1  0x00007bf0e9b708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                                                #2  0x00007bf0e9b0df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                #3  0x00007bf0eafa28bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a28bd)
                                                #4  0x00007bf0ead4f0de _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f0de)
                                                #5  0x00007bf0eae40dd0 _ZN7QThread3runEv (libQt6Core.so.6 + 0x240dd0)
                                                #6  0x00007bf0eaec96b7 n/a (libQt6Core.so.6 + 0x2c96b7)
                                                #7  0x00007bf0ea6a6ded n/a (libc.so.6 + 0x92ded)
                                                #8  0x00007bf0ea72a0dc n/a (libc.so.6 + 0x1160dc)
                                                
                                                Stack trace of thread 1328:
                                                #0  0x00007bf0ea71c39d __poll (libc.so.6 + 0x10839d)
                                                #1  0x00007bf0e9b708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                                                #2  0x00007bf0e9b0df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                #3  0x00007bf0eafa28bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a28bd)
                                                #4  0x00007bf0ead4f0de _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f0de)
                                                #5  0x00007bf0eae40dd0 _ZN7QThread3runEv (libQt6Core.so.6 + 0x240dd0)
                                                #6  0x00007bf0eaec96b7 n/a (libQt6Core.so.6 + 0x2c96b7)
                                                #7  0x00007bf0ea6a6ded n/a (libc.so.6 + 0x92ded)
                                                #8  0x00007bf0ea72a0dc n/a (libc.so.6 + 0x1160dc)
                                                ELF object binary architecture: AMD x86-64
Comment 1 Nicolas Fella 2024-05-27 10:28:34 UTC
The backtrace suggests it crashes while switching the virtual desktop when an application is activated, but I cannot reproduce it
Comment 2 Dominik Kummer 2024-05-27 21:09:07 UTC
Thanks for looking into this! Nate Graham suggested another (probably related) bug to be already fixed here:
https://invent.kde.org/plasma/kglobalacceld/-/merge_requests/49

He suggested the merge within context of this bug:
https://bugs.kde.org/show_bug.cgi?id=487422

I superficially looked into it, because my ressources are limited right now. But accidentally the merge and the crash posted here are QTimer related.
Of course I am neither superstitious nor esoteric, but its just what I concluded :-)
Comment 3 David Edmundson 2024-06-09 05:45:32 UTC
The trace doesn't look that related.  This is in some script based effect when the virtual desktop changed after activating a window on another desktop.

Unfortunately the backtrace is missing a lot of symbols, we can't see which effect or why.

You said it happens regularly? Is it every time you press this shortcut? Can you narrow it down to a specific combination of apps open?
Comment 4 Dominik Kummer 2024-06-09 11:54:40 UTC
Hi David! Thanks for your feedback!

I am still observing this issue. But since my latest update (2nd of June or so) and reboot, the crash did not happen again. I'll feed more info here, but I will have to build with debugging symbols also.
Comment 5 Dominik Kummer 2024-06-10 07:32:19 UTC
*** Bug 487422 has been marked as a duplicate of this bug. ***
Comment 6 Bug Janitor Service 2024-06-25 03:47:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-07-10 03:47:20 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!