[Home]

Summary:ASTERISK-09391: Segfault when bridge channel on iax_answer
Reporter:Alvaro Ivan Parres Peredo (arabe)Labels:
Date Opened:2007-05-05 14:16:48Date Closed:2007-07-11 19:58:50
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt-full.txt
Description:Asterisk is crashing with segfault when execute the function iax_answer

Two test have been made:

  SIP channel calling a IAX channel
  IAX channel calling a IAX channel
  IAX channel Calling a SIP channel

in all the cases crash with the same error, and similar back trace

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

Installed over a gentoo system, without zaptel support.
Comments:By: mackey (mackey) 2007-05-06 00:25:56

It's doing this on me too.  Latest svn update crashes, chan_iax2.c revision 62457 works fine.

Edit: channels/chan_iax2.c r62693 also works fine, r63032 does not.



By: mackey (mackey) 2007-05-06 01:44:49

Found it.  channels/chan_iax2.c line 3343, change
iax2_ami_channelupdate(c->tech_pvt);
to
iax2_ami_channelupdate(iaxs[callno]);

You might want to do a "if (iaxs[callno])" first though.

By: Joshua C. Colp (jcolp) 2007-05-06 15:08:43

Fixed in trunk as of revision 63182. Thanks!