Summary: | kwin_wayland often crashed when used as the sddm Wayland compositor and logging out of Plasma resulting in a black screen | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Matt Fagnani <matt.fagnani> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ales.astone, nate |
Priority: | NOR | ||
Version: | 5.26.90 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/6970199ccc6ff54badcbf2b33a22aada89c164cc | Version Fixed In: | 5.27.2 |
Attachments: | Full trace of all threads of kwin_wayland crash when logging out of Plasma as sddm Wayland compositor |
Description
Matt Fagnani
2023-02-08 04:15:48 UTC
The stacktrace points to https://invent.kde.org/plasma/kwin/-/blob/v5.27.1/src/backends/libinput/connection.cpp#L376 Indeed this is reproducible 100% of the times by just continuously moving the mouse after clicking logout. And never happens when keeping the mouse still. Perhaps the same change as here should be applied https://invent.kde.org/plasma/kwin/-/commit/8386a8bb666891d92539a52375157e2c5b6987a2 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3667 Git commit da26deaa5c843ef303ef9f1b9f0cd3d341c5c5f5 by Vlad Zahorodnii. Committed on 22/02/2023 at 19:39. Pushed by vladz into branch 'master'. backends/libinput: Fix crash upon receiving motion absolute events The input events can be processed when the workspace is not available, e.g. during startup or shutdown, so add a corresponding guard. As a long term plan, we need to decouple Workspace from low-level input backend parts, but it will be a too invasive change for now. Related: bug 449317 M +3 -1 src/backends/libinput/connection.cpp https://invent.kde.org/plasma/kwin/commit/da26deaa5c843ef303ef9f1b9f0cd3d341c5c5f5 Git commit 6970199ccc6ff54badcbf2b33a22aada89c164cc by Vlad Zahorodnii. Committed on 23/02/2023 at 07:23. Pushed by vladz into branch 'Plasma/5.27'. backends/libinput: Fix crash upon receiving motion absolute events The input events can be processed when the workspace is not available, e.g. during startup or shutdown, so add a corresponding guard. As a long term plan, we need to decouple Workspace from low-level input backend parts, but it will be a too invasive change for now. Related: bug 449317 (cherry picked from commit da26deaa5c843ef303ef9f1b9f0cd3d341c5c5f5) M +3 -1 src/backends/libinput/connection.cpp https://invent.kde.org/plasma/kwin/commit/6970199ccc6ff54badcbf2b33a22aada89c164cc |