[asterisk-dev] no core dump file found

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Dec 25 01:14:19 MST 2006


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


More information about the asterisk-dev mailing list