Bug 672230 - internal-error: could not find partial DIE
Summary: internal-error: could not find partial DIE
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: rawhide
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Tromey
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-24 13:59 UTC by Martin Stransky
Modified: 2014-08-11 05:46 UTC (History)
6 users (show)

Fixed In Version: gdb-7.2.90.20110411-34.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-15 21:23:03 UTC
Type: ---


Attachments (Terms of Use)
.mozconfig file (1.21 KB, application/octet-stream)
2011-01-24 13:59 UTC, Martin Stransky
no flags Details

Description Martin Stransky 2011-01-24 13:59:28 UTC
Created attachment 474965 [details]
.mozconfig file

Description of problem:
gdb fails to debug firefox on rawhide

Version-Release number of selected component (if applicable):
gdb-7.2.50.20110117-13.fc15.i686
gcc-4.6.0-0.3.fc15.i686

How reproducible:
Always

Steps to Reproduce:
1. hg clone http://hg.mozilla.org/mozilla-central/ src
2. apply a patch from https://bugzilla.mozilla.org/show_bug.cgi?id=628252
3. copy the attached .mozconfig to src directory
4. build with "make -f client.mk build"
5. cd dist/bit
6. ./firefox -g -d gdb
7. (gdb) r
  
Actual results:
../../gdb/dwarf2read.c:9438: internal-error: could not find partial DIE 0x303d3bd in cache [from module /home/komat/tmp592-b8/src/dist/bin/libxul.so]?

Comment 1 Jan Kratochvil 2011-01-25 18:52:49 UTC
reproducer:
http://people.redhat.com/jkratoch/gcc46.C

Comment 2 Jan Kratochvil 2011-01-26 13:04:07 UTC
gdb -readnow can be used as a workaround.

Comment 3 Jan Kratochvil 2011-01-26 14:49:31 UTC
Temporary fix is in: gdb-7.2.50.20110125-15.fc15

Comment 4 Martin Stransky 2011-01-26 15:09:07 UTC
gdb-7.2.50.20110125-15.fc15 works for me, thanks.

Comment 5 Dodji Seketeli 2011-01-28 11:15:40 UTC
This is a GCC bug. There is this upstream problem report
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47510 to track it.

Comment 6 Tom Tromey 2011-02-02 20:24:40 UTC
I sent a patch:
http://sourceware.org/ml/gdb-patches/2011-02/msg00029.html
This works with the GCC after the patch in the GCC PR has been applied.

Comment 7 Tom Tromey 2011-04-01 17:52:33 UTC
I checked in a different patch, updated for changes to GCC:

http://sourceware.org/ml/gdb-patches/2011-03/msg00916.html

Comment 8 Fedora Update System 2011-04-11 20:59:08 UTC
gdb-7.2.90.20110411-34.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gdb-7.2.90.20110411-34.fc15

Comment 9 Fedora Update System 2011-04-13 04:53:02 UTC
Package gdb-7.2.90.20110411-34.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdb-7.2.90.20110411-34.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/gdb-7.2.90.20110411-34.fc15
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2011-04-15 21:22:57 UTC
gdb-7.2.90.20110411-34.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.