FS#24392 - [libgnome-keyring] nm-connection-editor crashes

Attached to Project: Arch Linux
Opened by jesusjimenez (jesusjimenez) - Sunday, 22 May 2011, 20:26 GMT
Last edited by Ionut Biru (wonder) - Monday, 23 May 2011, 18:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

I'm having an issue with this package version - p.e. it's impossible to edit connection in nm-connection-editor, because I get backtrace with lots of debugging symbols after entering root password...

Downgrading to 3.0.1 solves this issue.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 23 May 2011, 18:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  libgnome-keyring 3.0.2-2
Comment by jesusjimenez (jesusjimenez) - Sunday, 22 May 2011, 20:27 GMT
oops... I'm having this issue in package version 3.0.2
Comment by Ionut Biru (wonder) - Sunday, 22 May 2011, 20:28 GMT
provide logs
Comment by Jan Alexander Steffens (heftig) - Sunday, 22 May 2011, 20:32 GMT
Works for me.
Comment by pete (drg006) - Sunday, 22 May 2011, 21:19 GMT
I also had to downgrade to 3.0.1. With 3.0.2 network manager (Gnome 3) would segfault whenever I tried selecting a wireless network having a stored password.
Comment by Ionut Biru (wonder) - Sunday, 22 May 2011, 21:26 GMT
so when you guys are going to post logs?
Comment by Ionut Biru (wonder) - Sunday, 22 May 2011, 21:30 GMT
first you need to recompile libgnome-keyring and network-manager-applet with debug and get a proper backtrace.

https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#One_package_settings_only
Comment by Jan Alexander Steffens (heftig) - Sunday, 22 May 2011, 21:31 GMT
Got it to crash.

