[Pkg-utopia-maintainers] Bug#865013: Bug#865013: network-manager-gnome: Consistent segfault when connecting to WPA2 network

Fred Barclay bugsatefred at gmail.com
Sun Jun 18 23:14:17 UTC 2017


Certainly. This is after installing network-manager-gnome-dbgsym,
libnma0-dbgsym, and libgtk-3-0-dbgsym:

$ gdb nm-applet
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nm-applet...Reading symbols from
/usr/lib/debug/.build-id/c3/f8fac51dd63b645e844fd1fefd3ade8fbdb003.debug...done.
done.
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/nm-applet
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffebea6700 (LWP 8391)]
[New Thread 0x7fffeb6a5700 (LWP 8392)]
[New Thread 0x7fffea625700 (LWP 8393)]
[New Thread 0x7fffe9b5a700 (LWP 8394)]

Thread 1 "nm-applet" received signal SIGSEGV, Segmentation fault.
0x00007ffff7ba87a2 in modules_initialized (object=<optimized out>,
res=0x5555563302a0, user_data=<optimized out>) at
src/libnma/nma-cert-chooser-button.c:95
95    src/libnma/nma-cert-chooser-button.c: No such file or directory.
(gdb) Quit
(gdb) bt
#0  0x00007ffff7ba87a2 in modules_initialized (object=<optimized out>,
res=0x5555563302a0, user_data=<optimized out>) at
src/libnma/nma-cert-chooser-button.c:95
#1  0x00007ffff4652d23 in ?? () from /usr/lib/x86_64-linux-gnu/libgck-1.so.0
#2  0x00007ffff465365c in ?? () from /usr/lib/x86_64-linux-gnu/libgck-1.so.0
#3  0x00007ffff540136b in g_type_create_instance () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff53e31fb in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff53e510e in g_object_new_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007ffff53e53b1 in g_object_new () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007ffff7ba90f2 in nma_cert_chooser_button_new
(flags=flags at entry=NMA_CERT_CHOOSER_BUTTON_FLAG_NONE) at
src/libnma/nma-cert-chooser-button.c:444
#8  0x00007ffff7ba9b8e in init (cert_chooser=0x5555557f25d0) at
src/libnma/nma-pkcs11-cert-chooser.c:475
#9  0x00007ffff7ba51c7 in constructor (type=<optimized out>,
n_construct_properties=<optimized out>, construct_properties=<optimized
out>) at src/libnma/nma-cert-chooser.c:635
#10 0x00007ffff53e3029 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff53e510e in g_object_new_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff53e53b1 in g_object_new () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff7ba5bd7 in nma_cert_chooser_new (title=<optimized out>,
flags=<optimized out>) at src/libnma/nma-cert-chooser.c:816
#14 0x00007ffff7baff98 in eap_method_tls_new
(ws_parent=ws_parent at entry=0x5555562fb1d0,
connection=connection at entry=0x555555943240, phase2=phase2 at entry=0,
secrets_only=secrets_only at entry=0) at
src/wireless-security/eap-method-tls.c:434
#15 0x00007ffff7bab130 in ws_802_1x_auth_combo_init
(sec=sec at entry=0x5555562fb1d0,
combo_name=combo_name at entry=0x7ffff7bb9cec "wpa_eap_auth_combo",
combo_label=combo_label at entry=0x7ffff7bb9cff "wpa_eap_auth_label",
auth_combo_changed_cb=auth_combo_changed_cb at entry=0x7ffff7baddc0
<auth_combo_changed_cb>, connection=connection at entry=0x555555943240,
is_editor=is_editor at entry=0, secrets_only=0) at
src/wireless-security/wireless-security.c:433
#16 0x00007ffff7badee5 in ws_wpa_eap_new (connection=0x555555943240,
is_editor=is_editor at entry=0, secrets_only=secrets_only at entry=0) at
src/wireless-security/ws-wpa-eap.c:122
#17 0x00007ffff7b99fc8 in security_combo_init
(self=self at entry=0x5555562d8390, secrets_only=0) at
src/libnma/nma-wifi-dialog.c:987
#18 0x00007ffff7b9b33e in internal_init (self=self at entry=0x5555562d8390,
specific_connection=specific_connection at entry=0x555555943240,
specific_device=specific_device at entry=0x555555a06290,
secrets_only=secrets_only at entry=0) at src/libnma/nma-wifi-dialog.c:1127
#19 0x00007ffff7b9c3ce in nma_wifi_dialog_new (client=<optimized out>,
connection=0x555555943240, device=0x555555a06290, ap=0x555555b326a0,
secrets_only=0) at src/libnma/nma-wifi-dialog.c:1317
#20 0x00005555555753fd in wifi_new_auto_connection
(device=0x555555a06290, dclass_data=<optimized out>,
callback=0x5555555654e0
<applet_menu_item_activate_helper_new_connection>,
callback_data=0x5555562cd790) at src/applet-device-wifi.c:573
#21 0x0000555555568820 in applet_menu_item_activate_helper
(device=0x555555a06290, connection=<optimized out>,
specific_object=0x555556262c50
"/org/freedesktop/NetworkManager/AccessPoint/584",
applet=0x5555557f22c0, dclass_data=0x555555940720) at src/applet.c:527
#22 0x00007ffff53ddf75 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff53eff82 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff53f8bdc in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffff53f8fbf in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff75f2a9e in gtk_widget_activate
(widget=widget at entry=0x5555562a0920) at ././gtk/gtkwidget.c:7757
#27 0x00007ffff74c09d6 in gtk_menu_shell_activate_item
(menu_shell=0x555555bde5a0, menu_item=0x5555562a0920,
force_deactivate=<optimized out>) at ././gtk/gtkmenushell.c:1375
#28 0x00007ffff74c0d0b in gtk_menu_shell_button_release
(widget=0x555555bde5a0, event=<optimized out>) at ././gtk/gtkmenushell.c:791
#29 0x00007ffff74a3cd1 in _gtk_marshal_BOOLEAN__BOXEDv
(closure=0x5555558198f0, return_value=0x7fffffffdd40,
instance=0x555555bde5a0, args=<optimized out>, marshal_data=<optimized
out>, n_params=<optimized out>, param_types=0x5555557b11d0) at
././gtk/gtkmarshalers.c:131
#30 0x00007ffff53de1a4 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff53f83a1 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff53f8fbf in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff75f059c in gtk_widget_event_internal
(widget=0x555555bde5a0, event=0x555555b3cbc0) at ././gtk/gtkwidget.c:7724
#34 0x00007ffff74a0c5e in propagate_event_up (topmost=<optimized out>,
event=<optimized out>, widget=0x555555bde5a0) at ././gtk/gtkmain.c:2578
#35 propagate_event (widget=<optimized out>, event=0x555555b3cbc0,
captured=<optimized out>, topmost=0x0) at ././gtk/gtkmain.c:2680
#36 0x00007ffff74a2d1e in gtk_main_do_event (event=0x555555b3cbc0) at
././gtk/gtkmain.c:1901
#37 0x00007ffff6fb3e15 in _gdk_event_emit
(event=event at entry=0x555555b3cbc0) at ././gdk/gdkevents.c:73
#38 0x00007ffff6fe4ea2 in gdk_event_source_dispatch (source=<optimized
out>, callback=<optimized out>, user_data=<optimized out>) at
././gdk/x11/gdkeventsource.c:367
#39 0x00007ffff51047f7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff5104a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007ffff5104b0c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ffff56c072d in g_application_run () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#43 0x0000555555563e31 in main (argc=<optimized out>, argv=<optimized
out>) at src/main.c:81
(gdb) quit
A debugging session is active.

    Inferior 1 [process 8387] will be killed.

