[Home]

Summary:ASTERISK-14728: Hard crash in send_packet (Asterisk 1.2.33-BRIstuffed-0.3.0-PRE-1y-u)
Reporter:tomsullivan (tomsullivan)Labels:
Date Opened:2009-08-27 23:42:30Date Closed:2009-08-28 11:00:42
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) core_debug.txt
Description:Asterisk has hard crashed. The pertinent stack trace line is:
#0  0x00007fbe772fb48b in send_packet (f=0x7fbe6dd7e960) at chan_iax2.c:1760
poking around in the source from gdb:

(gdb) p f->callno
$1 = 12554
(gdb) p iaxs[f->callno]
$2 = (struct chan_iax2_pvt *) 0x0

Which is the obvious culprit.

This seems odd given that only 9 lines earlier (chan_iax2.c:1751):

if (!iaxs[f->callno])

So the iaxs array seems to have been modified in the intervening time.

As noted in the title, the version we are running is:

Asterisk 1.2.33-BRIstuffed-0.3.0-PRE-1y-u
Comments:By: Jason Parker (jparker) 2009-08-28 11:00:42

1.2 is in security release maintenance mode.  It will only receive security fixes.

Additionally, BRIstuffed patches are unsupported here.