[asterisk-bugs] [Asterisk 0011612]: Repeatedly calling Page with a LOCAL channel crashes asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Dec 20 14:13:22 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11612 
====================================================================== 
Reported By:                dtyoo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11612
Category:                   Applications/app_page
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-20-2007 13:41 CST
Last Modified:              12-20-2007 14:13 CST
====================================================================== 
Summary:                    Repeatedly calling Page with a LOCAL channel crashes
asterisk
Description: 
We recently had a situation where we had a dialplan programming error that
caused an infinite loop.  Placing a call into this piece of dialplan logic
re-producibly crashes asterisk.  While the dialplan logic is certainly in
error, I thought that someone could get something out of looking at these
backtraces.  It looks like there is some sort of memory corruption going on
that ultimately takes down asterisk.

The dialplan that causes the problem looks like this:

[page-crash]
exten => s,1,Set(TIMEOUT(absolute)=60)
exten => s,2,Page(LOCAL/1234 at tpn-dev,,)

[tpn-dev]
exten => 1234,1,Goto(page-crash,s,1)


Calling 1234 at tpn-dev triggers the loop which ultimately crashes asterisk. 
I don't expect good things to happen with a dialplan like this, but I'm
wondering if this scenario is exposing an underlying memory problem
somewhere.  I will upload backtrace info as well.

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

---------------------------------------------------------------------- 
 Corydon76 - 12-20-07 14:13  
---------------------------------------------------------------------- 
Please read and follow the instructions in doc/valgrind.txt. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-20-07 14:13  Corydon76      Note Added: 0075764                          
======================================================================




More information about the asterisk-bugs mailing list