Failed assertion on my Kaffe port

Edouard G. Parmelan kaffe@rufus.w3.org
Tue, 19 Jun 2001 10:50:06 +0200


On Tue, Jun 19, 2001 at 10:18:43AM +0200, Vincent Lenders wrote:

> I ported Kaffe on the CRIS-ETRAX architecture running Linux. I compiled
> Kaffe with static libraries. My target system has 8 MB RAM.
> 
> When I execute Kaffe with the following option, I receive the following
> debug lines:
> -mx 3000000 -ms 2000000 -as 100000 -vmdebug ALL -stats ALL HelloWorldApp
> 
> Failed assertion 'fidx < nrTypes && size != 0' in file
> mem/gc-incremental.c at line 859.
> allocated 4 small objects, total slack -156507, slack/per object
> -39126.75
> Segmentation fault
> 
> I figured out that the failed assertion is due to the "size !=0"
> condition. I can't figure out why this occurs. Can anyone help me?
> This error occurs on the Kaffe 1.05 and 1.06 release as well.

Jason have fixed a similar bug on Wed Oct 11 10:20:07 MDT 2000.
I send you his fix in a separate mail.

I suggest you to use current CVS Tree.  To checkout it, reads
http://www.kaffe.org/CVS.html.
-- 
Edouard G. Parmelan
http://egp.free.fr