Bug 453214

Summary: kwin_wayland SIGSEGV when switching monitor input with a KVM
Product: [Plasma] kwin Reporter: Johan Sköld <johan>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version: 5.24.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Backtrace produced by GDB

Description Johan Sköld 2022-04-30 00:07:38 UTC
Created attachment 148466 [details]
Backtrace produced by GDB

SUMMARY
I have my computer connected to a KVM through DisplayPort. When I switch input away from it and then back again, kwin_wayland segfaults after a very brief moment of showing my desktop (milliseconds rather than seconds).

I'm attaching a backtrace as produced using the commands at https://community.kde.org/KWin/Debugging#TL.3BDR_for_bug_reporters

STEPS TO REPRODUCE
1. Using a KVM switch input away from the machine running KDE
2. Using the same KVM switch, switch input back to the machine running KDE

OBSERVED RESULT
kwin_wayland segfaults, taking the entire desktop and everything that was running in it down with it before restarting.

EXPECTED RESULT
kwin_wayland does not crash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.17.4-300.fc36.x86_64
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.13.3
Comment 1 Johan Sköld 2022-04-30 03:19:51 UTC
After some testing it appears this may be triggered by bismuth resizing/moving windows when switching the display back. kwin_wayland no longer crashes after removing bismuth.
Comment 2 Nate Graham 2022-05-03 14:41:08 UTC

*** This bug has been marked as a duplicate of bug 448102 ***