Happened to me today, when I unplugged the USB C cable connecting my ThinkPad to the dock with an external monitor plugged in, and then closed the laptop lid to put it to sleep.
journalctl shows ``` geg. 27 15:53:39 blynas gnome-shell[3815]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed geg. 27 15:53:39 blynas gnome-shell[3815]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed geg. 27 15:53:39 blynas gnome-shell[3815]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed geg. 27 15:53:39 blynas gnome-shell[3815]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed geg. 27 15:53:40 blynas systemd-logind[906]: Lid closed. geg. 27 15:53:41 blynas gnome-shell[3815]: ** geg. 27 15:53:41 blynas gnome-shell[3815]: mutter:ERROR:../src/core/window.c:3728:meta_window_update_for_monitors_changed: assertion failed: (!window->monitor || g_list_find (meta_monitor_manager_get_logical_monitors (monitor_manager), window->monitor)) geg. 27 15:53:41 blynas gnome-shell[3815]: Bail out! mutter:ERROR:../src/core/window.c:3728:meta_window_update_for_monitors_changed: assertion failed: (!window->monitor || g_list_find (meta_monitor_manager_get_logical_monitors (monitor_manager), window->monitor)) geg. 27 15:53:41 blynas gnome-shell[3815]: GNOME Shell crashed with signal 6 geg. 27 15:53:41 blynas gnome-shell[3815]: == Stack trace for context 0x563285c4a4b0 == ``` Ubuntu 22.04 LTS, Intel video (in case that matters). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1970917 Title: gnome-shell crashes with SIGABRT due to assertion failure "!window->monitor || g_list_find (meta_monitor_manager_get_logical_monitors (monitor_manager), window->monitor)" in meta_window_update_for_monitors_changed() To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/1970917/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs