[sr-dev] crash at f_malloc.c

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 21 21:14:25 CEST 2015


I wonder what makes the local var 'hash' to be printed but not 'after'.
If you installed from deb, do you have the kamailio-dbg package installed?

Daniel

On 21/09/15 20:52, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> Strange that 'info locals' doesn't print all local variables, can you get:
>>
>> frame 0
>> print after
> no luck:
>
> (gdb) frame 0
> #0  0x00000000005f7575 in fm_insert_free (frag=<optimized out>, qm=<optimized out>) at mem/f_malloc.c:242
> 242	in mem/f_malloc.c
> (gdb) print after
> $2 = <optimized out>
>
> -- juha

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat




More information about the sr-dev mailing list