Segfault in gnome-shell with multi monitor setup / docking station
Affected version
Arch linux, (current) default installation of gnome (version 43.1), in particular, GNOME shell 43.1. DISPLAY_WAYLAND is set, so it should be using Wayland.
Bug summary
The shell crashes completely and I am thrown back to the gdm login screen.
Steps to reproduce
This happens with a docking station and a multi monitor setup. To reproduce:
- Use the laptop without the docking station plugged in
- Suspend the laptop to RAM (closing the lid)
- Plug in the docking station (with another monitor attached)
- Resume (opening the lid)
Since the docking station has another monitor attached to it, the screen configuration changes on resume. As mentioned above however, I am thrown back to the login screen instead. Normal suspend / resume works fine, both with and without the docking station. Unplugging / replugging the docking station also works fine on its own.
What happened
GNOME shell crashed, which was unexpected.
What did you expect to happen
I expected to get shown the normal lock screen and to be able to resume work after entering my password. Instead the whole desktop session is gone.
Relevant logs, screenshots, screencasts etc.
Relevant systemd logs:
Backtrace based on coredumpctl debug /usr/bin/gnome-shell
:
(gdb) bt
#0 0x00007f29ea3af8e9 in meta_kms_connector_get_type () at ../mutter/src/backends/native/meta-kms-connector.c:67
#1 META_KMS_CONNECTOR (ptr=0x55bb3392cc40) at ../mutter/src/backends/native/meta-kms-connector.h:32
#2 meta_kms_connector_finalize (object=0x55bb3392cc40) at ../mutter/src/backends/native/meta-kms-connector.c:1151
#3 0x0000000000000000 in ()
(gdb) list
62 uint32_t tile_blob_id;
63
64 gboolean fd_held;
65 };
66
67 G_DEFINE_TYPE (MetaKmsConnector, meta_kms_connector, G_TYPE_OBJECT)
68
69 typedef enum _MetaKmsPrivacyScreenHwState
70 {
71 META_KMS_PRIVACY_SCREEN_HW_STATE_DISABLED,