[asterisk-bugs] [Asterisk 0010578]: Asterisk crashes on reload of pbx_config.so

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 30 15:18:42 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10578 
====================================================================== 
Reported By:                dtyoo
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   10578
Category:                   PBX/pbx_config
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-27-2007 21:21 CDT
Last Modified:              08-30-2007 15:18 CDT
====================================================================== 
Summary:                    Asterisk crashes on reload of pbx_config.so
Description: 
After a recent upgrade from 1.2 to 1.4 we are getting intermittent crashes
when we issue a "reload pbx_config.so" from the asterisk console.  Notably,
our dialplan is quite large (http://bugs.digium.com/view.php?id=8#50MB).  This
did not appear to be a problem
under 1.2.  bt and bt full attached.  Since its not always re-producible,
I'm hoping that someone the bt will prove useful / informative to someone.
====================================================================== 

---------------------------------------------------------------------- 
 murf - 08-30-07 15:18  
---------------------------------------------------------------------- 
Well, my gut instinct is that this is some thread related thing. When the
dialplan gets big, it takes a long time to reload... and other things going
on at the same time....  the code is supposed to handle this well, but some
(imp)robable event might... well... cause a problem.

We'll see.

The backtrace says it died while "destroying" (freeing up) a context, and
an exten, and died in the free func. So, something is getting freed twice,
or mem is corrupted, or something...!

Is there any chance at all, that two reloads are being run in parallel? I
know, I know, I know, that should be safe....

Is there any way you can send, perhaps, a sanitized version of that 50 meg
of config file so we can see if we can reproduce the problem? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-30-07 15:18  murf           Note Added: 0069732                          
======================================================================




More information about the asterisk-bugs mailing list