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

nkiesel@tbdnetworks.com nkiesel@tbdnetworks.com
Sun Jul 16 10:18:00 GMT 2006


>Number:         2148
>Category:       threads
>Synopsis:       gdb can't read core dumps from crashed multi-threaded C++ programs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 16 10:18:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     nkiesel@tbdnetworks.com
>Release:        GNU gdb 6.4.90-debian
>Organization:
>Environment:
glibc 2.3.6-15 with NPTL
g++ (GCC) 4.1.2 20060708 (prerelease) (Debian 4.1.1-8)
Debian unstable i386
>Description:
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?

Best,
  Norbert
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list