Bug 456149 - kwin segfault when switching to external display
Summary: kwin segfault when switching to external display
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.24.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-29 22:43 UTC by Dave Tucker
Modified: 2022-06-29 22:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Tucker 2022-06-29 22:43:30 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Attach a USB-C Display
2. Meta+P and select "Switch to external screen"

OBSERVED RESULT
Kwin crashes. 

EXPECTED RESULT
Display is output on external screen only

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 36 KDE Spin - 5.24.5
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0 
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Backtrace and supportInformation: https://gist.github.com/dave-tucker/7cd6ad13acd11fe0012a2aaf2b580531
I tried to get it to crash with gdb attached...
But actually, everything did switch to the external display.. but all input devices stopped working :(
On detach, everything switched back to laptop display and input handling returned to normal.
Comment 1 Dave Tucker 2022-06-29 22:49:48 UTC
Gah! I've isolated the problem.
Disabling Window Tiling (provided by Bismuth), everything works as expected.
Since this works without Bismuth, I'll assume it's an issue for that project not this one.
Sorry for the noise.