(nm-connection-editor:22017): Gtk-WARNING **: Unknown property: GtkDialog.has-separator
*** glibc detected *** nm-connection-editor: munmap_chunk(): invalid pointer: 0x00007f4882e4f46a ***
======= Backtrace: =========
/lib/libc.so.6(+0x7342a)[0x7f488d9be42a]
/usr/lib/libgnome-keyring.so.0(gnome_keyring_attribute_list_free+0x37)[0x7f488fc07d17]
/usr/lib/libgnome-keyring.so.0(gnome_keyring_find_itemsv_sync+0xba)[0x7f488fc066ea]
/usr/lib/NetworkManager/libnm-openvpn-properties.so(keyring_helpers_lookup_secret+0x6a)[0x7f4882e4d78a]
/usr/lib/NetworkManager/libnm-openvpn-properties.so(+0x7f7d)[0x7f4882e46f7d]
/usr/lib/NetworkManager/libnm-openvpn-properties.so(fill_vpn_passwords+0xad)[0x7f4882e4735d]
/usr/lib/NetworkManager/libnm-openvpn-properties.so(+0x688d)[0x7f4882e4588d]
nm-connection-editor[0x4258fb]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f488e4271fe]
/usr/lib/libgobject-2.0.so.0(+0x1f08b)[0x7f488e43808b]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x88a)[0x7f488e4417aa]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f488e441952]
nm-connection-editor(ce_page_complete_init+0x130)[0x419190]
nm-connection-editor[0x413981]
/usr/lib/libnm-glib.so.4(+0x1afba)[0x7f488f15efba]
/usr/lib/libnm-glib.so.4(+0x1aa6e)[0x7f488f15ea6e]
/usr/lib/libdbus-1.so.3(+0xc29a)[0x7f488e89029a]
/usr/lib/libdbus-1.so.3(dbus_connection_dispatch+0x9a)[0x7f488e89352a]
/usr/lib/libdbus-glib-1.so.2(+0xad35)[0x7f488ead2d35]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1dd)[0x7f488df6d6cd]
/usr/lib/libglib-2.0.so.0(+0x42ea8)[0x7f488df6dea8]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x16a)[0x7f488df6e4ea]
nm-connection-editor(main+0x4d3)[0x412b43]
/lib/libc.so.6(__libc_start_main+0xed)[0x7f488d96bf6d]
nm-connection-editor[0x412e79]
Comment by Francisco Pina (Stunts) - Sunday, 22 May 2011, 22:38 GMT
Confirming error and workaround.
Attached is backtrace generated according to:
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#One_package_settings_only
Comment by Ionut Biru (wonder) - Monday, 23 May 2011, 07:30 GMT Comment by Jan Alexander Steffens (heftig) - Monday, 23 May 2011, 07:54 GMT
No, problem persists. Same backtrace.
Comment by jesusjimenez (jesusjimenez) - Monday, 23 May 2011, 08:07 GMT
3.0.2-2 - problem persists
Comment by Ionut Biru (wonder) - Monday, 23 May 2011, 08:11 GMT
i really need a gdb trace asap. run gdb nm-connection-editor make it crash and then bt full
Comment by Jan Alexander Steffens (heftig) - Monday, 23 May 2011, 08:17 GMT
#0 0x00007ffff5708705 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007ffff5709b7b in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007ffff57415a3 in ?? () from /lib/libc.so.6
No symbol table info available.
#3 0x00007ffff574742a in ?? () from /lib/libc.so.6
No symbol table info available.
#4 0x00007ffff7992f1e in gnome_keyring_attribute_list_free (attributes=0x100b460) at gnome-keyring-utils.c:317
array = 0xcfc600
i = 0
#5 0x00007ffff798e6de in gnome_keyring_find_itemsv_sync (type=GNOME_KEYRING_ITEM_GENERIC_SECRET, found=0x7fffffffd228) at gnome-keyring.c:2523
attributes = 0x100b460
args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffffffd220, reg_save_area = 0x7fffffffd130}}
ret = GNOME_KEYRING_RESULT_NO_MATCH
__PRETTY_FUNCTION__ = "gnome_keyring_find_itemsv_sync"
#6 0x00007fffeabd678a in keyring_helpers_lookup_secret () from /usr/lib/NetworkManager/libnm-openvpn-properties.so
No symbol table info available.
#7 0x00007fffeabcff7d in ?? () from /usr/lib/NetworkManager/libnm-openvpn-properties.so
No symbol table info available.
#8 0x00007fffeabd035d in fill_vpn_passwords () from /usr/lib/NetworkManager/libnm-openvpn-properties.so
No symbol table info available.
#9 0x00007fffeabce88d in ?? () from /usr/lib/NetworkManager/libnm-openvpn-properties.so
No symbol table info available.
#10 0x00000000004258fb in ?? ()
No symbol table info available.
#11 0x00007ffff61b01fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x00007ffff61c108b in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x00007ffff61ca7aa in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0x00007ffff61ca952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0x000000000041916a in ce_page_complete_init ()
No symbol table info available.
#16 0x0000000000413981 in _start ()
No symbol table info available.
Comment by jesusjimenez (jesusjimenez) - Monday, 23 May 2011, 09:47 GMT
libgnome-keyring 3.0.2, network-manager-applet 0.8.999-1
Comment by Ionut Biru (wonder) - Monday, 23 May 2011, 10:26 GMT Comment by Francisco Pina (Stunts) - Monday, 23 May 2011, 10:32 GMT
libgnome-keyring-3.0.2-1 and network-manager-applet 0.8.999-1 compiled with (!strip) gdb output attached.
Comment by Francisco Pina (Stunts) - Monday, 23 May 2011, 10:40 GMT
It's working fine here using your new package (libgnome-keyring-3.0.2-3).
I have these errors when trying to create a new VPN connection, but I don't think they are relevant...

(nm-connection-editor:8122): Gtk-WARNING **: Unknown property: GtkDialog.has-separator

** (nm-connection-editor:8122): WARNING **: Invalid setting VPN: gateway

** (nm-connection-editor:8122): WARNING **: Invalid setting VPN: gateway

** (nm-connection-editor:8122): WARNING **: Invalid setting VPN: gateway

Thank you for your hard work!
Comment by jesusjimenez (jesusjimenez) - Monday, 23 May 2011, 11:10 GMT
3.0.2-3 works fine except the same Gtk-WARNING as above.
Comment by Ionut Biru (wonder) - Monday, 23 May 2011, 13:41 GMT
i just pushed libgnome-keyring-3.0.2-2. please delete the older packages from cache and do pacman -Syu libgnome-keyring
Comment by Wendell Smith (wendell) - Monday, 23 May 2011, 14:03 GMT
The upgrade to libgnome-keyring-3.0.2-2 solved it for me, thanks! That was some impressive turnaround time... less than a day from opened to fixed!

And sorry about the duplicate... As the saying goes, "I looked but I did not find" ... oops.

Loading...