This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: internal-error: could not find partial DIE in cache


On Tue, Feb 01, 2005 at 01:45:58PM -0600, Manoj Iyer wrote:
> 
> It will be a big help if I can get some inputs as to how I should go
> further on this problem.
> 
> I have an executable compiled with IBM xlC++ compiler, when I run this
> program through GDB (RHEL 4, gdb 6.3) it throws and internal error :
> 
> dwarf2read.c:5452: internal-error: could not find partial DIE in cache
> 
> looking at the code, find_partial_die_in_comp_unit() is printing this
> message. libiberty/hashtab.c: htab_find_with_hash() function is returning
> an EMPTY_ENTRY.
> 
> I dont know the internal of GDB enough. What should I be looking for? Is
> this because the hash table was created wrong or xlC produced some bad
> debug information. How do I find out?

Debug it :-)  The hash table is created by scanning all DIEs.  Is the
index being looked up a valid DIE?  If so, why was it skipped?

-- 
Daniel Jacobowitz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]