[Home]

Summary:ASTERISK-06711: Asterisk crash II
Reporter:Tim Ferguson (crashhd)Labels:
Date Opened:2006-04-05 19:10:01Date Closed:2006-05-12 11:02:42
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:My asterisk is doing very simple trunking. Converting iax2 calls (inbound) to pri calls which terminate to other pbx's (non asterisk).

I have another bug report open for asterisk crashing on a 2.4 kernel. I've since rebuilt the machine with 2.6 kernel and have gotten another crash but with completely different gdb information.

System is a dual p4 3.06 ghz (HT). 4 gigs of ram (ecc ddr 2700). CentOS 4.3, kernel: 2.6.9-34.ELsmp.

****** ADDITIONAL INFORMATION ******

(gdb) bt full
#0  0x001d8009 in schedule_delivery (fr=0xb7a72a98, updatehistory=Variable "updatehistory" is not available.
) at chan_iax2.c:2378
       len = 20
       ret = Variable "ret" is not available.
(gdb) bt
#0  0x001d8009 in schedule_delivery (fr=0xb7a72a98, updatehistory=Variable "updatehistory" is not available.
) at chan_iax2.c:2378
#1  0x001e731d in socket_read (id=0x952ec00, fd=8, events=1, cbdata=0x9540ee8) at chan_iax2.c:7614
#2  0x08055b5f in ast_io_wait (ioc=0x953fa48, howlong=0) at io.c:284
#3  0x001dedaf in network_thread (ignore=0x0) at chan_iax2.c:7983
#4  0x00c93371 in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-1  0x00a849be in clone () from /lib/tls/libc.so.6
(gdb)
Comments:By: Tim Ferguson (crashhd) 2006-04-05 19:10:48

When it crashed today the exit code was 11.

By: Andrey S Pankov (casper) 2006-04-06 08:45:38

"show version files chan_iax2.c" shows "Revision: 16771", right?

Then chan_iax2.c:2378 should be
       if( (!ast_test_flag(iaxs[fr->callno], IAX_FORCEJITTERBUF)) &&
Can you 'print fr->callno' and 'print iaxs[fr->callno]' in gdb?

Are you sure you are using unmodified asterisk 1.2?

By: Serge Vecher (serge-v) 2006-05-04 10:16:29

CrashHDD: can you please test the latest 1.2/or trunk code? Many changes there...

Thanks.

By: Serge Vecher (serge-v) 2006-05-12 11:02:42

CrashHD: if you can reproduce the crash in the latest 1.2 branch code (rev > 26000), please reopen a new backtrace from Asterisk built with 'make dont-optimize'.