My Asterisk installation crashes frequently.
Since it's a random event I am not able to reproduce
it so I can't say what is making it crash.
Here's a snippet of /var/log/asterisk/full just when
it crashes:
Sep 18 13:42:51 DEBUG[378] chan_zap.c: disabled echo
cancellation on channel 31
Sep 18 13:42:51 VERBOSE[378] logger.c: -- Hungup
'Zap/31-1'
Sep 18 13:42:51 DEBUG[32650] chan_sip.c: Stopping
retransmission on
'296b75a07e75877504b9374e2f37140e at 10.215.144.27' of
Request 102: Match Found
Sep 18 13:42:52 DEBUG[32677] manager.c: Manager
received command 'Command'
Sep 18 13:42:52 DEBUG[32677] manager.c: Manager
received command 'Command'
Sep 18 13:42:52 DEBUG[32677] manager.c: Manager
received command 'Command'
Sep 18 13:42:54 DEBUG[32650] chan_sip.c: (Provisional)
Stopping retransmission (but retaining packet) on
'2d247d5a221bf8c8441d0f9f602f71e8 at 10.215.144.27'
Request 102: Found
Sep 18 13:42:54 VERBOSE[419] logger.c: --
SIP/4002-082aef20 is ringing
---MESSAGE FROM SAFE_ASTERISK--- Automatically
restarting Asterisk.
Sep 18 13:43:03 VERBOSE[551] logger.c: Asterisk Event
Logger Started /var/log/asterisk/event_log
Sep 18 13:43:03 VERBOSE[551] logger.c: == Parsing
'/etc/asterisk/dnsmgr.conf':
Sep 18 13:43:03 VERBOSE[551] logger.c: == Parsing
'/etc/asterisk/dnsmgr.conf'
: Found
Sep 18 13:43:03 VERBOSE[551] logger.c: Asterisk
Dynamic Loader loading preload modules:
Sep 18 13:43:03 VERBOSE[551] logger.c: == Parsing
'/etc/asterisk/modules.conf'
safe_asterisk, ie FreePBX, notifies me that "Asterisk
exited on signal 11".
I have core dumps in /tmp.
What can I do to isolate the cause of these
segmentation faults?
Thank you for your advice,
Vieri
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
On Tue, 2007-09-18 at 05:15 -0700, Vieri wrote:> I have core dumps in /tmp. > > What can I do to isolate the cause of these > segmentation faults?You'd have to get an Asterisk developer to look at the backtraces generated from those core files. There's more information on the backtraces either in doc/backtrace.txt in the Asterisk source, or at the following URL: http://svn.digium.com/view/asterisk/branches/1.4/doc/backtrace.txt?revision=46298&view=markup If you're able to get some good backtraces, grab one of the Asterisk developers on the #asterisk-bugs channel in IRC (on the Freenode network) and they'd be happy to try to help you figure out the cause of your crashes. -- Jared Smith Community Relations Manager Digium, Inc.
On Tuesday 18 September 2007 15:15:38 Vieri wrote:> My Asterisk installation crashes frequently. > > Since it's a random event I am not able to reproduce > it so I can't say what is making it crash. > > Here's a snippet of /var/log/asterisk/full just when > it crashes: > > Sep 18 13:42:51 DEBUG[378] chan_zap.c: disabled echo > cancellation on channel 31 > Sep 18 13:42:51 VERBOSE[378] logger.c: -- Hungup > 'Zap/31-1' > Sep 18 13:42:51 DEBUG[32650] chan_sip.c: Stopping > retransmission on > '296b75a07e75877504b9374e2f37140e at 10.215.144.27' of > Request 102: Match Found > Sep 18 13:42:52 DEBUG[32677] manager.c: Manager > received command 'Command' > Sep 18 13:42:52 DEBUG[32677] manager.c: Manager > received command 'Command' > Sep 18 13:42:52 DEBUG[32677] manager.c: Manager > received command 'Command' > Sep 18 13:42:54 DEBUG[32650] chan_sip.c: (Provisional) > Stopping retransmission (but retaining packet) on > '2d247d5a221bf8c8441d0f9f602f71e8 at 10.215.144.27' > Request 102: Found > Sep 18 13:42:54 VERBOSE[419] logger.c: -- > SIP/4002-082aef20 is ringing > ---MESSAGE FROM SAFE_ASTERISK--- Automatically > restarting Asterisk. > Sep 18 13:43:03 VERBOSE[551] logger.c: Asterisk Event > Logger Started /var/log/asterisk/event_log > Sep 18 13:43:03 VERBOSE[551] logger.c: == Parsing > '/etc/asterisk/dnsmgr.conf': > Sep 18 13:43:03 VERBOSE[551] logger.c: == Parsing > '/etc/asterisk/dnsmgr.conf' > > : Found > > Sep 18 13:43:03 VERBOSE[551] logger.c: Asterisk > Dynamic Loader loading preload modules: > Sep 18 13:43:03 VERBOSE[551] logger.c: == Parsing > '/etc/asterisk/modules.conf' > > safe_asterisk, ie FreePBX, notifies me that "Asterisk > exited on signal 11". > > I have core dumps in /tmp. > > What can I do to isolate the cause of these > segmentation faults?You should compile asterisk with debbuging enabled (and optimization disabled), and then take backtraces from core dumps. Please see http://www.voip-info.org/wiki-Asterisk+debugging Regards, Atis -- Atis Lezdins VoIP Developer, IQ Labs Inc. atis at iq-labs.net Skype: atis.lezdins Cell Phone: +371 28806004 Work phone: +1 800 7502835