[Pkg-utopia-maintainers] Bug#663144: 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 22:20:27 UTC 2012


* Michael Biebl (biebl at debian.org) wrote:
> On 08.03.2012 22:32, Mathieu Desnoyers wrote:
> 
> > * 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
> 
> thanks. I've informed upstream about this, he told me to ask you for the
> following information:
> 
> > mbiebl: any chance Mathieu can, when he's got it under gdb, "print *data" for me?
> > mbiebl: actually printing the following would be great: *policy, specific_object, *data

No problem, here it is:

I had to restart it to get it into gdb again. I'm showing the requested
info along with the new backtrace.

(gdb) print *data
$1 = {policy = 0x734890, device = 0x750230, id = 0}

(gdb) print *policy
$4 = {manager = 0x731030, update_state_id = 0, pending_activation_checks = 0x0, 
  manager_ids = 0x72f440, settings_ids = 0x72f4a0, dev_ids = 0x740e00, vpn_manager = 0x6ee400, 
  vpn_activated_id = 84, vpn_deactivated_id = 85, settings = 0x6ecb30, default_device4 = 0x0, 
  default_device6 = 0x0, lookup = 0x0, reset_retries_id = 0, orig_hostname = 0x736740 "thinkos", 
  cur_hostname = 0x0, hostname_changed = 0}

(gdb) print specific_object 
$5 = 0x0

(gdb) bt full
#0  0x0000000000447d45 in auto_activate_device (user_data=0x735970) at nm-policy.c:794
        error = 0x0
        data = 0x735970
        policy = 0x734890
        best_connection = 0x6f5a10
        specific_object = 0x0
        connections = 0x740b30
        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=0x7fffffffec18) 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 = 0x734890
        vpn_manager = 0x6ee400
        dns_mgr = 0x6f5830
        dbus_mgr = 0x6dd0a0
        sup_mgr = 0x7120c0
        dhcp_mgr = 0x72ad90
        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 = 0x7fffffffeadc, 
            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 = 0x7fffffffead4, 
            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 = 0x7fffffffead8, 
            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 = 0x7fffffffea88, 
            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 = 0x7fffffffea90, 
            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 = 0x7fffffffea98, 
            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 = 0x7fffffffeaa0, 
            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 = 0x7fffffffeaa8, 
            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 = 0x7fffffffeab0, 
            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"



-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com





More information about the Pkg-utopia-maintainers mailing list