[asterisk-users] How to generate core dump?

Danny Nicholas danny at debsinc.com
Mon Mar 2 09:12:31 CST 2009


You could change your asterisk command to asterisk -vvg, but this will eat
your disk space if you have a large number of faults since each core.* file
produced takes up 1-13 Mb.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Edwards
Sent: Monday, March 02, 2009 9:08 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to generate core dump?

On Mon, 2 Mar 2009, Ken D'Ambrosio wrote:

> Asterisk segfaulted on me the other day; how do I tell it to generate a 
> core file so -- if it happens again -- I can attempt to debug?  I looked 
> in the obvious places in "make menuconfig" and didn't see anything 
> appropriate.

man asterisk, read about "-g."

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000

_______________________________________________
-- 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




More information about the asterisk-users mailing list