[asterisk-bugs] [Asterisk 0011290]: Asterisk crashed on reloading

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 21 08:08:56 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11290 
====================================================================== 
Reported By:                IgorG
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   11290
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89399 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-19-2007 03:46 CST
Last Modified:              11-21-2007 08:08 CST
====================================================================== 
Summary:                    Asterisk crashed on reloading
Description: 
On every reload asterisk crash. Back trace attached.

I have following on console:
WARNING: Realloc of unalloced memory at 0x834cc60, in ast_str_make_space
of
/usr/src/voip/asterisk-trunk/asterisk-89394.orig/include/asterisk/strings.h,
line 403
Segmentation fault (core dumped)

====================================================================== 

---------------------------------------------------------------------- 
 ys - 11-21-07 08:08  
---------------------------------------------------------------------- 
I, found, if first extension added in context, created following hashtab
entry in ast_add_extension2():
con->root_tree
con->root->peer_tree
con->root->peer_label_tree

And, if we destroy last (or all) extensions from context, hastab
con->root_tree are not destroyed.

I upload main.pbx.c.v2.diff, that fix coredump problem in my workspace. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-21-07 08:08  ys             Note Added: 0074135                          
======================================================================




More information about the asterisk-bugs mailing list