It looks like that just changes the crash slightly instead of fixing it. You must have meta_backend_get_current_logical_monitor returning NULL, which means meta_backend_native_get_current_logical_monitor is returning NULL for Wayland sessions, which means the mouse pointer was on the monitor that got removed.
So try moving the mouse back to the laptop screen before unplugging the external monitor? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2117277 Title: gnome-shell crash on unplugging external monitor – meta_window_get_work_area_for_logical_monitor assertion To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2117277/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs