Hi Grant,

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.
Also, a connman -d -n log would be more useful.

Cheers,
Samuel.

 
> root@10784311-00016.local# /usr/sbin/connmand -n
> connmand[444]: Connection Manager version 0.67
> connmand[444]: Checking loopback interface settings
> connmand[444]: System hostname is salmon.local
> connmand[444]: Adding profile default
> connmand[444]: Failed to open RFKILL control device
> connmand[444]: lo {newlink} index 1 operstate 0 <UNKNOWN>
> connmand[444]: eth0 {create} index 2 type 1 <ETHER>
> connmand[444]: eth0 {RX} 431 packets 60468 bytes
> connmand[444]: eth0 {TX} 61 packets 7521 bytes
> connmand[444]: eth0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
> connmand[444]: eth0 {newlink} index 2 address 00:0c:29:4c:56:a2 mtu 1500
> connmand[444]: eth0 {newlink} index 2 operstate 6 <UP>
> connmand[444]: Create interface eth0 [ ethernet ]
> connmand[444]: mmap error Invalid argument for 
> /var/lib/connman/stats/ethernet_000c294c56a2_cable.data
> *** glibc detected *** /usr/sbin/connmand: double free or corruption 
> (fasttop): 0x00062a80 ***
> ======= Backtrace: =========
> /lib/libc.so.6(+0x7049c)[0x4025249c]
> /lib/libc.so.6(cfree+0x98)[0x40257db8]
> /lib/libglib-2.0.so.0(g_free+0x44)[0x4006ad28]
> /usr/sbin/connmand[0x3e594]
> /lib/libglib-2.0.so.0(+0x2ac10)[0x40052c10]
> /lib/libglib-2.0.so.0(+0x2bf44)[0x40053f44]
> /usr/sbin/connmand[0x3ece8]
> /usr/sbin/connmand[0x2972c]
> /usr/sbin/connmand[0x21dc4]
> /usr/sbin/connmand(connman_network_set_connected+0x5c)[0x220f4]
> /usr/lib/connman/plugins/ethernet.so(+0x1450)[0x403a4450]
> /usr/sbin/connmand(connman_rtnl_add_newlink_watch+0xa4)[0x36ba4]
> /usr/lib/connman/plugins/ethernet.so(+0x12d4)[0x403a42d4]
> /usr/sbin/connmand[0x1fae8]
> /usr/sbin/connmand[0x1c908]
> /usr/sbin/connmand(connman_element_register+0xe8)[0x1e024]
> /usr/sbin/connmand[0x337ac]
> /usr/sbin/connmand[0x372f4]
> /usr/sbin/connmand[0x37dc0]
> /lib/libglib-2.0.so.0(+0x825c0)[0x400aa5c0]
> /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1ec)[0x40062a68]
> /lib/libglib-2.0.so.0(+0x3e0ec)[0x400660ec]
> /lib/libglib-2.0.so.0(g_main_loop_run+0x174)[0x4006669c]
> /usr/sbin/connmand[0x1add4]
> /lib/libc.so.6(__libc_start_main+0x118)[0x401f74c4]
> ======= Memory map: ========
> 00008000-0004c000 r-xp 00000000 1f:07 904        /usr/sbin/connmand
> 00053000-00057000 rwxp 00043000 1f:07 904        /usr/sbin/connmand
> 00057000-00078000 rwxp 00000000 00:00 0          [heap]
> 40000000-4001f000 r-xp 00000000 1f:07 343        /lib/ld-2.11.1.so
> 4001f000-40020000 rwxp 00000000 00:00 0 
> 40024000-40026000 rwxp 00000000 00:00 0 
> 40026000-40027000 r-xp 0001e000 1f:07 343        /lib/ld-2.11.1.so
> 40027000-40028000 rwxp 0001f000 1f:07 343        /lib/ld-2.11.1.so
> 40028000-40117000 r-xp 00000000 1f:07 364        /lib/libglib-2.0.so.0.2400.2
> 40117000-4011f000 ---p 000ef000 1f:07 364        /lib/libglib-2.0.so.0.2400.2
> 4011f000-40120000 rwxp 000ef000 1f:07 364        /lib/libglib-2.0.so.0.2400.2
> 40120000-40124000 r-xp 00000000 1f:07 797        
> /usr/lib/libgthread-2.0.so.0.2400.2
> 40124000-4012b000 ---p 00004000 1f:07 797        
> /usr/lib/libgthread-2.0.so.0.2400.2
> 4012b000-4012c000 rwxp 00003000 1f:07 797        
> /usr/lib/libgthread-2.0.so.0.2400.2
> 4012c000-40189000 r-xp 00000000 1f:07 356        /lib/libdbus-1.so.3.5.1
> 40189000-40191000 ---p 0005d000 1f:07 356        /lib/libdbus-1.so.3.5.1
> 40191000-40192000 r-xp 0005d000 1f:07 356        /lib/libdbus-1.so.3.5.1
> 40192000-40193000 rwxp 0005e000 1f:07 356        /lib/libdbus-1.so.3.5.1
> 40193000-4019b000 r-xp 00000000 1f:07 421        /lib/libxtables.so.5.0.0
> 4019b000-401a2000 ---p 00008000 1f:07 421        /lib/libxtables.so.5.0.0
> 401a2000-401a3000 rwxp 00007000 1f:07 421        /lib/libxtables.so.5.0.0
> 401a3000-401b7000 r-xp 00000000 1f:07 408        /lib/libresolv-2.11.1.so
> 401b7000-401be000 ---p 00014000 1f:07 408        /lib/libresolv-2.11.1.so
> 401be000-401bf000 r-xp 00013000 1f:07 408        /lib/libresolv-2.11.1.so
> 401bf000-401c0000 rwxp 00014000 1f:07 408        /lib/libresolv-2.11.1.so
> 401c0000-401c2000 rwxp 00000000 00:00 0 
> 401c2000-401c6000 r-xp 00000000 1f:07 357        /lib/libdl-2.11.1.so
> 401c6000-401cd000 ---p 00004000 1f:07 357        /lib/libdl-2.11.1.so
> 401cd000-401ce000 r-xp 00003000 1f:07 357        /lib/libdl-2.11.1.so
> 401ce000-401cf000 rwxp 00004000 1f:07 357        /lib/libdl-2.11.1.so
> 401cf000-401da000 r-xp 00000000 1f:07 776        /usr/lib/libgcc_s.so.1
> 401da000-401e1000 ---p 0000b000 1f:07 776        /usr/lib/libgcc_s.so.1
> 401e1000-401e2000 rwxp 0000a000 1f:07 776        /usr/lib/libgcc_s.so.1
> 401e2000-4031d000 r-xp 00000000 1f:07 350        /lib/libc-2.11.1.so
> 4031d000-40325000 ---p 0013b000 1f:07 350        /lib/libc-2.11.1.so
> 40325000-40327000 r-xp 0013b000 1f:07 350        /lib/libc-2.11.1.so
> 40327000-40328000 rwxp 0013d000 connmand[444]: Aborting (signal 6)
> connmand[444]: ++++++++ backtrace ++++++++
> connmand[444]: [0]: /lib/libc.so.6(__default_sa_restorer_v2+0) [0x4020f630]
> connmand[444]: [1]: /lib/libc.so.6(gsignal+0x40) [0x4020e2ec]
> connmand[444]: [2]: /lib/libc.so.6(abort+0x1b0) [0x40213b04]
> connmand[444]: [3]: /lib/libc.so.6(+0x65ee8) [0x40247ee8]
> connmand[444]: [4]: /lib/libc.so.6(+0x7049c) [0x4025249c]
> connmand[444]: [5]: /lib/libc.so.6(cfree+0x98) [0x40257db8]
> connmand[444]: [6]: /lib/libglib-2.0.so.0(g_free+0x44) [0x4006ad28]
> connmand[444]: [7]: /usr/sbin/connmand() [0x3e594]
> connmand[444]: [8]: /lib/libglib-2.0.so.0(+0x2ac10) [0x40052c10]
> connmand[444]: [9]: /lib/libglib-2.0.so.0(+0x2bf44) [0x40053f44]
> connmand[444]: [10]: /usr/sbin/connmand() [0x3ece8]
> connmand[444]: [11]: /usr/sbin/connmand() [0x2972c]
> connmand[444]: [12]: /usr/sbin/connmand() [0x21dc4]
> connmand[444]: [13]: /usr/sbin/connmand(connman_network_set_connected+0x5c) 
> [0x220f4]
> connmand[444]: [14]: /usr/lib/connman/plugins/ethernet.so(+0x1450) 
> [0x403a4450]
> connmand[444]: [15]: /usr/sbin/connmand(connman_rtnl_add_newlink_watch+0xa4) 
> [0x36ba4]
> connmand[444]: [16]: /usr/lib/connman/plugins/ethernet.so(+0x12d4) 
> [0x403a42d4]
> connmand[444]: [17]: /usr/sbin/connmand() [0x1fae8]
> connmand[444]: [18]: /usr/sbin/connmand() [0x1c908]
> connmand[444]: [19]: /usr/sbin/connmand(connman_element_register+0xe8) 
> [0x1e024]
> connmand[444]: [20]: /usr/sbin/connmand() [0x337ac]
> connmand[444]: [21]: /usr/sbin/connmand() [0x372f4]
> connmand[444]: [22]: /usr/sbin/connmand() [0x37dc0]
> connmand[444]: [23]: /lib/libglib-2.0.so.0(+0x825c0) [0x400aa5c0]
> connmand[444]: [24]: /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1ec) 
> [0x40062a68]
> connmand[444]: [25]: /lib/libglib-2.0.so.0(+0x3e0ec) [0x400660ec]
> connmand[444]: [26]: /lib/libglib-2.0.so.0(g_main_loop_run+0x174) [0x4006669c]
> connmand[444]: [27]: /usr/sbin/connmand() [0x1add4]
> connmand[444]: [28]: /lib/libc.so.6(__libc_start_main+0x118) [0x401f74c4]
> connmand[444]: +++++++++++++++++++++++++++
> 
> Wireless:
> 
> root@10784311-00016.local# /usr/sbin/connmand -n
> connmand[465]: Connection Manager version 0.67
> connmand[465]: Checking loopback interface settings
> connmand[465]: System hostname is salmon.local
> connmand[465]: Adding profile default
> connmand[465]: Failed to open RFKILL control device
> connmand[465]: lo {newlink} index 1 operstate 0 <UNKNOWN>
> connmand[465]: eth0 {create} index 2 type 1 <ETHER>
> connmand[465]: eth0 {RX} 459 packets 64724 bytes
> connmand[465]: eth0 {TX} 65 packets 8429 bytes
> connmand[465]: eth0 {update} flags 4099 <UP>
> connmand[465]: eth0 {newlink} index 2 address 00:0c:29:4c:56:a2 mtu 1500
> connmand[465]: eth0 {newlink} index 2 operstate 2 <DOWN>
> connmand[465]: Create interface eth0 [ ethernet ]
> connmand[465]: tiwlan0 {create} index 3 type 1 <ETHER>
> connmand[465]: tiwlan0 {update} flags 4163 <UP,RUNNING>
> connmand[465]: tiwlan0 {newlink} index 3 address 00:0c:29:4c:56:a3 mtu 1500
> connmand[465]: tiwlan0 {newlink} index 3 operstate 0 <UNKNOWN>
> connmand[465]: tiwlan0 runs an unsupported 802.11 driver
> connmand[465]: Create interface tiwlan0 [ wifi ]
> 
> 
> _______________________________________________
> connman mailing list
> connman@connman.net
> http://lists.connman.net/listinfo/connman

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to