Switching users causes gnome-shell to crash
This happens on latest, fully updated Fedora 32 and did not happen on Fedora 31. On a system with multiple user accounts, when logging in to one user account, then clicking "Switch User" and logging in to other account, gnome-shell crashes immediately after login on the second user account session and GDM is displayed (however, both users remain logged in). When logging in again to either the first or second user session, gnome-shell does not crash immediately this time, but crashes after a few seconds to few minutes.
In other words, gnome-shell 3.36 on Fedora 32 has serious issues when multiple users are logged in. I have tried this on multiple computers and there was the same issue on all of them.
Affected version
Fedora 32
gnome-shell-3.36.2-2.fc32.x86_64
It happens on both Wayland and Xorg.
Steps to reproduce
- Create two user accounts.
- Login to the first account.
- Click "Switch User".
- Login to the second user account.
What happened
GNOME Shell crashed.
Relevant logs, screenshots, screencasts etc.
Right after the second user got logged in:
May 21 22:16:14 localhost-live kernel: rfkill: input handler disabled
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.12' (uid=42 pid=4002 comm="/usr/libexec/gsd-sharing ">
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live gsd-sharing[4002]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live gsd-sharing[4002]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live gsd-sharing[4002]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live systemd[1]: Started Fingerprint Authentication Daemon.
-- Subject: A start job for unit fprintd.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit fprintd.service has finished successfully.
--
-- The job identifier is 4062.
May 21 22:16:14 localhost-live audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 21 22:16:14 localhost-live gnome-shell[3780]: Getting invalid resource scale property
May 21 22:16:14 localhost-live systemd[1]: Starting Realm and Domain Configuration...
-- Subject: A start job for unit realmd.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit realmd.service has begun execution.
--
-- The job identifier is 4159.
May 21 22:16:14 localhost-live realmd[4130]: Loaded settings from: /usr/lib/realmd/realmd-defaults.conf /usr/lib/realmd/realmd-distro.conf
May 21 22:16:14 localhost-live realmd[4130]: holding daemon: startup
May 21 22:16:14 localhost-live realmd[4130]: starting service
May 21 22:16:14 localhost-live realmd[4130]: connected to bus
May 21 22:16:14 localhost-live realmd[4130]: GLib-GIO: _g_io_module_get_default: Found default implementation local (GLocalVfs) for <E2><80><98>gio-vfs<E2><80><99>
May 21 22:16:14 localhost-live realmd[4130]: released daemon: startup
May 21 22:16:14 localhost-live realmd[4130]: claimed name on bus: org.freedesktop.realmd
May 21 22:16:14 localhost-live systemd[1]: Started Realm and Domain Configuration.
-- Subject: A start job for unit realmd.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit realmd.service has finished successfully.
--
-- The job identifier is 4159.
May 21 22:16:14 localhost-live audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=realmd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 21 22:16:14 localhost-live gnome-shell[3780]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.3' (uid=42 pid=3780 comm="/usr/bin/gnome-shell " labe>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live gnome-shell[3780]: Could not issue 'StartUnit' systemd call
May 21 22:16:14 localhost-live org.gnome.Shell.desktop[4153]: The XKEYBOARD keymap compiler (xkbcomp) reports:
May 21 22:16:14 localhost-live org.gnome.Shell.desktop[4153]: > Warning: Unsupported maximum keycode 569, clipping.
May 21 22:16:14 localhost-live org.gnome.Shell.desktop[4153]: > X11 cannot support keycodes above 255.
May 21 22:16:14 localhost-live org.gnome.Shell.desktop[4153]: > Internal error: Could not resolve keysym Invalid
May 21 22:16:14 localhost-live org.gnome.Shell.desktop[4153]: Errors from xkbcomp are not fatal to the X server
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.portal.IBus' requested by ':1.28' (uid=42 pid=4149 comm="ibus-daemon --panel dis>
May 21 22:16:14 localhost-live cupsd[926]: REQUEST localhost - - "POST / HTTP/1.1" 200 359 Create-Printer-Subscriptions successful-ok
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Successfully activated service 'org.freedesktop.portal.IBus'
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live PackageKit[1323]: uid 1001 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gsd-wacom[4004]: AT-SPI: Could not obtain desktop path or name
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gsd-wacom[4004]: atk-bridge: GetRegisteredEvents returned message with unknown signature
May 21 22:16:14 localhost-live gsd-wacom[4004]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live gsd-wacom[4004]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gnome-shell[3780]: Registering session with GDM
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gsd-color[4006]: AT-SPI: Could not obtain desktop path or name
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gnome-shell[3112]: polkitAuthenticationAgent: Received 2identities that can be used for authentication. Only considering one.
May 21 22:16:14 localhost-live gsd-color[4006]: atk-bridge: GetRegisteredEvents returned message with unknown signature
May 21 22:16:14 localhost-live gsd-color[4006]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live gsd-color[4006]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gsd-power[4082]: AT-SPI: Could not obtain desktop path or name
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gsd-keyboard[4030]: AT-SPI: Could not obtain desktop path or name
May 21 22:16:14 localhost-live gsd-power[4082]: atk-bridge: GetRegisteredEvents returned message with unknown signature
May 21 22:16:14 localhost-live gsd-power[4082]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live gsd-power[4082]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gsd-keyboard[4030]: atk-bridge: GetRegisteredEvents returned message with unknown signature
May 21 22:16:14 localhost-live gsd-keyboard[4030]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live gsd-keyboard[4030]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live gsd-media-keys[4050]: AT-SPI: Could not obtain desktop path or name
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activating service name='org.freedesktop.systemd1' requested by ':1.6' (uid=42 pid=3866 comm="/usr/bin/dbus-broker-launch>
May 21 22:16:14 localhost-live spice-vdagent[4271]: vdagent started
May 21 22:16:14 localhost-live spice-vdagent[4271]: No guest output map, using output index as display id
May 21 22:16:14 localhost-live /usr/libexec/gdm-wayland-session[3737]: dbus-daemon[3737]: [session uid=42 pid=3737] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
May 21 22:16:14 localhost-live dbus-broker-launch[3866]: Activation request for 'org.a11y.atspi.Registry' failed.
May 21 22:16:14 localhost-live gsd-media-keys[4050]: atk-bridge: GetRegisteredEvents returned message with unknown signature
May 21 22:16:14 localhost-live gsd-media-keys[4050]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live gsd-media-keys[4050]: atk-bridge: get_device_events_reply: unknown signature
May 21 22:16:14 localhost-live gsd-media-keys[4050]: Failed to grab accelerator for keybinding settings:hibernate
May 21 22:16:14 localhost-live gsd-media-keys[4050]: Failed to grab accelerator for keybinding settings:rfkill
May 21 22:16:14 localhost-live gsd-media-keys[4050]: Failed to grab accelerator for keybinding settings:playback-repeat
May 21 22:16:14 localhost-live gsd-media-keys[4050]: Failed to grab accelerator for keybinding settings:playback-random
May 21 22:16:15 localhost-live spice-vdagent[4271]: warning could not get file xfer save dir, file transfers will be disabled
May 21 22:16:15 localhost-live spice-vdagent[4271]: File transfer is disabled
May 21 22:16:15 localhost-live spice-vdagent[4271]: Received Graphics Device Info:
May 21 22:16:15 localhost-live spice-vdagent[4271]: Device /dev/dri/card0 is at /sys/devices/pci0000:00/0000:00:01.0/virtio0/drm/card0
May 21 22:16:15 localhost-live spice-vdagent[4271]: Found card '/sys/devices/pci0000:00/0000:00:01.0/virtio0/drm/card0' with Vendor ID 0x10, Device ID 0x1af4
May 21 22:16:15 localhost-live kernel: input: spice vdagent tablet as /devices/virtual/input/input11
May 21 22:16:15 localhost-live spice-vdagent[4271]: Couldn't find an XRandr output for the specified device
May 21 22:16:15 localhost-live spice-vdagent[4271]: channel_id: 0 monitor_id: 0 device_address: pci/0000/01.0, device_display_id: 0 xrandr output ID NOT FOUND
May 21 22:16:15 localhost-live gnome-session-binary[3741]: Entering running state
May 21 22:16:15 localhost-live spice-vdagent[4271]: No guest output map, using output index as display id
May 21 22:16:15 localhost-live spice-vdagentd[1626]: opening vdagent virtio channel
May 21 22:16:15 localhost-live spice-vdagent[4271]: Received Graphics Device Info:
May 21 22:16:15 localhost-live spice-vdagentd[1626]: Set max clipboard: 104857600
May 21 22:16:15 localhost-live spice-vdagent[4271]: Device /dev/dri/card0 is at /sys/devices/pci0000:00/0000:00:01.0/virtio0/drm/card0
May 21 22:16:15 localhost-live spice-vdagent[4271]: Found card '/sys/devices/pci0000:00/0000:00:01.0/virtio0/drm/card0' with Vendor ID 0x10, Device ID 0x1af4
May 21 22:16:15 localhost-live spice-vdagentd[1626]: Set max clipboard: 104857600
May 21 22:16:15 localhost-live spice-vdagent[4271]: Couldn't find an XRandr output for the specified device
May 21 22:16:15 localhost-live spice-vdagent[4271]: channel_id: 0 monitor_id: 0 device_address: pci/0000/01.0, device_display_id: 0 xrandr output ID NOT FOUND
May 21 22:16:15 localhost-live spice-vdagent[4271]: No guest output map, using output index as display id
May 21 22:16:15 localhost-live spice-vdagent[4271]: Received Graphics Device Info:
May 21 22:16:15 localhost-live spice-vdagent[4271]: Device /dev/dri/card0 is at /sys/devices/pci0000:00/0000:00:01.0/virtio0/drm/card0
May 21 22:16:15 localhost-live spice-vdagent[4271]: Found card '/sys/devices/pci0000:00/0000:00:01.0/virtio0/drm/card0' with Vendor ID 0x10, Device ID 0x1af4
May 21 22:16:15 localhost-live spice-vdagent[4271]: Couldn't find an XRandr output for the specified device
May 21 22:16:15 localhost-live spice-vdagent[4271]: channel_id: 0 monitor_id: 0 device_address: pci/0000/01.0, device_display_id: 0 xrandr output ID NOT FOUND
May 21 22:16:15 localhost-live spice-vdagent[4271]: No guest output map, using output index as display id
May 21 22:16:15 localhost-live spice-vdagent[4271]: vdagent_audio_playback_sync mute=no nchannels=2
May 21 22:16:15 localhost-live spice-vdagent[4271]: vdagent-audio: (playback-left) 65535 (%99.00)
May 21 22:16:15 localhost-live spice-vdagent[4271]: vdagent-audio: (playback-right) 65535 (%99.00)
May 21 22:16:15 localhost-live spice-vdagent[4271]: vdagent_audio_record_sync mute=yes nchannels=2
May 21 22:16:15 localhost-live spice-vdagent[4271]: vdagent-audio: (capture-left) 0 (%0.00)
May 21 22:16:15 localhost-live spice-vdagent[4271]: vdagent-audio: (capture-right) 0 (%0.00)
May 21 22:16:16 localhost-live PackageKit[1323]: resolve transaction /111_bbebeead from uid 1001 finished with success after 67ms
May 21 22:16:19 localhost-live gnome-shell[3780]: Warning: Failed to start gsd-xsettings
May 21 22:16:19 localhost-live gnome-shell[3780]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 24]: reference to undefined property "MetaWindowXwayland"
May 21 22:16:22 localhost-live systemd[2973]: gnome-launched-tracker-extract.desktop-3677.scope: Succeeded.