[asterisk-bugs] [Asterisk 0017710]: bad magic number : loops indefinitly

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 20 17:24:53 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17710 
====================================================================== 
Reported By:                bwg
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17710
Category:                   General
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Target Version:             1.6.2.15
Asterisk Version:           SVN 
JIRA:                       SWP-1946 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 273055 
Request Review:              
====================================================================== 
Date Submitted:             2010-07-25 19:38 CDT
Last Modified:              2010-09-20 17:24 CDT
====================================================================== 
Summary:                    bad magic number : loops indefinitly
Description: 
Hi,

Every now and again (i.e. after a few days), we have the following message
that displays indefinitly :

ERROR[9933]: astobj2.c:116 INTERNAL_OBJ: bad magic number 0x0 for
0x21c1508.

Eventhough, we had a similar error in the past, it seems that this one is
different. Not withstanding the fact that the previous "bad majic number"
error had its symptomes fixed but not the cause.

Have attached a core dump at the time it happened.

Cheers,
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017801 [patch] ERROR[7169] astobj2.c: bad magi...
====================================================================== 

---------------------------------------------------------------------- 
 (0127153) svnbot (reporter) - 2010-09-20 17:24
 https://issues.asterisk.org/view.php?id=17710#c127153 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 287671

_U  trunk/
U   trunk/main/channel.c

------------------------------------------------------------------------
r287671 | alecdavis | 2010-09-20 17:24:52 -0500 (Mon, 20 Sep 2010) | 20
lines

Merged revisions 287661 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287661 | alecdavis | 2010-09-21 10:21:50 +1200 (Tue, 21 Sep 2010) | 14
lines
  
  ast_do_masquerade. Keep channels ao2_container locked while unlink and
linking channels.
  
  Previously, Masquerade would unlock 'original' and 'clonechan' and allow
another masq thread to run.
  End result would be corrupted memory, and the frequent report 'Bad Magic
Number'.
  
  (closes issue
https://issues.asterisk.org/view.php?id=17801,https://issues.asterisk.org/view.php?id=17710)
  Reported by: notthematrix
  Patches: 
        Based on bug17801.diff1.txt uploaded by alecdavis (license 585)
  Tested by: alecdavis
  
  Review: https://reviewboard.asterisk.org/r/928
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=287671 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-20 17:24 svnbot         Checkin                                      
2010-09-20 17:24 svnbot         Note Added: 0127153                          
======================================================================




More information about the asterisk-bugs mailing list