nm-connection-editor crashes when trying to modify connection without gnome-keyring installed
Bug #1806269 reported by
TJ
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Manager Applet |
Fix Released
|
Medium
|
|||
network-manager-applet (Debian) |
Fix Released
|
Unknown
|
|||
network-manager-applet (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
* Impact
the connection editor segfault when using without gnome-keyring
* Test case
uninstall gnome-keyring and try to edit a connection, it shouldn't segfault
* Regression potential
the fix changes an error handling case, it shouldn't impact normal use
-------
Thread 1 "nm-connection-e" received signal SIGSEGV, Segmentation fault.
0x00007ffff7ba6b53 in modules_initialized (object=<optimised out>, res=0x555556048a40, user_data=
98 src/libnma/
This occurs when the package "gnome-keyring" is not installed.
Changed in network-manager-applet (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in network-manager-applet: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
summary: |
- nm-connection-editor crashes when trying to modify connection + nm-connection-editor crashes when trying to modify connection without + gnome-keyring installed |
Changed in network-manager-applet (Ubuntu): | |
status: | Confirmed → Fix Released |
description: | updated |
Changed in network-manager-applet (Ubuntu Bionic): | |
importance: | Undecided → Medium |
tags: | removed: verification-needed |
Changed in network-manager-applet (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Steps to reproduce on my system: editor'
- Run 'nm-connection-
- Select any network (in my case, a home WLAN for which the computer
doesn't have the password yet; but *all other* networks are also affected)
- Click the 'Edit' button
Expected behavior: Not sure how, but it should open the configuration
dialog eventually.
Actual behavior: Segfault in src/libnma/ nma-cert- chooser- button. c:95
Relevant part of gdb's output:
#0 0xb76b121e in modules_initialized (object=0x0, res=0x8104d8e0, data=0x81058178 ) at src/libnma/ nma-cert- chooser- button. c:95 Button]
user_ data2 = 0x1, user_data3 = 0x80f8af20}
user_
self = 0x81058178 [NMACertChooser
error = 0x0
modules = 0x0
iter = {stamp = -2134551640, user_data = 0x80c553c8,
And line 95 is:
93 if (!modules) {
error- >message) ;
94 /* The Front Fell Off. */
95 g_critical ("Error getting registered modules: %s",
96 g_error_free (error);
97 }
It tries to access the 'message' field of 'error', which is null.
So there is a soft-error (no modules found), which is then handled badly at
some point ('error' ends up being null-but-accessed).
'error' probably should be written by initialize_ registered_ finish' ,
'gck_modules_
and I have no idea why it doesn't.
Not sure if the problem is with gck or with libnma's usage of it.
Assuming it's libnma's fault, is this the right place to report bugs?
Can someone look into it and maybe even fix it?
Cheers, /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 865013# 41
Ben
PS: Already report downstream in the Debian BTS as https:/