Re: [asterisk-users] * core file not recognized

2007-07-21 Thread Tzafrir Cohen
On Sat, Jul 21, 2007 at 04:35:21PM -0700, Jay Wilton wrote: > > Jay Wilton wrote: > > > gdb /usr/sbin/asterisk -c /tmp/core.4545 > > > "/tmp/core.4545" is not a core dump: File format not > > > recognized > > > > Does the user running gdb have proper permissions to the > > core file? > > I was r

Re: [asterisk-users] * core file not recognized

2007-07-21 Thread Jay Wilton
> Jay Wilton wrote: > > gdb /usr/sbin/asterisk -c /tmp/core.4545 > > "/tmp/core.4545" is not a core dump: File format not > > recognized > > Does the user running gdb have proper permissions to the > core file? I was running gdb as root. Asterisk is running as the asterisk user. I chmod 777'd

Re: [asterisk-users] * core file not recognized

2007-07-21 Thread Russell Bryant
Jay Wilton wrote: > 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 Does the user running gdb have p

Re: [asterisk-users] * core file not recognized

2007-07-20 Thread Tzafrir Cohen
On Fri, Jul 20, 2007 at 10:09:33AM -0700, Jay Wilton wrote: > > --- Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > > "/tmp/core.4545" is not a core dump: File format not > > > recognized > > > > So what is that file? > > file core.4545 > core.4545: ELF 32-bit LSB core file Intel 80386, version 1 >

Re: [asterisk-users] * core file not recognized

2007-07-20 Thread Jay Wilton
--- Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > "/tmp/core.4545" is not a core dump: File format not > > recognized > > So what is that file? file core.4545 core.4545: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, SVR4-style, from 'asterisk' > > The box was rebooted befor

Re: [asterisk-users] * core file not recognized

2007-07-19 Thread Tzafrir Cohen
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

[asterisk-users] * core file not recognized

2007-07-19 Thread Jay Wilton
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". "/tm