connmand-0.61 crashed with double free or corruption

Raghavendra. S raghavendra.akkasali at gmail.com
Fri Oct 1 01:20:02 PDT 2010


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 <
raghavendra.akkasali at gmail.com> 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 <wagi at monom.org> 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


More information about the connman mailing list