[asterisk-bugs] [Asterisk 0017059]: What causes 'Bad Magic Number'? As immediately after segfault.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 22 14:10:13 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17059 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17059
Category:                   Core/PBX
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 252241 
Request Review:              
Resolution:                 duplicate
Duplicate:                  0
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-03-19 03:15 CDT
Last Modified:              2010-03-22 14:10 CDT
====================================================================== 
Summary:                    What causes 'Bad Magic Number'? As immediately after
segfault.
Description: 
One way to get a 'Bad Magic Number' is to loop the Local Channel a number
of times.

This is repeatable with following test dialplan.

When 10000 is dialled the local channel is looped 20 times, and would
immediately segfault after some 'Exceptionly long queued frames...

[phones]
exten => _10020,1,Answer()
exten => _10020,n,Playback(test-tones-follow)
exten => _10020,n,Milliwatt()

exten => _1XXXX,1,Set(i=${MATH(${EXTEN}+1,int)})
exten => _1XXXX,n,Dial(Local/${i}@phones,,r)

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0017037 [patch] internal_ao2_ref fails to check...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-22 14:10 lmadsen        Resolution               open => duplicate   
======================================================================




More information about the asterisk-bugs mailing list