Right. Now I call `apport-cli` with the crash file as parameter. As soon as I press "S", the program terminates immediately. No browser window is being opened.
$ apport-cli _usr_bin_gnome-shell.1000.crash *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (79.5 MB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): S $ -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1973802 Title: Gnome Shell crashes when disconnecting external monitor Status in gnome-shell package in Ubuntu: Incomplete 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->stack_position >= 0' failed`. 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:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 212959 does not exist. 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:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 212963 does not exist. May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212964: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 212964 does not exist. May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212965: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 212965 does not exist. May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212966: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 212966 does not exist. May 17 09:56:49 snaut gnome-shell[2048]: Could not create transient scope for PID 212967: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 212967 does not exist. 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:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 213085 does not exist. May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213089: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 213089 does not exist. May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213090: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 213090 does not exist. May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213092: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 213092 does not exist. May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213093: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 213093 does not exist. May 17 09:56:51 snaut gnome-shell[2048]: Could not create transient scope for PID 213094: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 213094 does not exist. 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_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed 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[213521]: Running GNOME Shell (using mutter 42.0) as a Wayland display server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1973802/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

