match_info

Paul Flinders P.Flinders@ftel.co.uk
Thu Feb 8 09:22:00 GMT 2001


Andrew Haley wrote:

> Jeff Sturm writes:
>  > Can any EH gurus explain what the following code in exception.c does:
>
> It checks an exception that has been thrown against the exception
> declared in a catch block.
>
>  > It doesn't do anything but argument checking as far as I can tell.  Anyway, I'm
>  > trying to figure out why my _Jv_type_matcher is getting called with match_info =
>  > 0xffffffff, causing this code to segfault:
>
> I'll tell you what I would do.  Recompile libgcc.a:_eh.o with -g -O0
> and you'll be able to see where find_exception_handler got 0xffffffff
> from.  It's probably a miscompilation, but something may have changed.

I'm seeing the same thing but managed to trace it a bit more -
find_exception_handler is finding an exception table entry
who's match_info field is -1



More information about the Java mailing list