Connman-0.67 Crashes and/or Hangs on Start-up

Grant Erickson marathon96 at
Fri Jan 28 12:10:41 PST 2011

On Jan 28, 2011, at 10:09 AM, Grant Erickson wrote:
> On Jan 28, 2011, at 9:44 AM, Samuel Ortiz wrote:
>> On Fri, Jan 28, 2011 at 09:06:12AM -0800, Grant Erickson wrote:
>>> FYI. I need to check against GIT top-of-tree and dig into this further; however, with:
>>> 	* Wired Ethernet connected, connman-0.67 crashes on start-up
>>> 	* Wireless 802.11 WEXT, connman-0.67 hangs on start-up
>>> Backtrace with wired:
>> Please give us a gdb backtrace or run test/backtrace src/connmand <log> where
>> log is the below trace.

The wired Ethernet crash GDB backtrace:

#0  0x4020e2ec in raise ()
   from /lib/
#1  0x40213b04 in abort ()
   from /lib/
#2  0x40247ee8 in __libc_message ()
   from /lib/
#3  0x4025249c in malloc_printerr ()
   from /lib/
#4  0x40257db8 in free ()
   from /lib/
#5  0x4006ad28 in IA__g_free (mem=0x64950)
    at glib/glib-2.24.2/glib/gmem.c:191
#6  0x0003e684 in stats_free (user_data=<value optimized out>)
    at connman/connman-b1db3cb/src/stats.c:227
#7  0x40052c10 in g_hash_table_remove_node (hash_table=0x5bc60, node=0x61110, 
    at glib/glib-2.24.2/glib/ghash.c:449
#8  0x40053f44 in g_hash_table_remove_internal (hash_table=0x5bc60, 
    key=0x64758, notify=1)
    at glib/glib-2.24.2/glib/ghash.c:1095
#9  0x0003edd8 in __connman_stats_service_register (service=0x64758)
    at connman/connman-b1db3cb/src/stats.c:671
#10 0x000288a8 in __connman_service_indicate_state (service=0x64758, 
    at connman/connman-b1db3cb/src/service.c:3097
#11 0x00021864 in set_connected_dhcp (user_data=<value optimized out>)
    at connman/connman-b1db3cb/src/network.c:723
#12 set_connected (user_data=<value optimized out>)
    at connman/connman-b1db3cb/src/network.c:811
#13 0x00021b94 in connman_network_set_connected (network=0x64380, connected=1)
    at connman/connman-b1db3cb/src/network.c:866
#14 0x40386450 in add_network (flags=69699, change=0, 
    user_data=<value optimized out>)
    at connman/connman-b1db3cb/plugins/ethernet.c:109
#15 ethernet_newlink (flags=69699, change=0, user_data=<value optimized out>)
    at connman/connman-b1db3cb/plugins/ethernet.c:132
#16 0x00036d28 in connman_rtnl_add_newlink_watch (index=2, 
    callback=0x40386320 <ethernet_newlink>, user_data=0x62c00)
    at connman/connman-b1db3cb/src/rtnl.c:249
#17 0x403862d4 in ethernet_probe (device=0x62c00)
    at connman/connman-b1db3cb/plugins/ethernet.c:157
#18 0x0001f4c0 in device_probe (element=<value optimized out>)
    at connman/connman-b1db3cb/src/device.c:1212
#19 0x0001c2bc in probe_element (element=0x62c00)
    at connman/connman-b1db3cb/src/element.c:1011
#20 0x0001d9d8 in register_element (element=0x62c00, 
    parent=<value optimized out>)
    at connman/connman-b1db3cb/src/element.c:1050
#21 connman_element_register (element=0x62c00, parent=<value optimized out>)
    at connman/connman-b1db3cb/src/element.c:1121
#22 0x000336a0 in detect_newlink (type=<value optimized out>, 
    index=<value optimized out>, flags=<value optimized out>, 
    change=<value optimized out>)
    at connman/connman-b1db3cb/src/detect.c:78
#23 0x00037478 in process_newlink (type=1, index=2, flags=69699, change=0, 
    msg=0xbe9a5ba8, bytes=229188)
    at connman/connman-b1db3cb/src/rtnl.c:474
#24 0x00037f44 in rtnl_newlink (chan=<value optimized out>, 
    cond=<value optimized out>, data=<value optimized out>)
    at connman/connman-b1db3cb/src/rtnl.c:862
#25 rtnl_message (chan=<value optimized out>, cond=<value optimized out>, 
    data=<value optimized out>)
    at connman/connman-b1db3cb/src/rtnl.c:1302
#26 netlink_event (chan=<value optimized out>, cond=<value optimized out>, 
    data=<value optimized out>)
    at connman/connman-b1db3cb/src/rtnl.c:1353
#27 0x400aa5c0 in g_io_unix_dispatch (source=0x61480, 
    callback=0x37924 <netlink_event>, user_data=0x0)
    at glib/glib-2.24.2/glib/giounix.c:162
#28 0x40062a68 in g_main_dispatch (context=0x5c200)
    at glib/glib-2.24.2/glib/gmain.c:1960
#29 IA__g_main_context_dispatch (context=0x5c200)
    at glib/glib-2.24.2/glib/gmain.c:2513
#30 0x400660ec in g_main_context_iterate (context=0x5c200, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>)
    at glib/glib-2.24.2/glib/gmain.c:2591
#31 0x4006669c in IA__g_main_loop_run (loop=0x5b9b8)
    at glib/glib-2.24.2/glib/gmain.c:2799
#32 0x0001a7e0 in main (argc=1, argv=0xbe9a5e64)
    at connman/connman-b1db3cb/src/main.c:247

More information about the connman mailing list