[asterisk-bugs] [Asterisk 0017448]: Asterisk will not Start - Just crashes.
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jun 2 14:54:21 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17448
======================================================================
Reported By: mcurry
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17448
Category: Addons/General
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.6.2.8
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-06-02 14:37 CDT
Last Modified: 2010-06-02 14:54 CDT
======================================================================
Summary: Asterisk will not Start - Just crashes.
Description:
I cannot start asterisk, it keeps crashing and core dumping.
Using Centos Linux v5
-----------
Linux f2e6.XXXXX.com 2.6.18-164.15.1.el5
https://issues.asterisk.org/view.php?id=1 SMP Wed Mar 17 11:30:06 EDT
2010 x86_64 x86_64 x86_64 GNU/Linux
I have this hardware card
-------------------------
-Four (4) span digital T1/E1/J1/PRI PCI-Express x1 3.3V
I am using Fax for Asterisk
---------------------------
Version: 1.6.2.0 and later, on a 64-bit-bit "generic" system
-res_fax-1.6.2.0_1.2.0-x86_64.tar.gz
-res_fax_digium-1.6.2.0_1.2.0-generic_64.tar.gz
-using 1 free, plus 10 purchased licenses.
<removed inline backtrace> - pabelanger
I will also include some config files, as it looks like something is
blowing up with a config file...
Please note, I did trim the comments out of the config files for display
here... If you need the fill ones, please let me know.
extensions.conf
---------------
[fax-rx]
exten => receive,1,NoOp(**** FAX RECEIVE ****)
exten => receive,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ])
exten => receive,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})
exten => receive,n,Set(FAXFILE=fax-${FAXCOUNT}-rx.tif)
exten => receive,n,Set(GLOBAL(LASTFAXCALLERNUM)=${CALLERID(num)})
exten => receive,n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)})
exten => receive,n,NoOp(**** SETTING FAXOPT ****)
exten => receive,n,Set(FAXOPT(ecm)=yes)
exten => receive,n,Set(FAXOPT(headerinfo)=MY FAXBACK RX)
exten => receive,n,Set(FAXOPT(localstationid)=1234567890)
exten => receive,n,Set(FAXOPT(maxrate)=14400)
exten => receive,n,Set(FAXOPT(minrate)=2400)
exten => receive,n,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})
exten => receive,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)})
exten => receive,n,NoOp(FAXOPT(localstationid) :
${FAXOPT(localstationid)})
exten => receive,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)})
exten => receive,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)})
exten => receive,n,NoOp(**** RECEIVING FAX : ${FAXFILE} ****)
exten => receive,n,ReceiveFAX(/var/spool/asterisk/fax/${FAXFILE})
; print opts
exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})
exten => h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)})
exten => h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)})
exten => h,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)})
exten => h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)})
exten => h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)})
exten => h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)})
exten => h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)})
exten => h,n,NoOp(FAXOPT(remotestationid) : ${FAXOPT(remotestationid)})
exten => h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)})
exten => h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)})
exten => h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)})
exten => h,n,NoOp(FAXOPT(error) : ${FAXOPT(error)})
; do something
[fax-tx]
exten => send,1,NoOp(**** SENDING FAX ****)
exten => send,n,Wait(6)
exten => send,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ])
exten => send,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})
exten => send,n,Set(FAXFILE=dw-faxout.tif)
;SET FAX OPTS
exten => send,n,NoOp(**** SETTING FAXOPT ****)
exten => send,n,Set(FAXOPT(ecm)=yes)
exten => send,n,Set(FAXOPT(headerinfo)=Fax from $
{GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.)
exten => send,n,Set(FAXOPT(localstationid)=1234567890)
exten => send,n,Set(FAXOPT(maxrate)=14400)
exten => send,n,Set(FAXOPT(minrate)=2400)
; Send the fax
exten => send,n,NoOp(**** SENDING FAX : ${FAXFILE} ****)
exten => send,n,SendFAX(/home/dwayne/faxout/${FAXFILE},d)
; Hangup! Print FAXOPTs
exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})
exten => h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)})
exten => h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)})
exten => h,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)})
exten => h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)})
exten => h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)})
exten => h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)})
exten => h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)})
exten => h,n,NoOp(FAXOPT(remotestationid) : ${FAXOPT(remotestationid)})
exten => h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)})
exten => h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)})
exten => h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)})
exten => h,n,NoOp(FAXOPT(error) : ${FAXOPT(error)})
[default]
exten => fax,1,NoOp(**** FAX DETECTED ****)
exten => fax,n,Goto(fax-rx,receive,1)
sip.conf
--------
[general]
context=default ; Default context for incoming calls
allowguest=yes ; Allow or reject guest calls (default is
yes)
allowoverlap=yes ; Disable overlap dialing support.
(Default is yes)
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to
(0.0.0.0 binds to all)
tcpenable=no ; Enable server for incoming TCP
connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to
(0.0.0.0 binds to all interfaces)
tlsenable=no ; Enable server for incoming TLS (secure)
connections (default is no)
srvlookup=yes ; Enable DNS SRV lookups on outbound
calls
t38pt_udptl = yes ; Enables T.38 with FEC error correction.
faxdetect = yes ; Default false
[authentication]
[1000]
regexten=1000 ; When they register, create extension
1234
callerid="Mike Curry" <1000>
disallow=all
allow=gsm ; GSM consumes far less bandwidth than
ulaw
allow=ulaw
allow=alaw
registertrying=yes ; Send a 100 Trying when the device
registers.
type=friend
defaultuser=1000
secret=12345
host=dynamic
context=phones
allow=all
dahdi-channels.conf
-------------------
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Apr 30 12:20:33 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is
intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global
settings
;
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) B8ZS/ESF
group=0,11
context=fax-out
switchtype = national
signalling = pri_cpe
channel => 1-23
context = default
group = 1
======================================================================
----------------------------------------------------------------------
(0122837) lmadsen (administrator) - 2010-06-02 14:54
https://issues.asterisk.org/view.php?id=17448#c122837
----------------------------------------------------------------------
Can you confirm if removing that line resolves the crashing, and placing it
back in causes the crashing?
It seems highly unlikely the config file parser is to blame as it is the
same in all of Asterisk, and modules don't see comments in the config
files.
Issue History
Date Modified Username Field Change
======================================================================
2010-06-02 14:54 lmadsen Note Added: 0122837
======================================================================
More information about the asterisk-bugs
mailing list