[asterisk-bugs] [Asterisk 0011594]: Asterisk dies on chan_zap reload
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu May 15 15:33:51 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: 05-15-2008 15:33 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.
======================================================================
----------------------------------------------------------------------
yem - 05-15-08 15:33
----------------------------------------------------------------------
Ok, I installed:
zaptel-1.4.10.1
libpri-1.4.4
asterisk-1.4.19.2
asterisk-addons-1.4.6
wanpipe-3.3.9
I compiled with LOW_MEMORY and can reproduce the problem consistently. I
don't need anything attached on the PRI card. As soon as asterisk is
started I can get it to crash by doing a "reload chan_zap.so".
If I add the compile option DONT_OPTIMIZE, then it doesn't crash on
reload. If I don't compile with LOW_MEMORY, then it's fine as well.
Here is the output:
voip*CLI> core show version
Asterisk 1.4.19.2 built by root @ voip on a i686 running Linux on
2008-05-15 20:13:18 UTC
voip*CLI> core show uptime
System uptime: 38 seconds
voip*CLI> module reload chan_zap.so
[May 15 16:45:52] WARNING[12257]: chan_zap.c:11231 process_zap: Ignoring
switchtype
[May 15 16:45:52] WARNING[12257]: chan_zap.c:11231 process_zap: Ignoring
overlapdial
[May 15 16:45:52] WARNING[12257]: chan_zap.c:11231 process_zap: Ignoring
priindication
[May 15 16:45:52] WARNING[12257]: chan_zap.c:11231 process_zap: Ignoring
signalling
voip*CLI>
Disconnected from Asterisk server
voip:/usr/local/src/wanpipe# /usr/sbin/safe_asterisk: line 117: 12235
Segmentation fault (core dumped) nice -n $PRIORITY
${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.
Issue History
Date Modified Username Field Change
======================================================================
05-15-08 15:33 yem Note Added: 0086923
======================================================================
More information about the asterisk-bugs
mailing list