This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: match_info


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


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