gnome-shell crash when getting out of sleep with external monitor unplugged
Affected version
Ubuntu 24.04 x64 Gnome Shell 46 Xorg / mutter
Bug summary
When putting my laptop to sleep with an external display connected, when I get it out of sleep without an external monitor plugged, gnome-shell crashes
Steps to reproduce
- Plug an external monitor
- Ensure both monitors are used in "expanded" mode (not cloning displays)
- Put computer to sleep
- Unplug external monitor
- Wake computer up
What happened
GNOME Shell crashed after unlocking session, and forced to log out.
What did you expect to happen
Relevant logs, screenshots, screencasts etc.
2024-04-09T22:25:55.214340+02:00 mana gnome-shell[5821]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
2024-04-09T22:25:55.214462+02:00 mana gnome-shell[5821]: **
2024-04-09T22:25:55.214553+02:00 mana gnome-shell[5821]: libmutter:ERROR:../src/core/window.c:5850:meta_window_get_work_area_for_logical_monitor: assertion failed: (logical_monitor)
2024-04-09T22:25:55.214627+02:00 mana gnome-shell[5821]: Bail out! libmutter:ERROR:../src/core/window.c:5850:meta_window_get_work_area_for_logical_monitor: assertion failed: (logical_monitor)
2024-04-09T22:25:55.214667+02:00 mana gnome-shell[5821]: GNOME Shell crashed with signal 6
2024-04-09T22:25:55.214725+02:00 mana gnome-shell[5821]: == Stack trace for context 0x5f56072f9b00 ==
2024-04-09T22:25:55.214976+02:00 mana gnome-shell[5821]: #0 7ffc94913530 b file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/moveHandler.js:503 (2fb5a2cb7a10 @ 454)
2024-04-09T22:25:55.215209+02:00 mana gnome-shell[5821]: #1 7ffc94913d50 b file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/moveHandler.js:391 (25777bc54dd0 @ 1833)
2024-04-08T18:21:45.482673+02:00 mana gnome-shell[13940]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
2024-04-08T18:21:45.482849+02:00 mana gnome-shell[13940]: **
2024-04-08T18:21:45.482910+02:00 mana gnome-shell[13940]: libmutter:ERROR:../src/core/window.c:5850:meta_window_get_work_area_for_logical_monitor: assertion failed: (logical_monitor)
2024-04-08T18:21:45.482953+02:00 mana gnome-shell[13940]: Bail out! libmutter:ERROR:../src/core/window.c:5850:meta_window_get_work_area_for_logical_monitor: assertion failed: (logical_monitor)
2024-04-08T18:21:45.482996+02:00 mana gnome-shell[13940]: GNOME Shell crashed with signal 6
2024-04-08T18:21:45.483159+02:00 mana gnome-shell[13940]: == Stack trace for context 0x5bc248e25aa0 ==
2024-04-08T18:21:45.483509+02:00 mana gnome-shell[13940]: #0 7ffed994d0b0 b file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/tilingWindowManager.js:99 (31cb0bb5e510 @ 78)
2024-04-08T18:21:45.483703+02:00 mana gnome-shell[13940]: #1 7ffed994d1b0 b file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/tilingWindowManager.js:87 (31cb0bb5e4c0 @ 109)
2024-04-08T18:21:45.483733+02:00 mana gnome-shell[13940]: #2 7ffed994d2c0 b self-hosted:241 (3139d9297a60 @ 279)
2024-04-08T18:21:45.483763+02:00 mana gnome-shell[13940]: #3 7ffed994da00 b file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/tilingWindowManager.js:78 (31cb0bb5e470 @ 183)
2024-04-08T18:21:45.483823+02:00 mana gnome-shell[13940]: #4 7ffed994e180 b file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/tilingWindowManager.js:566 (31cb0bb5eb50 @ 208)
2024-04-08T18:21:45.483943+02:00 mana gnome-shell[13940]: #5 5bc248eebef8 i file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/moveHandler.js:408 (31cb0bb4cb00 @ 86)
2024-04-08T18:21:45.483980+02:00 mana gnome-shell[13940]: #6 7ffed994ed10 b file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/moveHandler.js:386 (31cb0bb4ca60 @ 1703)
2024-04-08T18:21:45.484008+02:00 mana gnome-shell[13940]: #7 5bc248eebe68 i resource:///org/gnome/shell/ui/init.js:21 (3139d9270bf0 @ 48)