[asterisk-users] asterisk crash and core dump

Atis Lezdins atis at iq-labs.net
Tue Sep 18 07:52:03 CDT 2007


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



More information about the asterisk-users mailing list