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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 7 16:23:24 CST 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:                     feedback
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:              11-07-2007 16:23 CST
====================================================================== 
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 - 11-07-07 16:23  
---------------------------------------------------------------------- 
OK, I've pretty much spent the whole day working on this one; I've gone
thru 1.4 with valgrind, to find any memory leaks or gross uninitialized var
refs, and found a few minor leaks and repaired them in 1.4 and trunk. But I
have also previously cleaned up the config code as far as freeing up
extension/contexts/priorities. Since your crash is related to possible
corruption in that part of the code, I am now quite curious to see if that
fixed the problem.

BTW, I have been playing with your extensions, and find that on my little
test machine, your config takes anywhere from 3.5 minutes to 5 minutes to
"extensions reload" !! Someday, I'm going to try to find out why it's so
slow. The initial load is much faster. (Maybe something slow in
merge_and_delete()). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-07-07 16:23  murf           Note Added: 0073327                          
======================================================================




More information about the asterisk-bugs mailing list