[Desktop-packages] [Bug 1734044] Re: 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 (
Launchpad has imported 25 comments from the remote bug at https://bugzilla.gnome.org/show_bug.cgi?id=788764. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2017-10-10T10:18:55+00:00 Gw-t wrote: Created attachment 361234 systemd journal excerpt including backtrace I have a physical KVM switch that "unplugs" the monitor when switching devices (generally desired behavior for me). After upgrading mutter (3.24.4-1 -> 3.26.1-1) as packaged with ArchLinux, the following assertion is hit when switching screens on a machine that has only the KVM connected: mutter:ERROR:backends/meta-monitor- manager.c:2267:meta_monitor_manager_get_logical_monitor_from_number: assertion failed: ((unsigned int) number < g_list_length (manager->logical_monitors)) A full excerpt from the systemd journal including a coredump is attached. As a result, my Gnome session dies everytime I switch screens. The assertion is not hit on a laptop (with an internal screen) that is connected to the same KVM. Based on the assertion's text, this seems logical as it likely only hits when the only screen is "unplugged". Thank you for your time on working on OpenSource software! Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/0 On 2017-10-10T10:27:57+00:00 Jan Steffens wrote: Probably a duplicate of bug 788607. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/1 On 2017-10-11T06:00:02+00:00 Daniël de Kok wrote: I hit the same assertion when I switch my screen off/on (Dell P2415Q HiDPI, NVIDIA Quadro 2000 using Nouveau, on Wayland). I have applied the diff of commit 6eb7d13 referenced in bug 788607. Unfortunately, this did not resolve the problem. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/2 On 2017-10-11T06:00:54+00:00 Daniël de Kok wrote: Created attachment 361300 Backtrace Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/3 On 2017-10-12T20:38:05+00:00 Gw-t wrote: Tbe problem persists with the following ArchLinux packages: gnome-shell 3.26.1+3+g43ec5280b-1 mutter 3.26.1+7+g41f7a5fdf-1 Based on the git commit in the package versions, I'd assume the fixes from bug 788607 would be included. However, one overlap I have identified with the comments from bug 788607 is that there is no problem when there are no open windows. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/4 On 2017-10-12T20:55:22+00:00 Gw-t wrote: Created attachment 361462 libmutter.so null pointer dereference backtrace and regs Null pointer dereference that still occurs with the folliwng packages on ArchLinux: gnome-shell 3.26.1+3+g43ec5280b-1 mutter 3.26.1+7+g41f7a5fdf-1 Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/5 On 2017-10-13T03:58:00+00:00 Jonas Ådahl wrote: The trace looks strikingly similar indeed, but where from in Javascript it came from is harder to determine. Any way you can attach a gdb to the process and reproduce? Then when you hit the assert, run: print gjs_dumpstack() and paste what is printed to stdout/stderr. (note that it might end up in the journal). Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/6 On 2017-10-13T10:01:28+00:00 Gw-t wrote: Created attachment 361499 gdb log with JS backtrace I've added a SIGSEGV catchpoint to invoke gjs_dumpstack(), but the JS stacktrace is empty (also note that there is no JS calls in the GDB stacktrace for the null ptr dereference). Oct 13 11:57:43 hostname org.gnome.Shell.desktop[5852]: == Stack trace for context 0x55c289d52000 == Oct 13 11:57:43 hostname org.gnome.Shell.desktop[5852]: (EE) Oct 13 11:57:43 hostname org.gnome.Shell.desktop[5852]: Fatal server error: Oct 13 11:57:43 hostname org.gnome.Shell.desktop[5852]: (EE) failed to read Wayland events: Broken pipe Oct 13 11:57:43 hostname org.gnome.Shell.desktop[5852]: (EE) Oct 13 11:58:25 hostname org.gnome.Shell.desktop[6236]: glamor: EGL version 1.4 (DRI2): Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1734044/comments/7
[Desktop-packages] [Bug 1734044] Re: 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 (
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= 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1734044] Re: 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 (
Original submitter of bug replying. I don't see this crash in 18.10 for a while now. I'd be okay to close it. -- 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: Fix Released Status in gnome-shell package in Ubuntu: Incomplete 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= 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1734044] Re: 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 (
Is anything happening on this issue? It's been a while ... -- 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: Fix Released Status in gnome-shell package in Ubuntu: Incomplete 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= 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1734044] Re: 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 (
** Tags removed: artful ** Tags added: bionic -- 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: Fix Released Status in gnome-shell package in Ubuntu: Incomplete 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= 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1734044] Re: 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 (
This bug was reported for Ubuntu Desktop 17.10. I would like to add that the problem when disconnecting the only monitor also occurs when using Ubuntu Desktop 18.04 LTS (latest updates Jul19,2018). gnome-shell will not always crash but the desktop becomes unusable when using x11vnc. The new report#1782573 is already marked as a duplicate. https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1782573 https://www.dropbox.com/s/a8jjnw14uhtibzk/ubuntu1804-x11vnc- disconnected-monitor-fatal.mp4?dl=0 -- 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: Fix Released Status in gnome-shell package in Ubuntu: Incomplete 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= 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1734044] Re: 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 (
Also sounds like bug 1717170, which might have been closed too early. ** Summary changed: - gnome-shell crashes when monitor turned off or switch kvm + 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] -- 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: Fix Released Status in gnome-shell package in Ubuntu: Incomplete 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= 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp