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