[asterisk-bugs] [Asterisk 0016069]: Crash on incoming IAX call from Asterisk 1.4.18 without DONT_OPTIMIZE

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 14 09:21:18 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16069 
====================================================================== 
Reported By:                philipp2
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16069
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.27-rc2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-14 09:21 CDT
Last Modified:              2009-10-14 09:21 CDT
====================================================================== 
Summary:                    Crash on incoming IAX call from Asterisk 1.4.18
without DONT_OPTIMIZE
Description: 
Call from ast1418 to ast1427rc2 always and immediately crashes ast1427rc2.
  Linux a.b.c.d 2.4.32 https://issues.asterisk.org/view.php?id=1 SMP i686
GNU/Linux (Debian Sarge)
  gcc (GCC) 3.4.4 

With debug flags enabled the crash does NOT occur and all is fine:
  [x] DONT_OPTIMIZE
ERROR[10459]: astobj2.c:114 INTERNAL_OBJ: bad magic number 0x1 for
0x81faa3c
-- Accepting AUTHENTICATED call from e.f.g.h:


; -- iax.conf peer on Asterisk box 1.4.18 for 1.4.27-rc2 --
[general]
calltokenoptional=0.0.0.0/0.0.0.0
maxcallnumbers=16
minregexpire=10
maxregexpire=60
delayreject=yes
autokill=yes

[ast1427rc2l]
context=default
type=user
auth=rsa
inkeys=otherkey
accountcode=xyz
language=en
jitterbuffer=no
disallow=all
allow=alaw
allow=g726

[ast1427rc2p]
context=default
type=peer
auth=rsa
outkeys=somekey
host=a.b.c.d
sendani=yes
qualify=2500
jitterbuffer=no
disallow=all
allow=alaw
allow=ilbc

; -- iax.conf peer on Asterisk box 1.4.27-rc2 for 1.4.18 --
[ast1418]
context=from-ast1418
type=user
auth=rsa
inkeys=somekey
disallow=all
jitterbuffer=no
allow=alaw

[ast1418p]
context=from-ast1418
type=peer
auth=rsa
outkeys=otherkey
host=e.f.g.h
qualify=2500
jitterbuffer=no
disallow=all
allow=alaw

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-14 09:21 philipp2       New Issue                                    
2009-10-14 09:21 philipp2       Asterisk Version          => 1.4.27-rc2      
2009-10-14 09:21 philipp2       Regression                => No              
2009-10-14 09:21 philipp2       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list