Bug 456149

Summary: kwin segfault when switching to external display
Product: [Plasma] kwin Reporter: Dave Tucker <datucker>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.