[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 10:27:58 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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 10:27 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

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

---------------------------------------------------------------------- 
 (0112265) aragon (reporter) - 2009-10-14 10:27
 https://issues.asterisk.org/view.php?id=16069#c112265 
---------------------------------------------------------------------- 
Looking at the crash I wonder if this might be fixed in a fresh checkout of
1.4 SVN

Revision 223550 - Directory Listing
Modified Sun Oct 11 18:34:37 2009 UTC (2 days, 20 hours ago) by russell

Remove a duplicate ao2_iterator_destroy(). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-14 10:27 aragon         Note Added: 0112265                          
======================================================================




More information about the asterisk-bugs mailing list