Quit anyway? (y or n) y



After installing libgtk-3-0-dbgsym, it's now freezing in gdb instead of
crashing. I don't know if this is coincidental or not. This is the
backtrace before installing libgtk-3-0-dbgsym, where the network manager
applet completely crashes/vanishes, instead of merely freezing:

$ gdb nm-applet
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nm-applet...Reading symbols from
/usr/lib/debug/.build-id/c3/f8fac51dd63b645e844fd1fefd3ade8fbdb003.debug...done.
done.
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/nm-applet
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffebea6700 (LWP 7631)]
[New Thread 0x7fffeb6a5700 (LWP 7632)]
[New Thread 0x7fffea625700 (LWP 7633)]
[New Thread 0x7fffe9b5a700 (LWP 7634)]

Thread 1 "nm-applet" received signal SIGSEGV, Segmentation fault.
0x00007ffff7ba87a2 in modules_initialized (object=<optimized out>,
res=0x555556335cb0, user_data=<optimized out>) at
src/libnma/nma-cert-chooser-button.c:95
95    src/libnma/nma-cert-chooser-button.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7ba87a2 in modules_initialized (object=<optimized out>,
res=0x555556335cb0, user_data=<optimized out>) at
src/libnma/nma-cert-chooser-button.c:95
#1  0x00007ffff4652d23 in ?? () from /usr/lib/x86_64-linux-gnu/libgck-1.so.0
#2  0x00007ffff465365c in ?? () from /usr/lib/x86_64-linux-gnu/libgck-1.so.0
#3  0x00007ffff540136b in g_type_create_instance () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff53e31fb in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff53e510e in g_object_new_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007ffff53e53b1 in g_object_new () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007ffff7ba90f2 in nma_cert_chooser_button_new
(flags=flags at entry=NMA_CERT_CHOOSER_BUTTON_FLAG_NONE) at
src/libnma/nma-cert-chooser-button.c:444
#8  0x00007ffff7ba9b8e in init (cert_chooser=0x5555557f25d0) at
src/libnma/nma-pkcs11-cert-chooser.c:475
#9  0x00007ffff7ba51c7 in constructor (type=<optimized out>,
n_construct_properties=<optimized out>, construct_properties=<optimized
out>) at src/libnma/nma-cert-chooser.c:635
#10 0x00007ffff53e3029 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff53e510e in g_object_new_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff53e53b1 in g_object_new () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff7ba5bd7 in nma_cert_chooser_new (title=<optimized out>,
flags=<optimized out>) at src/libnma/nma-cert-chooser.c:816
#14 0x00007ffff7baff98 in eap_method_tls_new
(ws_parent=ws_parent at entry=0x555556301310,
connection=connection at entry=0x5555559372c0, phase2=phase2 at entry=0,
secrets_only=secrets_only at entry=0) at
src/wireless-security/eap-method-tls.c:434
#15 0x00007ffff7bab130 in ws_802_1x_auth_combo_init
(sec=sec at entry=0x555556301310,
combo_name=combo_name at entry=0x7ffff7bb9cec "wpa_eap_auth_combo",
combo_label=combo_label at entry=0x7ffff7bb9cff "wpa_eap_auth_label",
auth_combo_changed_cb=auth_combo_changed_cb at entry=0x7ffff7baddc0
<auth_combo_changed_cb>, connection=connection at entry=0x5555559372c0,
is_editor=is_editor at entry=0, secrets_only=0) at
src/wireless-security/wireless-security.c:433
#16 0x00007ffff7badee5 in ws_wpa_eap_new (connection=0x5555559372c0,
is_editor=is_editor at entry=0, secrets_only=secrets_only at entry=0) at
src/wireless-security/ws-wpa-eap.c:122
#17 0x00007ffff7b99fc8 in security_combo_init
(self=self at entry=0x5555562da390, secrets_only=0) at
src/libnma/nma-wifi-dialog.c:987
#18 0x00007ffff7b9b33e in internal_init (self=self at entry=0x5555562da390,
specific_connection=specific_connection at entry=0x5555559372c0,
specific_device=specific_device at entry=0x5555559fd280,
secrets_only=secrets_only at entry=0) at src/libnma/nma-wifi-dialog.c:1127
#19 0x00007ffff7b9c3ce in nma_wifi_dialog_new (client=<optimized out>,
connection=0x5555559372c0, device=0x5555559fd280, ap=0x555555b300e0,
secrets_only=0) at src/libnma/nma-wifi-dialog.c:1317
#20 0x00005555555753fd in wifi_new_auto_connection
(device=0x5555559fd280, dclass_data=<optimized out>,
callback=0x5555555654e0
<applet_menu_item_activate_helper_new_connection>,
callback_data=0x5555562d55f0) at src/applet-device-wifi.c:573
#21 0x0000555555568820 in applet_menu_item_activate_helper
(device=0x5555559fd280, connection=<optimized out>,
specific_object=0x5555562c8f30
"/org/freedesktop/NetworkManager/AccessPoint/552",
applet=0x5555557f22c0, dclass_data=0x7fffe4001840) at src/applet.c:527
#22 0x00007ffff53ddf75 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff53eff82 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff53f8bdc in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffff53f8fbf in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007ffff75f2a9e in gtk_widget_activate () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00007ffff74c09d6 in gtk_menu_shell_activate_item () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#28 0x00007ffff74c0d0b in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x00007ffff74a3cd1 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007ffff53de1a4 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff53f83a1 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff53f8fbf in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff75f059c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#34 0x00007ffff74a0c5e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007ffff74a2d1e in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007ffff6fb3e15 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#37 0x00007ffff6fe4ea2 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#38 0x00007ffff51047f7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff5104a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff5104b0c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007ffff56c072d in g_application_run () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#42 0x0000555555563e31 in main (argc=<optimized out>, argv=<optimized
out>) at src/main.c:81



Also, after poking around a bit, I've noticed this only occurs when
trying to add a WPA network, not when connecting to a pre-established
WPA network. I.e. if network-foo was already known by network-manager
before I upgrade network-manager-gnome to 1.8.2, I can still connect and
disconnect without a segfault. It's only when attempting to add the
network that I have the trouble.

Cheers!

Fred


On 06/18/2017 03:59 PM, Michael Biebl wrote:
> Control: tags -1 + moreinfo unreproducible
>
> Am 18.06.2017 um 19:59 schrieb Fred Barclay:
>> Dear Maintainer,
>> After upgrading network-manager-gnome to 1.8.2-1, the network manager applet
>> segfaults every time I attempt to connect to a WPA network.
> Unfortunately I can't reproduce the problem and the gdb backtrace is not
> particularly useful.
> Can you please install the relevant dbgsym packages from the dbgsym
> archive (see https://wiki.debian.org/HowToGetABacktrace) so we can get a
> better backtrace.
>
> Regards,
> Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20170618/09981dab/attachment-0001.sig>


More information about the Pkg-utopia-maintainers mailing list