[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:07:56 CDT 2010


The issue 0017037 has been set as DUPLICATE OF the following issue. 
====================================================================== 
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:                     new
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:              
====================================================================== 
Date Submitted:             2010-03-19 03:15 CDT
Last Modified:              2010-03-22 14:07 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:07 lmadsen        Relationship replaced    has duplicate 0017037
======================================================================




More information about the asterisk-bugs mailing list