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]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Fix Released
|
Medium
|
|||
gnome-shell (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
Nov 10 17:34:31 ubox gnome-shell[1235]: meta_workspace_
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.1-0ubuntu5
ProcVersionSign
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gnome-shell: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
tags: |
added: bionic removed: artful |
Changed in gnome-shell: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
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!