I've built a package containing the fix patch (taken from Debian's
1.8.10-3) and tested to confirm it solves the issue when gnome-keyring
is NOT installed.

$ apt list --installed network-manager-gnome gnome-keyring
Listing... Done
network-manager-gnome/bionic-updates,now 1.8.10-2ubuntu2 amd64 [installed]

$ nm-connection-editor

(nm-connection-editor:4086): GLib-GIO-CRITICAL **: 15:48:24.298: 
g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Segmentation fault (core dumped)

$ sudo dpkg -i ../libnm-gtk0_1.8.10-2ubuntu3_amd64.deb ../libn
ma0_1.8.10-2ubuntu3_amd64.deb ../gir1.2-nm*.deb 
../network-manager-gnome_1.8.10-2ubuntu3_amd64.deb

...

$ nm-connection-editor
                                                                                
                             
(nm-connection-editor:2009): GLib-GIO-CRITICAL **: 15:43:26.561: 
g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

And the GUI editor opened on the connection.

The built package can be found at:

https://launchpad.net/~tj/+archive/ubuntu/bugfixes


** Patch added: "Debdiff containing the patch"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1806269/+attachment/5297364/+files/network-manager-applet_1.8.10-2ubuntu3_source.debdiff

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-applet in Ubuntu.
https://bugs.launchpad.net/bugs/1806269

Title:
  nm-connection-editor crashes when trying to modify connection without
  gnome-keyring installed

Status in Network Manager Applet:
  Fix Released
Status in network-manager-applet package in Ubuntu:
  Fix Released

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=<optimised out>) at 
src/libnma/nma-cert-chooser-button.c:98
  98      src/libnma/nma-cert-chooser-button.c: No such file or directory.

  This occurs when the package "gnome-keyring" is not installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-applet/+bug/1806269/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to