[kaffe] lookupClassMethod: Assertion `cls != ((void *)0)' failed

Dalibor Topic robilad at kaffe.org
Wed Sep 28 10:17:06 PDT 2005


Robert Derochette wrote:
> Hi !
> 
> I was trying (for the sake of testing) a small spreadsheet app I had to
> write for uni two years ago with kaffe. Compile is ok but execution
> fails, displaying :
> 
> kaffe-bin:
> /build/buildd/kaffe-1.1.6/build-tree/kaffe-1.1.6/kaffe/kaffevm/support.c:351:
> lookupClassMethod: Assertion `cls != ((void *)0)' failed.
> Aborted
> 
> I'm using Debian SID and the latest kaffe from SID (1.1.6).

Salut Robert,

that's a bug in Kaffe. Apparently, something bad happens during class
ini lookup, and a value ends up being NULL where it should not :)

I'll give your code a spin with valgrind.

cheers,
dalibor topic




More information about the kaffe mailing list