[asterisk-users] * core file not recognized

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Jul 20 01:45:27 CDT 2007


On Thu, Jul 19, 2007 at 08:32:35PM -0700, Jay Wilton wrote:
> Hello,
> 
> I am trying to debug a machine that segfaults.  A core file
> is produced like /tmp/core.4545 .  The command and error:
> 
> gdb /usr/sbin/asterisk -c /tmp/core.4545
> GNU gdb 6.3-debian
> ...CUT
> This GDB was configured as "i386-linux"...Using host
> libthread_db library "/lib/libthread_db.so.1".
> 
> "/tmp/core.4545" is not a core dump: File format not
> recognized

So what is that file?

  file /tmp/core.4545

> 
> The box was rebooted before I had a change to run gdb, did
> I miss something?  Thank you.

Debian normally deletes the contents of /tmp upon boot.

-- 
               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-users mailing list