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 > '[EMAIL PROTECTED]' 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 > '[EMAIL PROTECTED]' > 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. [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Work phone: +1 800 7502835 _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users