[Pkg-utopia-maintainers] Bug#801634: network-manager: SIGSEGV on shutdown: NMManagerPrivate is NULL at check_if_startup_complete
Felipe Sateler
fsateler at debian.org
Mon Oct 12 20:18:55 UTC 2015
Package: network-manager
Version: 1.0.6-1
Severity: normal
Hi,
I got a crash during shutdown of network manager. This is the backtrace:
(gdb) bt
#0 0x00000000004c699d in check_if_startup_complete (self=0xc191b0) at nm-manager.c:776
#4 0x00007f3f9fc7812f in <emit signal notify:connections on instance 0xc023e0 [NMSettings]> (instance=instance at entry=0xc023e0, signal_id=<optimized out>, detail=<optimized out>) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c:3439
#1 0x00007f3f9fc5d015 in g_closure_invoke (closure=0xcd4020, return_value=return_value at entry=0x0, n_param_values=2, param_values=param_values at entry=0x7ffd3a7b8d50, invocation_hint=invocation_hint at entry=0x7ffd3a7b8cd0)
at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gclosure.c:801
#2 0x00007f3f9fc6f061 in signal_emit_unlocked_R (node=node at entry=0xbf5520, detail=detail at entry=357, instance=instance at entry=0xc023e0, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7ffd3a7b8d50)
at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c:3627
#3 0x00007f3f9fc77dfc in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7ffd3a7b8f10) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c:3383
#5 0x00007f3f9fc61544 in g_object_dispatch_properties_changed (object=0xc023e0 [NMSettings], n_pspecs=<optimized out>, pspecs=<optimized out>) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c:1061
#6 0x00007f3f9fc639d1 in g_object_notify (pspec=0xc1cec0 [GParamBoxed], object=0xc023e0 [NMSettings]) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c:1154
#7 0x00007f3f9fc639d1 in g_object_notify (object=0xc023e0 [NMSettings], property_name=property_name at entry=0x543a50 "connections") at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c:1202
#8 0x000000000048ff9b in connection_removed (connection=0xd92760 [NMKeyfileConnection], user_data=<optimized out>) at settings/nm-settings.c:844
#12 0x00007f3f9fc785f5 in <emit signal 0x55fc16 "removed" on instance 0xd92760 [NMKeyfileConnection]> (instance=instance at entry=0xd92760, detailed_signal=detailed_signal at entry=0x55fc16 "removed") at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c:3479
#9 0x00007f3f9fc5d015 in g_closure_invoke (closure=0xc34ed0, return_value=return_value at entry=0x0, n_param_values=1, param_values=param_values at entry=0x7ffd3a7b9250, invocation_hint=invocation_hint at entry=0x7ffd3a7b91d0)
at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gclosure.c:801
#10 0x00007f3f9fc6f061 in signal_emit_unlocked_R (node=node at entry=0xc2dbe0, detail=detail at entry=0, instance=instance at entry=0xd92760, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7ffd3a7b9250)
at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c:3627
#11 0x00007f3f9fc77dfc in g_signal_emit_valist (instance=instance at entry=0xd92760, signal_id=signal_id at entry=44, detail=detail at entry=0, var_args=var_args at entry=0x7ffd3a7b9448) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gsignal.c:3383
#13 0x000000000048c5e1 in nm_settings_connection_signal_remove (self=0xd92760 [NMKeyfileConnection]) at settings/nm-settings-connection.c:1765
#14 0x000000000048c6d3 in do_delete (self=0xd92760 [NMKeyfileConnection], callback=0x488dc0 <ignore_cb>, user_data=0x0) at settings/nm-settings-connection.c:714
#15 0x00007f3f981c5ce2 in dispose (object=0xc83ad0 [NMBluezDevice]) at nm-bluez-device.c:1134
#16 0x00007f3f9fc61d95 in g_object_unref (_object=0xc83ad0) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c:3142
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
#17 0x00007f3f9f97624a in g_hash_table_remove_all_nodes (hash_table=0xce5520, notify=<optimized out>, destruction=<optimized out>) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/ghash.c:548
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
#18 0x00007f3f9f977193 in g_hash_table_remove_all (destruction=0, notify=1, hash_table=0xce5520) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/ghash.c:1425
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
#19 0x00007f3f9f977193 in g_hash_table_remove_all (hash_table=0xce5520) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/ghash.c:1428
#20 0x00007f3f981ca365 in bluez_cleanup (self=self at entry=0xd05d70 [NMBluez5Manager], do_signal=do_signal at entry=0) at nm-bluez5-manager.c:324
#21 0x00007f3f981cacd7 in dispose (object=0xd05d70 [NMBluez5Manager]) at nm-bluez5-manager.c:382
#22 0x00007f3f9fc61d95 in g_object_unref (_object=0xd05d70) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c:3142
#23 0x00007f3f981c4f7b in dispose (object=<optimized out>) at nm-bluez-manager.c:392
#24 0x00007f3f9fc61d95 in g_object_unref (_object=0xcd3fa0) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./gobject/gobject.c:3142
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
#25 0x00007f3f9f97624a in g_hash_table_remove_all_nodes (hash_table=0xc99460, notify=<optimized out>, destruction=<optimized out>) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/ghash.c:548
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
#26 0x00007f3f9f976bef in g_hash_table_unref (destruction=1, notify=1, hash_table=0xc99460) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/ghash.c:1093
Python Exception <class 'TypeError'> iter() returned non-iterator of type '_iterator':
#27 0x00007f3f9f976bef in g_hash_table_unref (hash_table=0xc99460) at /build/glib2.0-BMd9vh/glib2.0-2.46.0/./glib/ghash.c:1097
#28 0x00007f3fa204e01a in _dl_fini () at dl-fini.c:252
#29 0x00007f3f9f3afbc9 in __run_exit_handlers (status=status at entry=0, listp=0x7f3f9f71b5a8 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#30 0x00007f3f9f3afc15 in __GI_exit (status=status at entry=0) at exit.c:104
#31 0x0000000000436968 in main (argc=1, argv=0x7ffd3a7b9ba8) at main.c:525
(gdb) print priv
$1 = (NMManagerPrivate *) 0x0
Somehow the private object got nulled and this function cannot handle that.
I have the core file around so if you need me to run more gdb commands I can do that.
Saludos
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages network-manager depends on:
ii adduser 3.113+nmu3
ii dbus 1.10.0-3
ii init-system-helpers 1.23
ii isc-dhcp-client 4.3.3-5
ii libbluetooth3 5.33-1
ii libc6 2.19-22
ii libdbus-1-3 1.10.0-3
ii libdbus-glib-1-2 0.102-1
ii libglib2.0-0 2.46.0-2
ii libgnutls-deb0-28 3.3.18-1
ii libgudev-1.0-0 230-2
ii libmm-glib0 1.4.10-1
ii libndp0 1.4-2
ii libnewt0.52 0.52.18-1+b1
ii libnl-3-200 3.2.26-1
ii libnl-genl-3-200 3.2.26-1
ii libnl-route-3-200 3.2.26-1
ii libnm0 1.0.6-1
ii libpam-systemd 227-2
ii libpolkit-agent-1-0 0.105-12
ii libpolkit-gobject-1-0 0.105-12
ii libreadline6 6.3-8+b3
ii libsoup2.4-1 2.52.0-1
ii libsystemd0 227-2
ii libteamdctl0 1.18-1
ii libuuid1 2.27-3
ii lsb-base 9.20150917
ii policykit-1 0.105-12
ii udev 226-4
ii wpasupplicant 2.3-2.1
Versions of packages network-manager recommends:
ii crda 3.13-1
ii dnsmasq-base 2.75-1
ii iptables 1.4.21-2+b1
ii iputils-arping 3:20121221-5+b2
ii modemmanager 1.4.10-1
ii ppp 2.4.6-3.1
Versions of packages network-manager suggests:
ii avahi-autoipd 0.6.31-5
pn libteam-utils <none>
-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[keyfile]
unmanaged-devices=interface-name:docker*
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list