[Pkg-utopia-maintainers] Bug#663144: Bug#663144: network-manager: NM segfaults (at every restart) after adding a second mobile network
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Thu Mar 8 21:32:38 UTC 2012
* Michael Biebl (biebl at debian.org) wrote:
> severity 663144 important
> thanks
>
> On 08.03.2012 21:53, Mathieu Desnoyers wrote:
>
> > NetworkManager[5757]: <info> Auto-activating connection 'Fido Default'.
> > NetworkManager[5757]: <warn> caught signal 11. Generating backtrace...
> > NetworkManager: ******************* START **********************************
> > NetworkManager: [Thread debugging using libthread_db enabled]
> > NetworkManager: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> > NetworkManager: [New Thread 0x7fd9f26b4700 (LWP 5758)]
> > 41 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
> > NetworkManager: 0x00007fd9f60f4c1d in __libc_waitpid (pid=5776, stat_loc=<optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
> > NetworkManager: ******************* END **********************************
> >
>
> Please install network-manager-dbg and get me a full back trace.
> NM certainly has no limitation of the number of configured wireless
> networks. Could you attach the relevant keyfile from
> /etc/NetworkManager/system-connections/ (make sure to remove sensitive data)
>
I've been able to reproduce the issue with a cleaned up
/etc/NetworkManager/system-connections/ directory, only keeping my 3
mobile networks (I noticed while inspecting the
/etc/NetworkManager/system-connections/ files that there were 3
instances of mobile networks, not just 2). FYI, this happened after I
moved my SIM card into a new phone: This issue showed up right after
pairing to my new phone.
* Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000447d45 in auto_activate_device (user_data=0x737ee0) at nm-policy.c:794
794 nm-policy.c: No such file or directory.
(gdb) bt full
#0 0x0000000000447d45 in auto_activate_device (user_data=0x737ee0) at nm-policy.c:794
error = 0x0
data = 0x737ee0
policy = 0x739110
best_connection = 0x6f5a10
specific_object = 0x0
connections = 0x740790
iter = <optimized out>
__PRETTY_FUNCTION__ = "auto_activate_device"
#1 0x00007ffff56e30cf in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff56e38c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff56e3e02 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x000000000042247b in main (argc=1, argv=0x7fffffffec28) at main.c:687
opt_ctx = <optimized out>
become_daemon = 0
g_fatal_warnings = 0
pidfile = 0x6d6cb0 "/var/run/NetworkManager.pid"
state_file = 0x6d6ce0 "/var/lib/NetworkManager/NetworkManager.state"
config_path = 0x0
plugins = 0x0
log_level = 0x0
log_domains = 0x0
wifi_enabled = <optimized out>
net_enabled = <optimized out>
wwan_enabled = <optimized out>
wimax_enabled = <optimized out>
success = 1
show_version = 0
policy = 0x739110
vpn_manager = 0x6ee400
dns_mgr = 0x6f5830
dbus_mgr = 0x6dd0a0
sup_mgr = 0x73b400
dhcp_mgr = 0x72d590
settings = 0x6ecb30
config = 0x6d7eb0
error = 0x0
wrote_pidfile = 0
options = {{long_name = 0x4a536a "version", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffeaec,
description = 0x4a2e70 "Print NetworkManager version and exit", arg_description = 0x0}, {long_name = 0x4a3588 "no-daemon",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffeae4,
description = 0x4a3592 "Don't become a daemon", arg_description = 0x0}, {long_name = 0x4a35a8 "g-fatal-warnings",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffeae8,
description = 0x4a35b9 "Make all warnings fatal", arg_description = 0x0}, {long_name = 0x4a35d1 "pid-file",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0x7fffffffea98,
description = 0x4a2e98 "Specify the location of a PID file", arg_description = 0x4a35da "filename"}, {
long_name = 0x4a35e3 "state-file", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0x7fffffffeaa0,
description = 0x4a35ee "State file location", arg_description = 0x4a3602 "/path/to/state.file"}, {long_name = 0x4a3a42 "config",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0x7fffffffeaa8,
description = 0x4a3616 "Config file location", arg_description = 0x4a362b "/path/to/config.file"}, {
long_name = 0x4a2ae6 "plugins", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffeab0,
description = 0x4a2ec0 "List of plugins separated by ','", arg_description = 0x4a3640 "plugin1,plugin2"}, {
long_name = 0x4a3650 "log-level", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffeab8,
description = 0x4a2ee8 "Log level: one of [ERR, WARN, INFO, DEBUG]", arg_description = 0x4a365a "INFO"}, {
long_name = 0x4a365f "log-domains", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffeac0,
description = 0x4a2f18 "Log domains separated by ',': any combination of\n", ' ' <repeats 42 times>, "[NONE,HW,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,\n", ' ' <repeats 43 times>, "WIFI_SCAN,IP4,IP"..., arg_description = 0x4a366b "HW,RFKILL,WIFI"}, {long_name = 0x0,
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
__PRETTY_FUNCTION__ = "main"
* Content of my /etc/NetworkManager/system-connections:
du /etc/NetworkManager/system-connections/*
4 /etc/NetworkManager/system-connections/Fido Default
4 /etc/NetworkManager/system-connections/Fido Default-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
4 /etc/NetworkManager/system-connections/Fido Default-YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY
* Content of Fido Default:
[connection]
id=Fido Default
uuid=ZZZZZZZZ-ZZZZ-ZZZZ-ZZZZ-ZZZZZZZZZZZZ
type=bluetooth
permissions=user:compudj:;
timestamp=1325006314
[bluetooth]
bdaddr=AA:AA:AA:AA:AA:AA
type=dun
[gsm]
number=*99#
username=....
password-flags=1
apn=internet.fido.ca
[serial]
baud=115200
* Content of Fido Default-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[connection]
id=Fido Default
uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
type=gsm
permissions=user:compudj:;
autoconnect=false
timestamp=1316629901
[gsm]
number=*99#
username=....
password-flags=1
apn=internet.fido.ca
[ipv4]
method=auto
[serial]
baud=115200
* Content of Fido Default-YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYY
[connection]
id=Fido Default
uuid=YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYY
type=bluetooth
autoconnect=false
[bluetooth]
bdaddr=BB:BB:BB:B:BB:BB
type=dun
[gsm]
number=*99#
username=....
password=....
apn=internet.fido.ca
[serial]
baud=115200
Let me know if I can provide more info,
Thanks!
Mathieu
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the Pkg-utopia-maintainers
mailing list