Gnome Shell crashes when disconnecting external monitor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 22.04, gnome-shell 42.0-2ubuntu1
When unplugging an external monitor connected via USB-C to my Thinkpad P14s, the entire UI session crashes. While the external monitor is plugged in, it is configured as the primary display. Here are the gnome-shell logs of the latest incident, I suppose the relevant part is `assertion 'window-
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212959: GDBus.Error:
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2524]: XWAYLAND: mode -1x-1 is not available
May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212963: GDBus.Error:
May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212964: GDBus.Error:
May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212965: GDBus.Error:
May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212966: GDBus.Error:
May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212967: GDBus.Error:
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
May 17 09:56:49 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213085: GDBus.Error:
May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213089: GDBus.Error:
May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213090: GDBus.Error:
May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213092: GDBus.Error:
May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213093: GDBus.Error:
May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213094: GDBus.Error:
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
May 17 09:56:51 snaut gnome-shell[2048]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
May 17 09:56:51 snaut gnome-shell[2048]: meta_window_
May 17 09:56:51 snaut gnome-shell[2048]: GNOME Shell crashed with signal 11
May 17 09:56:51 snaut gnome-shell[2048]: == Stack trace for context 0x555f01f484b0 ==
May 17 09:57:03 snaut gnome-shell[2524]: Error getting buffer
May 17 09:57:03 snaut gnome-shell[2524]: Error getting buffer
May 17 09:57:03 snaut gnome-shell[2524]: Error getting buffer
May 17 09:57:03 snaut gnome-shell[2524]: Error getting buffer
May 17 09:57:03 snaut gnome-shell[2524]: Error getting buffer
May 17 09:57:03 snaut gnome-shell[2524]: Error getting buffer
May 17 09:57:03 snaut gnome-shell[2524]: Error getting buffer
May 17 09:57:03 snaut gnome-shell[2524]: (EE) failed to write to Xwayland fd: Broken pipe
May 17 09:57:05 snaut gnome-shell[
Thanks for the bug report. This looks like bug 1871262 but actually I'm not convinced that bug report is accurate. If the assertion failure is non-fatal then cause of the crash might actually be something different slightly after that...
Please try following: /wiki.ubuntu. com/Bugs/ Responses# Missing_ a_crash_ report_ or_having_ a_.crash_ attachment
https:/