[kaffe] MIPS JIT3 and null pointers.

Casey Marshall rsdio at metastatic.org
Wed Mar 17 11:33:02 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've determined why an invokeinterface on a null object will abort
rather than throw a NullPointerException: in dispatchException
(kaffe/kaffevm/exception.c:303) the full stack trace cannot be built,
for some reason, so the exception handler won't be found.

The SIGSEGV occurs in soft_lookupinterfacemethod, which is called with
a NULL obj parameter, which in turn is called from jitted code. So my
guess is that somehow the MIPS backend can't trace back across this
barrier.

I'm assuming that __mipsGetNextFrame is broken, but would entertain
other ideas. Has anyone dealt with something similar to this on other
architectures?

Cheers,

- -- 
Casey Marshall || rsdio at metastatic.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQFAWKdXgAuWMgRGsWsRAmxqAJwNUykwlSlMokRzCoLmr1HfEcHlxACfRBzB
KhsFC34F5HgGFYml3zcSuos=
=2Tm4
-----END PGP SIGNATURE-----




More information about the kaffe mailing list