[asterisk-bugs] [Asterisk 0011594]: Asterisk dies on chan_zap reload

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 3 17:09:01 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11594 
====================================================================== 
Reported By:                yem
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   11594
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-18-2007 12:10 CST
Last Modified:              06-03-2008 17:09 CDT
====================================================================== 
Summary:                    Asterisk dies on chan_zap reload
Description: 
Asterisk dies when I do: module reload chan_zap.so.
Here is the output I get on the console:

local*CLI> module reload chan_zap.so
local*CLI> [Dec 18 12:59:20] WARNING[1024]: chan_zap.c:11129 process_zap:
Ignoring switchtype
[Dec 18 12:59:20] WARNING[1024]: chan_zap.c:11129 process_zap: Ignoring
resetinterval
[Dec 18 12:59:20] WARNING[1024]: chan_zap.c:11129 process_zap: Ignoring
overlapdial
[Dec 18 12:59:20] WARNING[1024]: chan_zap.c:11129 process_zap: Ignoring
priindication
[Dec 18 12:59:20] WARNING[1024]: chan_zap.c:11129 process_zap: Ignoring
facilityenable
[Dec 18 12:59:20] WARNING[1024]: chan_zap.c:11129 process_zap: Ignoring
signalling
/usr/sbin/safe_asterisk: line 117:   954 Segmentation fault      nice -n
$PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
Asterisk ended with exit status 139
Asterisk exited on signal 11.

Disconnected from Asterisk server
local:~# Automatically restarting Asterisk.

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

---------------------------------------------------------------------- 
 svnbot - 06-03-08 17:09  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120173

U   branches/1.4/main/config.c

------------------------------------------------------------------------
r120173 | jpeeler | 2008-06-03 17:09:00 -0500 (Tue, 03 Jun 2008) | 6 lines

(closes issue http://bugs.digium.com/view.php?id=11594)
Reported by: yem
Tested by: yem

This change decreases the buffer size allocated on the stack substantially
in config_text_file_load when LOW_MEMORY is turned on. This change combined
with the fix from revision 117462 (making mkintf not copy the zt_chan_conf
structure) was enough to prevent the crash.

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-08 17:09  svnbot         Note Added: 0087753                          
======================================================================




More information about the asterisk-bugs mailing list