Hi Daniel, Please find some more call stack informaton.
******************************* Mem information ******************************* MemTotal: 335200 kB MemFree: 8180 kB Buffers: 1564 kB Cached: 197036 kB ******************************* extra information ******************************* time = 2010.10.01 08:47:10 ( UTC ) exe path = connmand signal = 6 (SIGABRT) si_code = -6 signal sent by tkill (sent by pid 2549, uid 0) TIMER = -2 r0 = 0x00000000, r1 = 0x000009f5 r2 = 0x00000006, r3 = 0x000009f5 r4 = 0x00000006, r5 = 0x4033fbdc r6 = 0x4033f000, r7 = 0x0000010c r8 = 0x00000bdc, r9 = 0xbec01fb8 r10 = 0x40021d80, fp = 0x40022240 ip = 0x401ea5a8, sp = 0xbec01f1c lr = 0x40228258, pc = 0x4022828c cpsr = 0x20000010 ******************************* callstack information (PID:2549) ******************************* cnt_callstack = 17 0: gsignal+0x40(0x4022828c) [/lib/libc.so.6]+0x2c28c 1: abort+0x1b0(0x4022daa4) [/lib/libc.so.6]+0x31aa4 2: (0x40261c94) [/lib/libc.so.6]+0x65c94 3: (0x4026c248) [/lib/libc.so.6]+0x70248 4: (0x4026c740) [/lib/libc.so.6]+0x70740 5: (0x4026f5d0) [/lib/libc.so.6]+0x735d0 6: __libc_calloc+0xe0(0x40270ee8) [/lib/libc.so.6]+0x74ee8 7: open_memstream+0x44(0x4025ffc8) [/lib/libc.so.6]+0x63fc8 8: __vsyslog_chk+0x7c(0x402d04a8) [/lib/libc.so.6]+0xd44a8 9: connman_debug+0x24(0x2a011af4) [connmand]+0x11af4 10: (0x2a015d08) [connmand]+0x15d08 11: (0x4007f238) [/usr/lib/libglib-2.0.so.0]+0x3e238 12: g_main_context_dispatch+0x24c(0x4007ea8c) [/usr/lib/libglib-2.0.so.0]+0x3da8c 13: (0x400827d0) [/usr/lib/libglib-2.0.so.0]+0x417d0 14: g_main_loop_run+0x1b0(0x40082d64) [/usr/lib/libglib-2.0.so.0]+0x41d64 15: (0x2a0113ec) [connmand]+0x113ec 16: __libc_start_main+0x118(0x402114c4) [/lib/libc.so.6]+0x154c4 end of call stack ****************************** maps information ****************************** 2a000000 2a042000 r-xp /usr/sbin/connmand 2a049000 2a04d000 rwxp /usr/sbin/connmand 2a04d000 2a0c8000 rwxp [heap] 40000000 4001f000 r-xp /lib/ld-2.11.1.so 4001f000 40026000 rwxp [anony] 40026000 40027000 r-xp /lib/ld-2.11.1.so 40027000 40028000 rwxp /lib/ld-2.11.1.so 40028000 4002d000 r-xp /mnt/mntlib/lib/libsys-assert.so 40034000 40035000 rwxp /mnt/mntlib/lib/libsys-assert.so 40035000 40039000 r-xp /mnt/mntlib/lib/libgthread-2.0.so.0.2400.2 40040000 40041000 rwxp /mnt/mntlib/lib/libgthread-2.0.so.0.2400.2 40041000 40132000 r-xp /mnt/mntlib/lib/libglib-2.0.so.0.2400.2 4013a000 4013b000 rwxp /mnt/mntlib/lib/libglib-2.0.so.0.2400.2 4013b000 40171000 r-xp /mnt/mntlib/lib/libdbus-1.so.3.4.0 40178000 40179000 r-xp /mnt/mntlib/lib/libdbus-1.so.3.4.0 40179000 4017a000 rwxp /mnt/mntlib/lib/libdbus-1.so.3.4.0 4017a000 4017c000 r-xp /mnt/mntlib/lib/connman/plugins/dhclient.so 40183000 40184000 rwxp /mnt/mntlib/lib/connman/plugins/dhclient.so 40184000 4018a000 rwxp [anony] 4018a000 40194000 r-xp /lib/libudev.so.0.6.1 4019b000 4019c000 r-xp /lib/libudev.so.0.6.1 4019c000 4019d000 rwxp /lib/libudev.so.0.6.1 4019d000 401b1000 r-xp /lib/libresolv-2.11.1.so 401b8000 401b9000 r-xp /lib/libresolv-2.11.1.so 401b9000 401ba000 rwxp /lib/libresolv-2.11.1.so 401ba000 401bc000 rwxp [anony] 401bc000 401c0000 r-xp /lib/libdl-2.11.1.so 401c7000 401c8000 r-xp /lib/libdl-2.11.1.so 401c8000 401c9000 rwxp /lib/libdl-2.11.1.so 401c9000 401d4000 r-xp /lib/libgcc_s.so.1 401db000 401dc000 rwxp /lib/libgcc_s.so.1 401dc000 401f1000 r-xp /lib/libpthread-2.11.1.so 401f8000 401f9000 r-xp /lib/libpthread-2.11.1.so 401f9000 401fa000 rwxp /lib/libpthread-2.11.1.so 401fa000 401fc000 rwxp [anony] 401fc000 40336000 r-xp /lib/libc-2.11.1.so 4033d000 4033f000 r-xp /lib/libc-2.11.1.so 4033f000 40340000 rwxp /lib/libc-2.11.1.so 40340000 40343000 rwxp [anony] 40343000 4034a000 r-xp /lib/librt-2.11.1.so 40351000 40352000 r-xp /lib/librt-2.11.1.so 40352000 40353000 rwxp /lib/librt-2.11.1.so 40353000 40358000 r-xp /mnt/mntlib/lib/connman/plugins/bluetooth.so 4035f000 40360000 rwxp /mnt/mntlib/lib/connman/plugins/bluetooth.so 40360000 40364000 r-xp /mnt/mntlib/lib/connman/plugins/dnsproxy.so 4036b000 4036c000 rwxp /mnt/mntlib/lib/connman/plugins/dnsproxy.so 4036c000 4036e000 r-xp /mnt/mntlib/lib/connman/plugins/ethernet.so 40375000 40376000 rwxp /mnt/mntlib/lib/connman/plugins/ethernet.so 40376000 40378000 r-xp /mnt/mntlib/lib/connman/plugins/loopback.so 4037f000 40380000 rwxp /mnt/mntlib/lib/connman/plugins/loopback.so 40380000 40389000 r-xp /mnt/mntlib/lib/connman/plugins/wifi.so 40391000 40392000 rwxp /mnt/mntlib/lib/connman/plugins/wifi.so 40392000 403f1000 rwxp [anony] 40400000 40421000 rwxp [anony] bebfe000 bec03000 rw-p [stack] end of maps information -Raghu On Fri, Oct 1, 2010 at 5:20 PM, Raghavendra. S < [email protected]> wrote: > Hi, > > Please find attached gdb back trace. > > (gdb) bt > #0 0x4022828c in raise () from /lib/libc.so.6 > #1 0x4022daa4 in abort () from /lib/libc.so.6 > #2 0x40261c94 in __libc_message () from /lib/libc.so.6 > #3 0x4026c248 in malloc_printerr () from /lib/libc.so.6 > #4 0x4026c740 in malloc_consolidate () from /lib/libc.so.6 > #5 0x4026f5d0 in _int_malloc () from /lib/libc.so.6 > #6 0x40270ee8 in calloc () from /lib/libc.so.6 > #7 0x4025ffc8 in open_memstream () from /lib/libc.so.6 > #8 0x402d04a8 in __vsyslog_chk () from /lib/libc.so.6 > #9 0x2a011af4 in connman_debug () > #10 0x2a015d08 in ?? () > #11 0x2a015d08 in ?? () > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > > > I was not getting core dump because of connman signal handler function in > src/log.c. So commented signal handler and got core dump. > > -Raghu > > > > On Fri, Oct 1, 2010 at 4:14 PM, Raghavendra. S < > [email protected]> wrote: > >> Hi Daniel, >> >> >> I dont know reason, but I am not getting core dump file for connman. I >> set "ulimit -c unlimited". Still I am not getting. >> >> Now reproducing signal 6 is very easy, first connect to some AP. Then >> execute below command. >> Replace objpath of ur connected AP. >> >> dbus-send --system --print-reply --dest=org.moblin.connman / >> org.moblin.connman.Manager.RegisterCounter >> objpath:/profile/default/wifi_60d0a919e80d_62726f777365723031_managed_psk >> uint32:1 uint32:10 >> >> >> Also please find complete log from when I started connmand in below link. >> >> http://pastebin.com/iXi1VH6N >> >> I am using connmand-0.61. >> >> >> -Raghu >> >> >> >> On Wed, Sep 29, 2010 at 7:52 PM, Daniel Wagner <[email protected]> wrote: >> >>> Hi, >>> >>> On Wed, Sep 29, 2010 at 09:29:18AM +0900, Raghavendra. S wrote: >>> > Hi All, >>> > >>> > I am using connmand-0.61. It got crashed with double free error, >>> while >>> > unregistering counter. Please find below logs >>> >>> Can you provide me a gdb backtrace or use the fabulous script >>> 'backtrace' on the log you provided. Without the symbol names, it's >>> quite hard to see what's wrong. >>> >>> thanks, >>> daniel >>> >> >> >> >> -- >> Regards & Thanks >> Raghavendra. S >> 9880329621 >> > > > > -- > Regards & Thanks > Raghavendra. S > 9880329621 > -- Regards & Thanks Raghavendra. S 9880329621 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
