[asterisk-dev] asterisk-1.2.12 iLBC decode cause core dump

Ma Zhiyong zhiyong.m at gmail.com
Tue Sep 12 03:40:52 MST 2006


I just installed asterisk-1.2.12, zaptel-1.2.8(ztdummy).
I use this server talk with another * server through IAX2 trunk. and
codec is iLBC between these two servers.

I run new asterisk about 2 hours, and calls reach 40-50 all the times.
Then it crash with core dump.

I use "gdb, bt" got the dump result


#0  0x40b86b76 in iLBC_decode (decblock=0x9a4a60dc, bytes=0x9a4a60dc
<Address 0x9a4a60dc out of bounds>, iLBCdec_inst=0x86fb82c,
    mode=1) at iLBC_decode.c:391
391                 unpack( &pbytes, &lastpart,
(gdb)
(gdb) bt
#0  0x40b86b76 in iLBC_decode (decblock=0x9a4a60dc, bytes=0x9a4a60dc
<Address 0x9a4a60dc out of bounds>, iLBCdec_inst=0x86fb82c,
    mode=1) at iLBC_decode.c:391
#1  0x3a176956 in ?? ()
#2  0xc8332bb1 in ?? ()
Cannot access memory at address 0xddc4c070


More information about the asterisk-dev mailing list