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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 3 17:11:46 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             12-18-2007 12:10 CST
Last Modified:              06-03-2008 17:11 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:11  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120178

U   branches/1.6.0/main/config.c

------------------------------------------------------------------------
r120178 | jpeeler | 2008-06-03 17:11:44 -0500 (Tue, 03 Jun 2008) | 22
lines

Merged revisions 120174 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r120174 | jpeeler | 2008-06-03 17:17:07 -0500 (Tue, 03 Jun 2008) | 14
lines

Merged revisions 120173 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r120173 | jpeeler | 2008-06-03 17:15:33 -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=120178 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-08 17:11  svnbot         Checkin                                      
06-03-08 17:11  svnbot         Note Added: 0087755                          
======================================================================




More information about the asterisk-bugs mailing list