[asterisk-dev] no core dump file found
Song Zhi Feng
songzf at ghtchina.com
Mon Dec 25 20:12:05 MST 2006
Thanks, Tzafrir. After I add "-g" option to the command-line parameters, the core file can be generated in /usr/sbin directory once the segmentation fault happens.
I run the Asterisk command manually under /usr/sbin.
-----Original Message-----
From: Tzafrir Cohen [mailto:tzafrir.cohen at xorcom.com]
Sent: Monday, December 25, 2006 4:14 PM
To: asterisk-dev at lists.digium.com
Subject: Re: [asterisk-dev] no core dump file found
On Mon, Dec 25, 2006 at 02:55:59PM +0800, Song Zhi Feng wrote:
> Hi, I run the asterisk box. But it often termitated unexpectively with
> segmentation fault. I try to find the reason through gdb the core file.
> However no core dump file can be found under /usr/sbin directory, where
> "asterisk" command is excuted. could you tell me why ? Thanks.
It should appear in the working directory of the Asterisk process, not
in thedirectory in which the binary happens to reside.
ls -l /proc/PID_OF_ASTERISK/cwd
Have you added the option -g to the command-line parameters of Asterisk?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list