Crash at wake up wih external monitor

I have been using Gnome shell in Manjaro for about one year and last December a problem appeared. Present version is 45.3.

After suspension, Gnome forces me to log out twice.

When it happens, external monitor is always connected.

When external monitor is connected, it does not always happen. (Maybe depending on how long suspension was.)

Today the case worsened: the Gnome extension Dash to Dock ceased to work, I tried to reinstall it, at no avail, and I bailed out using my backup.

I have no swap memory.

I can’t sign up to Issues · GNOME / gnome-shell · GitLab because my email address it not allowed.

Any hints are welcome to kill this bug.

What do you mean by forces you to log out twice?

When I log in, the desktop is frozen, a Logout button appears and all I can do is to press this button. Then I log in again, and the same problem appears again. The third attempt succeeds.

Maybe some extension was causing gnome-shell to crash and for the first crash the session was running long enough to not trigger disabling all extensions, but then the second session crashed early enough to trigger it. Now all extensions are disabled until you manually enable them again via the extensions app, but chances are that this would trigger the crash again.

Also when locking the screen extensions get disabled and get enabled again when unlocking, so this could also be triggered on wake up.

Why would this occur only when external monitor is connected?

Impossible to guess without further information. I would suggest to check the logs.

I have disabled all Gnome extensions. I have not seen anything today. It will take time to know if it suffices.

Indeed I have already posted a relevant log there:

Therein something related to monitor:

meta_monitor_manager_get_monitor_for_connect

Googling for this:

https://bugzilla.redhat.com/show_bug.cgi?id=2255486

I enabled a display in settings that I had previously disabled.

Related to the fact that I have no problem if external monitor is off.

I could find out the log from yesterday:

Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Queued start job for default target Main User >
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Created slice User Application Slice.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Reached target Paths.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Reached target Timers.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Starting D-Bus User Message Bus Socket...
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GnuPG network certificate managem>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GCR ssh-agent wrapper.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GNOME Keyring daemon.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GnuPG cryptographic agent and pas>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GnuPG cryptographic agent and pas>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GnuPG cryptographic agent (ssh-ag>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GnuPG cryptographic agent and pas>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on GnuPG public key management servi>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on p11-kit server.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on PipeWire Multimedia System Socket>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on Sound System.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Listening on D-Bus User Message Bus Socket.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Reached target Sockets.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Reached target Basic System.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Starting Update XDG user dir configuration...
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Started GNOME Keyring daemon.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Finished Update XDG user dir configuration.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Reached target Main User Target.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Startup finished in 282ms.
Feb 08 19:06:56 mac2011-manjaro gnome-keyring-daemon[1198]: GNOME_KEYRING_CONTROL=/run/user/1>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Created slice User Core Session Slice.
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Starting D-Bus User Message Bus...
Feb 08 19:06:56 mac2011-manjaro dbus-broker-launch[1207]: Policy to allow eavesdropping in /u>
Feb 08 19:06:56 mac2011-manjaro systemd[1185]: Started D-Bus User Message Bus.
Feb 08 19:06:56 mac2011-manjaro dbus-broker-launch[1207]: Policy to allow eavesdropping in /u>
Feb 08 19:06:56 mac2011-manjaro dbus-broker-launch[1207]: Ready
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: _XSERVTransSocketUNIXCreateList>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: _XSERVTransMakeAllCOTSServerLis>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (--) Log file renamed from "/ho>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: X.Org X Server 1.21.1.10
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: X Protocol Version 11, Revision>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: Current Operating System: Linux>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: Kernel command line: BOOT_IMAGE>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]:  
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: Current version of pixman: 0.43>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]:         Before reporting proble>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]:         to make sure that you h>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: Markers: (--) probed, (**) from>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]:         (++) from command line,>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]:         (WW) warning, (EE) erro>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Log file: "/home/alba/.loc>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Using config directory: "/>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Using system config direct>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) No Layout section.  Using >
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) No screen section availabl>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (**) |-->Screen "Default Screen>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (**) |   |-->Monitor "<default >
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) No monitor specified for s>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]:         Using a default monitor>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Automatically adding devic>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Automatically enabling dev>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Automatically adding GPU d>
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Automatically binding GPU >
Feb 08 19:06:57 mac2011-manjaro /usr/lib/gdm-x-session[1221]: (==) Max clients allowed: 256, >
...skipping...
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: meta_monitor_manager_get_logical_monitor_f>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: meta_workspace_get_work_area_for_monitor: >
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:17 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro google-chrome.desktop[1529]: [1496:1496:0208/201418.372034:ER>
Feb 08 20:14:18 mac2011-manjaro google-chrome.desktop[1529]: [1496:1496:0208/201418.378308:ER>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Can't update stage views actor <unnamed>[<>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Window manager warning: Overwriting existi>
Feb 08 20:14:18 mac2011-manjaro gnome-shell[1313]: Window manager warning: Overwriting existi>

First error lines:

meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed

Google leads to

The later points out the “Ubuntu Dock extension”.

I remember that in December I had problems with the Gnome extension Dash to Dock: for some time, it was marked oudated, so I tried similar extensions, Dash to Panel, Dock from Dash.

Also yesterday, Dock to Dash was broken in the event, for the first time, a destructive effect.

Now what is the relation between Dock and external monitor? Maybe the handling of different workspaces.

Having seen no problem with all Gnome extensions disabled, I have tried to reenable all extensions and I had the black forced Logout again immediately (not after suspend and wake).

With only Dock to Dash enabled, I see the bug again.

With an HDMI TV as external monitor I do not see the bug.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.