Bug 446124

Summary: `kwin_wayland` crashes when external monitor connected via usb-c hub is disconnected.
Product: [Plasma] kwin Reporter: ihasdapi
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: grave CC: kde
Priority: NOR    
Version: 5.23.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kwin_wayland stack trace & log output

Description ihasdapi 2021-11-26 17:26:32 UTC
Created attachment 143975 [details]
kwin_wayland stack trace & log output

SUMMARY
`kwin_wayland` crashes when external monitor connected via usb-c hub is disconnected. Did not break before 5.23.3.

STEPS TO REPRODUCE
1. Plug in monitor through usb-c hub 
2. Unplug hub

OBSERVED RESULT
Kwin_wayland crashes

EXPECTED RESULT
kwin_wayland doesn't crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.23.3 
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version:
Comment 1 ihasdapi 2021-11-26 17:55:13 UTC
Update: this seems to only be a problem while using the `bismuth` tiling script
Comment 2 David Edmundson 2022-01-11 14:40:13 UTC
daaaedace28329bbe9c5c78046bccd8744bd05cb
                                                            Stack trace of thread 77658:
                                                            #0  0x00007f5f49a539e5 _ZNK4KWin9Workspace10clientAreaENS_16clientAreaOptionEPKNS_14AbstractOutputEPKNS_14VirtualDesktopE (libkwin.so.5 + 0x2639e5)
                                                            #1  0x00007f5f498d6cca n/a (libkwin.so.5 + 0xe6cca)
                                                            #2  0x00007f5f498e663b n/a (libkwin.so.5 + 0xf663b)
                                                            #3  0x00007f5f498e66d5 n/a (libkwin.so.5 + 0xf66d5)
                                                            #4  0x00007f5f469f7c9e n/a (libQt5Qml.so.5 + 0x2c6c9e)
                                                            #5  0x00007f5f468d3121 n/a (libQt5Qml.so.5 + 0x1a2121)
                                                            #6  0x00007f5f468d4f6b _ZNK3QV413QObjectMethod12callInternalEPKNS_5ValueES3_i (libQt5Qml.so.5 + 0x1a3f6b)
                                                            #7  0x00007f5f46903baa _ZN3QV47Runtime18CallPropertyLookup4callEPNS_15ExecutionEngineERKNS_5ValueEjPS4_i (libQt5Qml.so.5 + 0x1d2baa)
                                                            #8  0x00007f5efd4a19f1 n/a (n/a + 0x0)
                                                            #9  0x00007f5f468f4cdd n/a (libQt5Qml.so.5 + 0x1c3cdd)
                                                            #10 0x00007f5f4688a629 n/a (libQt5Qml.so.5 + 0x159629)
                                                            #11 0x00007f5efd4757bc n/a (n/a + 0x0)
                                                            #12 0x00007f5f468f4cdd n/a (libQt5Qml.so.5 + 0x1c3cdd)
                                                            #13 0x00007f5f46887ed9 n/a (libQt5Qml.so.5 + 0x156ed9)
                                                            #14 0x00007f5f4685f1e2 _ZN3QV46Lookup19getterProtoAccessorEPS0_PNS_15ExecutionEngineERKNS_5ValueE (libQt5Qml.so.5 + 0x12e1e2)
                                                            #15 0x00007f5efd476f52 n/a (n/a + 0x0)
                                                            #16 0x00007f5f468f4cdd n/a (libQt5Qml.so.5 + 0x1c3cdd)
                                                            #17 0x00007f5f46887ed9 n/a (libQt5Qml.so.5 + 0x156ed9)
                                                            #18 0x00007f5f4685f1e2 _ZN3QV46Lookup19getterProtoAccessorEPS0_PNS_15ExecutionEngineERKNS_5ValueE (libQt5Qml.so.5 + 0x12e1e2)
                                                            #19 0x00007f5efd476d9f n/a (n/a + 0x0)
                                                            #20 0x00007f5f468f4cdd n/a (libQt5Qml.so.5 + 0x1c3cdd)
                                                            #21 0x00007f5f46887ed9 n/a (libQt5Qml.so.5 + 0x156ed9)
                                                            #22 0x00007f5f46903baa _ZN3QV47Runtime18CallPropertyLookup4callEPNS_15ExecutionEngineERKNS_5ValueEjPS4_i (libQt5Qml.so.5 + 0x1d2baa)
                                                            #23 0x00007f5f309574af n/a (n/a + 0x0)
                                                            #24 0x00007f5f468f4cdd n/a (libQt5Qml.so.5 + 0x1c3cdd)
                                                            #25 0x00007f5f46887ed9 n/a (libQt5Qml.so.5 + 0x156ed9)
                                                            #26 0x00007f5f46888bc0 n/a (libQt5Qml.so.5 + 0x157bc0)
Comment 3 David Edmundson 2022-01-11 14:43:00 UTC

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