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 Desktop
Packages, which is subscribed to gnome-shell 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()

Status in Mutter:
  Unknown
Status in gnome-shell package in Ubuntu:
  Confirmed
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  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().

  However a bug in errors.ubuntu.com is hiding it. Sometimes it is
  visible on
  https://errors.ubuntu.com/problem/bc718fcc290d04f4e23c6246836d992f140e7058
  (when the last crash report was from jammy) and sometimes not
  (impish).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/1970917/+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

Reply via email to