gnome-shell segfault when unplugging USB-C dock
Affected version
archlinux / garuda linux 6.3.3, 6.3.4, 6.3.5 gnome-shell 44.1 mutter mutter-44.1+r2+g82bd40dcbc gdm 44.1
Using Wayland (especially because of fractional scaling) Tested with and without extensions and a completely new user profile
The behavior was correct without segfaults with the previous major version of gnome (43)
Bug summary
After unplugging the laptop (Lenovo Thinkpad z13) from the USB-C Dock (2 FHD Displays) gnome-shell throughs a segfault and crashes. The session is lost and even a resume with a new session is faulty and after a while the display goes blank and a reconnection to the Dock is not possible at all
Steps to reproduce
- Start Laptop and login to Gnome
- Close the Lid -> Laptop suspends
- Connect the Laptop to the Dock
- Resume Session from Dock with the 2 Displays (Laptop Screen closed)#
- Work a bit, open Programs
- Disconnect the Dock-Cable
- Here's the moment where gnome-shell crashes, Laptop still goes to sleep 8a. Reconnect closed Laptop to the Dock -> Displays do not get recognized 8b. Open Laptop and find out that gnome-shell crashed and the session is lost, experience Problems with the Internal Display after a while, only a restart seems to help -->
What happened
segfault
What did you expect to happen
no crash
Relevant logs, screenshots, screencasts etc.
Coredump information: https://gist.github.com/luchmhor/a4f74e67925f667268fcabed41c4d5b0
Journalctl: https://gist.github.com/luchmhor/c77f2398450f63d5d8f9df9c5b37fa95