Comment 0 for bug 1826797

Revision history for this message
Daniel van Vugt (vanvugt) wrote : [regression] gnome-shell crashes on boot if the monitor is turned off ["JS ERROR: TypeError: monitor is null" from _updateContentScale@resource:///org/gnome/shell/ui/magnifier.js:174:9]

gnome-shell crashes on boot if the monitor is turned off. This leaves me with just a black screen and flashing cursor when I turn the monitor on.

Apr 29 09:31:02 kab gnome-shell[995]: JS ERROR: TypeError: monitor is null
                                      _updateContentScale@resource:///org/gnome/shell/ui/magnifier.js:174:9
                                      Magnifier@resource:///org/gnome/shell/ui/magnifier.js:160:9
                                      _initializeUI@resource:///org/gnome/shell/ui/main.js:170:17
                                      start@resource:///org/gnome/shell/ui/main.js:127:5
                                      @<main>:1:31
Apr 29 09:31:02 kab gnome-shell[995]: Execution of main.js threw exception: Script <main> threw an exception
Apr 29 09:31:02 kab org.gnome.Shell.desktop[995]: (EE) failed to read Wayland events: Connection reset by peer
Apr 29 09:31:03 kab gnome-shell[1076]: JS ERROR: TypeError: monitor is null
                                       _updateContentScale@resource:///org/gnome/shell/ui/magnifier.js:174:9
                                       Magnifier@resource:///org/gnome/shell/ui/magnifier.js:160:9
                                       _initializeUI@resource:///org/gnome/shell/ui/main.js:170:17
                                       start@resource:///org/gnome/shell/ui/main.js:127:5
                                       @<main>:1:31
Apr 29 09:31:03 kab gnome-shell[1076]: Execution of main.js threw exception: Script <main> threw an exception
Apr 29 09:31:03 kab gnome-shell[1094]: JS ERROR: TypeError: monitor is null
                                       _updateContentScale@resource:///org/gnome/shell/ui/magnifier.js:174:9
                                       Magnifier@resource:///org/gnome/shell/ui/magnifier.js:160:9
                                       _initializeUI@resource:///org/gnome/shell/ui/main.js:170:17
                                       start@resource:///org/gnome/shell/ui/main.js:127:5
                                       @<main>:1:31
Apr 29 09:31:03 kab gnome-shell[1094]: Execution of main.js threw exception: Script <main> threw an exception

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-shell 3.32.0+git20190410-1ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-14.15-generic 5.0.6
Uname: Linux 5.0.0-14-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
Date: Mon Apr 29 09:33:16 2019
DisplayManager: gdm3
InstallationDate: Installed on 2018-12-04 (145 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20181203)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)