extension-manager crashes when browsing behind a proxy

Bug #1970483 reported by jorge
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 22.04 freshly installed.

Proxy configured in Settings GUI, /etc/profile and /etc/apt/apt.conf . Browsing the web, installing software and stuff like that all works.

When I run extension manager it loads, but as soon as I hit the browse button it crashes immediately with the following output.

```
$ extension-manager

(extension-manager:17154): GLib-GIO-WARNING **: 17:41:17.971: Invalid proxy URI 'proxy.inst.edu.uy:3128': Invalid URI ‘proxy.inst.edu.uy:3128’
**
GLib-GIO:ERROR:../../../gio/gsocketclient.c:1982:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Bail out! GLib-GIO:ERROR:../../../gio/gsocketclient.c:1982:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Aborted (core dumped)
```

The proxy look like (real url redacted):
```
$ echo $https_proxy
proxy.inst.edu.uy:3128
```

If I replace the proxy with its IP adress (IP redacted), the crash changes:

```
$ export https_proxy=10.10.10.10:3128
$ extension-manager
**
GLib-GIO:ERROR:../../../gio/gsocketclient.c:1982:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Bail out! GLib-GIO:ERROR:../../../gio/gsocketclient.c:1982:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Aborted (core dumped)
```

jorge (xxopxe)
description: updated
description: updated
description: updated
Revision history for this message
jorge (xxopxe) wrote :

Trying to print from gedit or evince causes the same crash.

Revision history for this message
Sacc.leo (gaelon) wrote :

i have met the same issue and got this error:

10666 segmentation fault (core dumped) extension-manager

If the proxy is unset, all works fine.

Revision history for this message
jorge (xxopxe) wrote :

gnome-software also crashes:

$ gnome-software
19:38:54:0941 GLib-GIO Invalid proxy URI 'proxy.inst.edu.uy:3128': Invalid URI ‘proxy.inst.edu.uy:3128’
**
GLib-GIO:ERROR:../../../gio/gsocketclient.c:1982:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Bail out! GLib-GIO:ERROR:../../../gio/gsocketclient.c:1982:g_socket_client_enumerator_callback: assertion failed: (data->error_info->best_error)
Aborted (core dumped)

Revision history for this message
jorge (xxopxe) wrote :

Ok, I got it to work prepending "http://" to the proxy definition:

export http_proxy='http://proxy.inst.edu.uy:3128'
export https_proxy='http://proxy.inst.edu.uy:3128'

This is the first time I have to do that. Is this supposed to be this way?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-manager (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.