The fix for this bug was first released in mutter version 3.27.91-real. So yes Ubuntu 18.04 onward will have the fix.
** Bug watch added: bugzilla.gnome.org/ #788764 https://bugzilla.gnome.org/show_bug.cgi?id=788764 ** Changed in: gnome-shell Importance: Medium => Unknown ** Changed in: gnome-shell Status: Fix Released => Unknown ** Changed in: gnome-shell Remote watch: GNOME Bug Tracker #788764 => bugzilla.gnome.org/ #788764 ** Changed in: gnome-shell (Ubuntu) Status: Incomplete => Fix Released -- 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/1734044 Title: gnome-shell crashes when monitor turned off or switch kvm [meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed] Status in GNOME Shell: Unknown Status in gnome-shell package in Ubuntu: Fix Released Bug description: Gnome shell will crash every time when I turn off monitor or switch the kvm to my other system. Following message was captured in my journalctl log previously: Nov 10 17:34:31 ubox gnome-shell[1235]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed Nov 10 17:34:31 ubox gnome-shell[1235]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: gnome-shell 3.26.1-0ubuntu5 ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8 Uname: Linux 4.13.0-17-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.5 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Wed Nov 22 23:10:24 2017 DisplayManager: gdm3 InstallationDate: Installed on 2017-10-27 (27 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1734044/+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

