Re: Mystified by "Internal error: pc 0x89f21e10 read in psymtab, but not in symtab

Earl Chew
2002-09-15T16:11:50Z

Daniel Jacobowitz wrote:
> My first suspect:
> 2001-10-23 Jim Blandy <jimb@redhat.com>
>
> Isolate STABS readers' use of the `textlow' and `texthigh' fields
> of `struct partial_symtab' to only a few locations. This change
> is not supposed to affect the way the values are computed, only
> where they live.

If this patch introduced textlow/texthigh, then I think there's
good reason to suspect that removing it will make this problem go away
since it's the loss of synchronisation between the cached versions
of textlow/texthigh and those in the struct psymtab that appears to
be the problem.

However, I'm not sure if undoing this patch is the way to go since
you're not sure what Jim was trying to accomplish. I don't know enough
at this point to decide.

> If so, rather than propogating this mess, is there some way you can use
> the shared library code for this somehow? A parallel, minimal "shared
> library" implementation which gets relocation information via
> qOffsets...

I'm not sure what you mean here.

For the moment, I'm going to try to resynchronise the cache values. The
code compiles, but I won't be able to try it until to tomorrow.

Earl