threads/2148: gdb can't read core dumps from crashed multi-threaded C++ programs

Daniel Jacobowitz drow@false.org
Mon Jul 17 03:28:00 GMT 2006


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



More information about the Gdb-prs mailing list