[Home]

Summary:ASTERISK-11145: IAX crashes
Reporter:snuffy (snuffy)Labels:
Date Opened:2008-01-03 16:33:36.000-0600Date Closed:2008-01-03 16:42:58.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt-iax-1.txt
( 1) bt-iax-2.txt
Description:Upgraded a server from 1.4.14 to 1.4.17 and got two core dumps.

It failed with the following:
#0  0x081b3233 in socket_process (thread=0x8d1df00) at chan_iax2.c:6397
6397                                                                            if (iaxs[fr->callno]->last < fr->ts) {
(gdb) bt full
#0  0x081b8748 in socket_process (thread=0x98b2700) at chan_iax2.c:6787

Attached are the full backtraces etc, they are unfortunately from the 'optimised' build. I have recompiled with dont optimise and waiting until tonight to replace the binary and see if the problem re-occurs.
Comments:By: Digium Subversion (svnbot) 2008-01-03 16:41:09.000-0600

Repository: asterisk
Revision: 96394

U   branches/1.4/channels/chan_iax2.c

------------------------------------------------------------------------
r96394 | russell | 2008-01-03 16:41:08 -0600 (Thu, 03 Jan 2008) | 3 lines

Don't crash if the iax2 pvt structure has been destroyed before we get to this point
(closes issue ASTERISK-11145, reported by snuffy, patched by me)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=96394

By: Digium Subversion (svnbot) 2008-01-03 16:42:58.000-0600

Repository: asterisk
Revision: 96395

_U  trunk/
U   trunk/channels/chan_iax2.c

------------------------------------------------------------------------
r96395 | russell | 2008-01-03 16:42:57 -0600 (Thu, 03 Jan 2008) | 11 lines

Merged revisions 96394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96394 | russell | 2008-01-03 16:44:22 -0600 (Thu, 03 Jan 2008) | 3 lines

Don't crash if the iax2 pvt structure has been destroyed before we get to this point
(closes issue ASTERISK-11145, reported by snuffy, patched by me)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=96395