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 crashedmulti-threaded C++ programs
- From: Norbert Kiesel <nkiesel at tbdnetworks dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 17 Jul 2006 07:08:01 -0000
- Subject: Re: threads/2148: gdb can't read core dumps from crashedmulti-threaded C++ programs
- Reply-to: Norbert Kiesel <nkiesel at tbdnetworks dot com>
The following reply was made to PR threads/2148; it has been noted by GNATS.
From: Norbert Kiesel <nkiesel@tbdnetworks.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: threads/2148: gdb can't read core dumps from crashed
multi-threaded C++ programs
Date: Mon, 17 Jul 2006 09:05:16 +0200
On Sun, 2006-07-16 at 23:22 -0400, Daniel Jacobowitz wrote:
> 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.
Hi,
core dump size is unlimited and I'm running 2.6.17.6. Sorry for not
mentioning before.
Best,
Norbert