[asterisk-bugs] [Asterisk 0013998]: Bug with iax channel (and perhaps IAXmodem) : randomly crashes asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 4 13:30:28 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13998 
====================================================================== 
Reported By:                ad
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13998
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-01 03:52 CST
Last Modified:              2008-12-04 13:30 CST
====================================================================== 
Summary:                    Bug with iax channel (and perhaps IAXmodem) :
randomly crashes asterisk
Description: 
In one of my installations, asterisk randomly craches. This seems to be
caused by the chan_iax2 channel that I'm using with iaxmodems peers (used
by a hylafax server).

In case of, here is the modem configurations (located on the same
machine):

Iaxmodem side

device /dev/tty3955
owner uucp:uucp
mode 660
port 4570
refresh 60
server 127.0.0.1
peername 3955
secret fax3955
cidname <CID_NAME_OF_MODEM>
cidnumber <CID_NUMBER_OF_MODEM>
codec alaw

Asterisk side (iax.conf)

[3955]
type=friend
username=3955
secret=fax3955
qualify=yes
host=dynamic
port=4570
transfer=no
context=<DEFAULT_CONTEXT_USED>
disallow=all
allow=alaw

I've not recompiled asterisk with "optimisations disabled" for the core
dump trace, because it is a production system, but if it should be
necessary, I'll do it.

OS : Centos 5.1
====================================================================== 

---------------------------------------------------------------------- 
 (0095785) Corydon76 (administrator) - 2008-12-04 13:30
 http://bugs.digium.com/view.php?id=13998#c95785 
---------------------------------------------------------------------- 
The issue is specifically that the structure is locked in memory and this
should not cause a crash.  The only way for this to crash is if something
freed the structure without holding the lock (or memory was corrupted).  In
either case, valgrind is necessary to track this down. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-04 13:30 Corydon76      Note Added: 0095785                          
======================================================================




More information about the asterisk-bugs mailing list