Bug 484643 - Regression: drm lease release crashes xwayland server
Summary: Regression: drm lease release crashes xwayland server
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-nested (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-28 07:05 UTC by babblebones
Modified: 2024-04-02 16:03 UTC (History)
2 users (show)

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


Attachments
xwayland coredump (13.67 KB, text/plain)
2024-03-28 07:05 UTC, babblebones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description babblebones 2024-03-28 07:05:51 UTC
Created attachment 167878 [details]
xwayland coredump

SUMMARY
Stopping monado service on a KDE 6 plasma desktop crashes xwayland when the drm lease is released on a wired headset.

This may also occur with steamvr but I have not tested that yet.

STEPS TO REPRODUCE
1. Start monado with a wired HMD connected to PC and some xwayland apps open
2. Stop monado
3. xwayland will crash

OBSERVED RESULT
xwayland crash

EXPECTED RESULT
xwayland should survive a drm lease releasing

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.2
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Appears to have regressed from plasma 5, my Gentoo box still on 5 does not produce this behavior
Coredump included below
Comment 1 babblebones 2024-03-30 23:34:08 UTC
I have narrowed this down further
Qt5 application windows open seem to instigate this crash.

Steam and Corectrl being two.

If you stop the service while a qt5 application is open xwayland will crash.
Comment 2 libjared 2024-04-02 03:05:47 UTC
This is very likely related to a ticket being tracked in xwayland.
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1619
Comment 3 Zamundaaa 2024-04-02 16:03:29 UTC
Definitely sounds like it. If it turns out not to be the same though, please make a separate issue for Xwayland - its crashes have to be fixed in its code base.