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:
** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #2257
https://gitlab.gnome.org/GNOME/mutter/-/issues/2257
** Also affects: mutter via
https://gitlab.gnome.org/GNOME/mutter/-/issues/2257
Importance: Unknown
Status: Unknown
--
You received this bug notification because
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: mutter (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970917
Title:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gnome-shell (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970917
Title:
** Attachment added: "stacktrace.txt"
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1970917/+attachment/5585026/+files/stacktrace.txt
** Also affects: mutter (Ubuntu)
Importance: Undecided
Status: New
** Changed in: mutter (Ubuntu)
Importance: Undecided => High
--