[Home]

Summary:ASTERISK-11476: Crash when receiving IAX2 call (peer_hash_cb)
Reporter:km (km)Labels:
Date Opened:2008-02-19 13:16:56.000-0600Date Closed:2008-02-19 15:08:34.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) gdb_peerhashcb_backtrace.txt
( 1) gdb_peerhashcb_btfull.txt
Description:When the machine in question receives an IAX2 call, asterisk SIGSEGV's.

*CLI> show version
Asterisk 1.4.18 built by root @ ninvmmon.tpfx.com on a i686 running Linux on 2008-02-19 17:09:36 UTC

Backtrace attached as text file as per bug-guidelines.




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

IAX2 from initiation side (astmaster):

[ninvmmon]
type=friend
host=<removed>
secret=<removed>
disallow=all
allow=gsm
trunk=no
-----------------------------------------
IAX config on terminating endpoint (ninvmmon)
[astmaster]
type=friend
host=10.10.10.170
secret=b8UBRusWuNeXuze8
disallow=all
allow=gsm
trunk=no

Comments:By: km (km) 2008-02-19 13:20:47.000-0600

Here is the dialplan for calling ninvmmon from astmaster which generates the error.

 '1111' =>         1. Dial(IAX2/ninvmmon/<toll free number>)            

And this is the extension that grabs it:

[default]
exten => _NXXNXXXXXX,1,Dial(SIP/${EXTEN}@<siphost>)
exten => _NXXNXXXXXX,2,Congestion()

By: km (km) 2008-02-19 13:21:51.000-0600

[02:15PM] <russellb> km-: what version of gcc are you using?
[02:15PM] <russellb> gcc --version
[02:15PM] <km-> 3.2.3
[02:16PM] <km-> gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
[02:16PM] <km-> this is on a rhel 3 box.

By: km (km) 2008-02-19 14:34:36.000-0600

Upgrading to gcc 4.1.2 and recompiling asterisk fixed this issue.

By: Russell Bryant (russell) 2008-02-19 15:08:34.000-0600

Marking this as resolved.  Let us know if you have any further issues.