This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: threads/2148: gdb can't read core dumps from crashed multi-threaded C++ programs
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 17 Jul 2006 03:28:02 -0000
- Subject: Re: threads/2148: gdb can't read core dumps from crashed multi-threaded C++ programs
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR threads/2148; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: nkiesel@tbdnetworks.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: threads/2148: gdb can't read core dumps from crashed multi-threaded C++ programs
Date: Sun, 16 Jul 2006 23:22:07 -0400
On Sun, Jul 16, 2006 at 10:08:49AM -0000, nkiesel@tbdnetworks.com wrote:
> I have a multi-threaded C++ program that crashes. Since some time,
> the core files of this program can't be read by gdb anymore: "core
> core" says ""core" is not a core dump: File format not recognized".
>
> "readelf -n core" also reports errors though: "readelf: Error: Unable
> to read in 0x78 bytes of dynamic section", so it looks like gdb is
> not to blame. But perhaps someone has a soultion anyway?
Check ulimit -c?
Also check for kernel updates.
--
Daniel Jacobowitz
CodeSourcery