[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 CLOSED 
====================================================================== 
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:                 open
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...
====================================================================== 

---------------------------------------------------------------------- 
 (0119664) lmadsen (administrator) - 2010-03-22 14:10
 https://issues.asterisk.org/view.php?id=17059#c119664 
---------------------------------------------------------------------- 
Hey Alec,

After discussing with Russell, this appears like this is a duplicate of
the other issue, or rather the base issue is really the same here.

I think what you've done is acknowledged there is really two issues in one
issue, and have kindly broken them up into separate issues to be resolved
(which is always appreciated!), but in this case I think they two issues
are so closely related that we can just track it on the originally opened
issue instead of spreading it across a couple of issues.

If you disagree and I'm misunderstanding, then I'm sure you'll let us
know.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-22 14:10 lmadsen        Note Added: 0119664                          
2010-03-22 14:10 lmadsen        Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list