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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 21 07:15:37 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 07:15 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 07:15  
---------------------------------------------------------------------- 
I make tweak changes in pbx/pbx_config.c
for elimination this problem:

*CLI> dialplan add extension 1,1,hangup(), into test
    -- Added extension '1' priority 1 to test
Extension '1,1,hangup,' added into 'test' context
*CLI> dialplan remove extension 1 at test
asterisk in free(): error: modified (chunk-) pointer
Abort trap (core dumped)

see uploaded file: pbx.pbx_config.c.diff 

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




More information about the asterisk-bugs mailing list