public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gdb/1903: internal-error: could not find partial DIE in cache
@ 2006-01-17 21:18 Mark Gritter
0 siblings, 0 replies; 7+ messages in thread
From: Mark Gritter @ 2006-01-17 21:18 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/1903; it has been noted by GNATS.
From: Mark Gritter <Mark.Gritter@Sun.COM>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: gdb/1903: internal-error: could not find partial DIE in cache
Date: Tue, 17 Jan 2006 13:11:00 -0800
I have encountered this bug as well. A release build (-g -O3) of one of
our programs compiled with gcc-3.2.3 triggers "internal-error: could not
find partial DIE in cache", but a debug build (-g O1) is fine.
I reproduced the problem under the gdb-6.4.50.20060112 snapshot, as well
as the 6.4, 6.3, and 6.2.1 releases.
I have not yet tried using a newer compiler release, as that could be
fairly disruptive, but I will give it a shot.
Backtrace of gdb:
#0 0x009737a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x009b2e59 in raise () from /lib/tls/libc.so.6
#2 0x009b4882 in abort () from /lib/tls/libc.so.6
#3 0x0808292a in internal_vproblem (problem=0xaa3fdc,
file=0x8231f68 "../../gdb-6.4.50.20060112/gdb/dwarf2read.c",
line=5468,
fmt=0x8232374 "could not find partial DIE in cache\n",
ap=0xbff892dc "")
at ../../gdb-6.4.50.20060112/gdb/utils.c:794
#4 0x08082abc in internal_verror (
file=0x8231f68 "../../gdb-6.4.50.20060112/gdb/dwarf2read.c",
line=5468,
fmt=0x8232374 "could not find partial DIE in cache\n",
ap=0xbff892dc "")
at ../../gdb-6.4.50.20060112/gdb/utils.c:809
#5 0x08082ae0 in internal_error (
file=0x8231f68 "../../gdb-6.4.50.20060112/gdb/dwarf2read.c",
line=5468,
string=0x8232374 "could not find partial DIE in cache\n")
at ../../gdb-6.4.50.20060112/gdb/utils.c:818
#6 0x0812d942 in find_partial_die_in_comp_unit (offset=0, cu=0x0)
at ../../gdb-6.4.50.20060112/gdb/dwarf2read.c:5468
#7 0x0812da54 in fixup_partial_die (part_die=0x884f2e8, cu=0xbff893d0)
at ../../gdb-6.4.50.20060112/gdb/dwarf2read.c:5512
#8 0x08128e92 in scan_partial_symbols (first_die=0xb4dacfc4,
lowpc=0xbff893c4, highpc=0xbff893c8, cu=0xbff893d0)
at ../../gdb-6.4.50.20060112/gdb/dwarf2read.c:1687
#9 0x08128ac6 in dwarf2_build_psymtabs_hard (objfile=0x84373c8, mainline=0)
at ../../gdb-6.4.50.20060112/gdb/dwarf2read.c:1507
#10 0x08124791 in elf_symfile_read (objfile=0x84373c8, mainline=0)
at ../../gdb-6.4.50.20060112/gdb/elfread.c:603
#11 0x080e96c4 in syms_from_objfile (objfile=0x84373c8, addrs=0x8424920,
offsets=0x843d6e4, num_offsets=0, mainline=1, verbo=0)
at ../../gdb-6.4.50.20060112/gdb/symfile.c:828
#12 0x080e9abc in symbol_file_add_with_addrs_or_offsets (abfd=0x84246f0,
from_tty=0, addrs=0x0, offsets=0x0, num_offsets=0, mainline=1, flags=0)
at ../../gdb-6.4.50.20060112/gdb/symfile.c:940
#13 0x080e9d4a in symbol_file_add_from_bfd (abfd=0x84246f0, from_tty=0,
addrs=0x0, mainline=1, flags=0)
at ../../gdb-6.4.50.20060112/gdb/symfile.c:1039
#14 0x080e9d98 in symbol_file_add_main_1 (args=0xbffa299b "./supervisor",
from_tty=0, flags=0) at ../../gdb-6.4.50.20060112/gdb/symfile.c:1074
#15 0x080e9d7b in symbol_file_add_main (args=0xbffa299b "./supervisor",
from_tty=0) at ../../gdb-6.4.50.20060112/gdb/symfile.c:1068
#16 0x080ff52e in catch_command_errors (
command=0x80e9d68 <symbol_file_add_main>, arg=0xbffa299b
"./supervisor",
from_tty=0, mask=6) at ../../gdb-6.4.50.20060112/gdb/exceptions.c:530
#17 0x0807cb42 in captured_main (data=0x0)
at ../../gdb-6.4.50.20060112/gdb/main.c:688
#18 0x080ff4a7 in catch_errors (func=0x807c3c0 <captured_main>,
func_args=0xbff8a8e0, errstring=0x81f82b8 "", mask=6)
at ../../gdb-6.4.50.20060112/gdb/exceptions.c:515
#19 0x0807d063 in gdb_main (args=0x6)
at ../../gdb-6.4.50.20060112/gdb/main.c:843
#20 0x0807c383 in main (argc=0, argv=0x0)
at ../../gdb-6.4.50.20060112/gdb/gdb.c:35
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gdb/1903: internal-error: could not find partial DIE in cache
@ 2008-04-01 19:35 drow
0 siblings, 0 replies; 7+ messages in thread
From: drow @ 2008-04-01 19:35 UTC (permalink / raw)
To: gdb-prs, jimb, warudkar
Synopsis: internal-error: could not find partial DIE in cache
State-Changed-From-To: feedback->closed
State-Changed-By: drow
State-Changed-When: Tue Apr 1 19:35:30 2008
State-Changed-Why:
The referenced patch was committed.
http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1903
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gdb/1903: internal-error: could not find partial DIE in cache
@ 2006-01-20 21:08 Mark Gritter
0 siblings, 0 replies; 7+ messages in thread
From: Mark Gritter @ 2006-01-20 21:08 UTC (permalink / raw)
To: jimb; +Cc: gdb-prs
The following reply was made to PR gdb/1903; it has been noted by GNATS.
From: Mark Gritter <Mark.Gritter@Sun.COM>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: gdb/1903: internal-error: could not find partial DIE in cache
Date: Fri, 20 Jan 2006 13:06:00 -0800
> Does the patch in this message help with this problem?
Yes, after applying the patch to the gdb-6.4.50.20060112 snapshot on
which I had earlier reproduced the problem, the error went away and I
appear to be able to use gdb on the executable without problems.
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gdb/1903: internal-error: could not find partial DIE in cache
@ 2006-01-18 4:48 jimb
0 siblings, 0 replies; 7+ messages in thread
From: jimb @ 2006-01-18 4:48 UTC (permalink / raw)
To: gdb-prs, jimb, warudkar
Synopsis: internal-error: could not find partial DIE in cache
State-Changed-From-To: open->feedback
State-Changed-By: jimb
State-Changed-When: Wed Jan 18 04:48:09 2006
State-Changed-Why:
Does the patch in this message help with this problem?
http://sourceware.org/ml/gdb-patches/2005-04/msg00066.html
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1903
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gdb/1903: internal-error: could not find partial DIE in cache
@ 2006-01-18 4:45 jimb
0 siblings, 0 replies; 7+ messages in thread
From: jimb @ 2006-01-18 4:45 UTC (permalink / raw)
To: gdb-prs, jimb, nobody, warudkar
Synopsis: internal-error: could not find partial DIE in cache
Responsible-Changed-From-To: unassigned->jimb
Responsible-Changed-By: jimb
Responsible-Changed-When: Wed Jan 18 04:45:34 2006
Responsible-Changed-Why:
I'll take this.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1903
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gdb/1903: internal-error: could not find partial DIE in cache
@ 2005-04-01 14:18 Daniel Jacobowitz
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Jacobowitz @ 2005-04-01 14:18 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/1903; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: warudkar@comcast.net
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/1903: internal-error: could not find partial DIE in cache
Date: Fri, 1 Apr 2005 09:12:40 -0500
On Fri, Apr 01, 2005 at 04:28:08AM -0000, warudkar@comcast.net wrote:
> Compile Qt3.3.4 with gcc-4.0. Try to debug/run the examples/demo/demo program.
Try a more recent gcc 4.0 snapshot, please.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 7+ messages in thread
* gdb/1903: internal-error: could not find partial DIE in cache
@ 2005-04-01 4:38 warudkar
0 siblings, 0 replies; 7+ messages in thread
From: warudkar @ 2005-04-01 4:38 UTC (permalink / raw)
To: gdb-gnats
>Number: 1903
>Category: gdb
>Synopsis: internal-error: could not find partial DIE in cache
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 01 04:38:00 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: warudkar@comcast.net
>Release: gdb 6.3 debian
>Organization:
>Environment:
Ubuntu Hoary 5.04 Preview
>Description:
GDB is unable to debug $QTDIR/examples/demo/demo created by gcc-4.0 - It dies after trying to run the program with below error -
Starting program: /home/sources/kde/qt-copy/examples/demo/demo
/build/buildd/gdb-6.3/gdb/dwarf2read.c:5446: internal-error: could not find partial DIE in cache
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
/build/buildd/gdb-6.3/gdb/dwarf2read.c:5446: internal-error: could not find partial DIE in cache
>How-To-Repeat:
Compile Qt3.3.4 with gcc-4.0. Try to debug/run the examples/demo/demo program.
>Fix:
Not known
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-01 19:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-17 21:18 gdb/1903: internal-error: could not find partial DIE in cache Mark Gritter
-- strict thread matches above, loose matches on Subject: below --
2008-04-01 19:35 drow
2006-01-20 21:08 Mark Gritter
2006-01-18 4:48 jimb
2006-01-18 4:45 jimb
2005-04-01 14:18 Daniel Jacobowitz
2005-04-01 4:38 warudkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).