internal-error: could not find partial DIE in cache

Manoj Iyer
2005-02-01T20:53:03Z

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?

Really appriciate your input.

-----
manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cognito ergo sum +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++