Crash in g_socket_client_enumerator_callback when proxy resolving
Affected version
Arch Linux, X11
$ gnome-shell --version
GNOME Shell 41.3
Bug summary
IPv6 configured within gsettings, causes gnome shell to crash
Steps to reproduce
$ gsettings set org.gnome.system.proxy.https host 'fc99::1'
What happened
I have a IPv6 HTTPS proxy defined within NetworkManager, this proxy works for other applications e.g. Chromium. After a period of time Gnome however crashes with this proxy config. Also subsequent gnome sessions crash immediately at login.
Crash logs whilst already logged in
Feb 09 12:34:21 ArchLinux gnome-shell[673114]: **
Feb 09 12:34:21 ArchLinux gnome-shell[673114]: GLib-GIO:ERROR:../glib/gio/gsocketclient.c:1938:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Feb 09 12:34:21 ArchLinux gnome-shell[673114]: Bail out! GLib-GIO:ERROR:../glib/gio/gsocketclient.c:1938:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Feb 09 12:34:21 ArchLinux gnome-shell[673114]: == Stack trace for context 0x55bf3a228190 ==
Feb 09 12:34:22 ArchLinux systemd-coredump[673173]: Process 673114 (gnome-shell) of user 1000 dumped core.
Module libgiognomeproxy.so with build-id 4310e8ddef22af3d8cba800e0901bfbafe5f76fd
Module libgnome-bluetooth.so.13 with build-id f047cec315438bb7f38e51f7d9925d391f8a4697
Module libgnome-desktop-3.so.19 with build-id 1e1070e9acfb96ee171cb8de0996b4eba36bbb72
Module libgnome-shell-menu.so with build-id 3ed9d8e069277a2c85044d8d3c4c402621b78ded
Module libgnome-shell.so with build-id eb885b77763812e42bacaeb25fa9da3baeb6f42b
Module gnome-shell with build-id aabc34834a6c18777f7fa603a99b2b25b2467901
gnome-shell#1 (closed) 0x000055bf37e7db19 n/a (gnome-shell + 0x2b19)
gnome-shell#17 (closed) 0x000055bf37e7d475 n/a (gnome-shell + 0x2475)
gnome-shell#19 (closed) 0x000055bf37e7d73e n/a (gnome-shell + 0x273e)
Feb 09 12:34:22 ArchLinux gnome-session-binary[1804]: GnomeDesktop-WARNING: Failed to acquire idle monitor proxy: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Feb 09 12:34:22 ArchLinux gnome-session[1804]: gnome-session-binary[1804]: GnomeDesktop-WARNING: Failed to acquire idle monitor proxy: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Main process exited, code=dumped, status=6/ABRT
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Failed with result 'core-dump'.
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Consumed 2.878s CPU time.
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 4.
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Consumed 2.878s CPU time.
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Start request repeated too quickly.
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Failed with result 'core-dump'.
Feb 09 12:34:22 ArchLinux systemd[1748]: org.gnome.Shell@x11.service: Triggering OnFailure= dependencies.
Feb 09 13:42:00 ArchLinux systemd[1748]: Stopped target GNOME X11 Session (session: gnome).
Feb 09 13:42:00 ArchLinux systemd[1748]: Stopped target GNOME Session (session: gnome)
Gnome restarts, the following logs appear after a subsequent relogin
Feb 09 13:43:23 ArchLinux systemd[675101]: Started Application launched by gnome-session-binary.
Feb 09 13:43:23 ArchLinux systemd[675101]: Started Application launched by gnome-session-binary.
Feb 09 13:43:23 ArchLinux gnome-session[675236]: gnome-session-binary[675236]: GnomeDesktop-WARNING: Could not create transient scope for PID 675542: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 675542 does not exist.
Feb 09 13:43:23 ArchLinux gnome-session-binary[675236]: GnomeDesktop-WARNING: Could not create transient scope for PID 675542: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 675542 does not exist.
Feb 09 13:43:23 ArchLinux dbus-daemon[675203]: [session uid=1000 pid=675203] Activating service name='org.gnome.ScreenSaver' requested by ':1.60' (uid=1000 pid=675506 comm="/usr/lib/gsd-usb-protection ")
Feb 09 13:43:23 ArchLinux audit[675253]: ANOM_ABEND auid=1000 uid=1000 gid=100 ses=18 pid=675253 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=6 res=1
Feb 09 13:43:23 ArchLinux gnome-shell[675253]: Invalid proxy URI 'http://fc99::1:3128': Invalid URI ‘http://fc99::1:3128’
Feb 09 13:43:23 ArchLinux gnome-shell[675253]: **
Feb 09 13:43:23 ArchLinux gnome-shell[675253]: GLib-GIO:ERROR:../glib/gio/gsocketclient.c:1938:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Feb 09 13:43:23 ArchLinux gnome-shell[675253]: Bail out! GLib-GIO:ERROR:../glib/gio/gsocketclient.c:1938:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Feb 09 13:43:23 ArchLinux gnome-shell[675253]: == Stack trace for context 0x5591cfe61220 ==
Module libgiognomeproxy.so with build-id 4310e8ddef22af3d8cba800e0901bfbafe5f76fd
Module libsoup-gnome-2.4.so.1 with build-id fe893a20dfe7288ef464ffb27cf32abe9af778b5
Feb 09 13:43:23 ArchLinux dbus-daemon[675203]: [session uid=1000 pid=675203] Activating service name='org.gnome.Shell.Screencast' requested by ':1.58' (uid=1000 pid=675494 comm="/usr/lib/gsd-media-keys ")
Feb 09 13:43:23 ArchLinux dbus-daemon[675395]: Error setting property 'ChatDisabled' on interface org.gnome.OnlineAccounts.Account: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.32 was not provided by any .service files (g-dbus-error-quark, 2)
Feb 09 13:43:23 ArchLinux dbus-daemon[675203]: [session uid=1000 pid=675203] Successfully activated service 'org.gnome.ScreenSaver'
Feb 09 13:43:24 ArchLinux gnome-session[675236]: gnome-session-binary[675236]: WARNING: Could not retrieve current screensaver active state: Timeout was reached
Feb 09 13:43:24 ArchLinux gnome-session-binary[675236]: WARNING: Could not retrieve current screensaver active state: Timeout was reached
Feb 09 13:43:25 ArchLinux systemd-coredump[675644]: Process 675253 (gnome-shell) of user 1000 dumped core.
Module libgiognomeproxy.so with build-id 4310e8ddef22af3d8cba800e0901bfbafe5f76fd
Module libgnome-bluetooth.so.13 with build-id f047cec315438bb7f38e51f7d9925d391f8a4697
Module libgnome-desktop-3.so.19 with build-id 1e1070e9acfb96ee171cb8de0996b4eba36bbb72
Module libgnome-shell-menu.so with build-id 3ed9d8e069277a2c85044d8d3c4c402621b78ded
Module libgnome-shell.so with build-id eb885b77763812e42bacaeb25fa9da3baeb6f42b
Module gnome-shell with build-id aabc34834a6c18777f7fa603a99b2b25b2467901
gnome-shell#1 (closed) 0x00005591ceb1eb19 n/a (gnome-shell + 0x2b19)
gnome-shell#17 (closed) 0x00005591ceb1e475 n/a (gnome-shell + 0x2475)
gnome-shell#19 (closed) 0x00005591ceb1e73e n/a (gnome-shell + 0x273e)
Feb 09 13:43:25 ArchLinux gnome-session[675236]: gnome-session-binary[675236]: GnomeDesktop-WARNING: Failed to acquire idle monitor proxy: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Feb 09 13:43:25 ArchLinux gnome-session-binary[675236]: GnomeDesktop-WARNING: Failed to acquire idle monitor proxy: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Feb 09 13:43:25 ArchLinux systemd[675101]: org.gnome.Shell@x11.service: Main process exited, code=dumped, status=6/ABRT
Feb 09 13:43:25 ArchLinux systemd[675101]: org.gnome.Shell@x11.service: Failed with result 'core-dump'.
Feb 09 13:43:25 ArchLinux systemd[675101]: org.gnome.Shell@x11.service: Consumed 3.828s CPU time.
Feb 09 13:43:25 ArchLinux systemd[675101]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 1.
Feb 09 13:43:25 ArchLinux systemd[675101]: org.gnome.Shell@x11.service: Consumed 3.828s CPU time
The only fix is to switch virtual consoles and wipe the proxy setting which then allow the login to proceed without a crash.
$ gsettings set org.gnome.system.proxy.https host ''
s