[asterisk-dev] asterisk crashing at ast_reset_cdr()

Atif Rasheed atif at iphonica.com
Mon Oct 9 23:04:29 MST 2006


Hello all,

I am running callingcard app (callingcard.c)  Asterisk 1.2.12.1 on
Fedora Core 4. Now asterisk is crashing at ast_reset_cdr(). Please comment.

here is gdb back trace.

(gdb) bt
#0  0xb7b9735c in __cxa_finalize at plt () from
/usr/lib/asterisk/modules/app_callingcard.so
#1  0xb7b9ca0a in callingcard_exec (chan=0xb7742250, data=0xb74b2fe8) at
app_callingcard.c:1321
#2  0x0808dc83 in pbx_extension_helper (c=0xb7742250, con=Variable "con"
is not available.
) at pbx.c:553
#3  0x0808f124 in __ast_pbx_run (c=0xb7742250) at pbx.c:2230
#4  0x0808fd3c in pbx_thread (data=0xb7742250) at pbx.c:2517
#5  0x441e3bd4 in start_thread () from /lib/libpthread.so.0
#6  0x4413b4fe in clone () from /lib/libc.so.6

and line 1321 is :::
        ast_cdr_reset(chan->cdr,0);

really appreciate your help ...

Thank you & regards,
--
Atif


More information about the asterisk-dev mailing list