Summary:ASTERISK-15126: Failed assertion in chan_iax2 update_registry/ast_sched_del
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2009-11-12 12:23:48.000-0600Date Closed:
Versions:Frequency of
Environment:Attachments:( 0) bt.asterisk-dev-mc-2009-11-12T19:21:59+0200.7372.txt
Description:When asterisk is compiled with --enable-dev-mode and DO_CRASH, it sometimes fails with:

chan_iax2.c: FRACK!, Failed assertion s != NULL (0)

Full backtrace attached
Comments:By: Atis Lezdins (atis) 2009-11-13 08:11:50.000-0600

Different (and more rare) kind of the same assertion failure:

# 0  0x0000003a41e30ec5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
# 1  0x0000003a41e32970 in abort () at abort.c:88
# 2  0x00000000005373ab in _ast_sched_del (con=0x205cad8, id=1297, file=0x2aaabced3f14 "chan_iax2.c", line=1547, function=0x2aaabced4780 "iax2_destroy_helper") at sched.c:387
# 3  0x00002aaabce85a2a in iax2_destroy_helper (pvt=0x2aaad407fd40) at chan_iax2.c:1547
# 4  0x00002aaabce8c187 in iax2_predestroy (callno=4879) at chan_iax2.c:3116
# 5  0x00002aaabce9de99 in send_command_final (i=0x2aaad407fd40, type=6 '\006', command=15, ts=0, data=0x40456de0 "\006\tiaxmodem1\037\004\023me\230\023\002\001,\022\020\002", datalen=39, seqno=-1) at chan_iax2.c:7011
# 6  0x00002aaabcea96ba in update_registry (sin=0x40459b30, callno=4879, devtype=0x0, fd=9, refresh=300) at chan_iax2.c:8332