Kaffe/Alpha - bug fix ? finally?

abnay at altavista.com abnay at altavista.com
Mon Oct 9 14:26:27 PDT 2000



Finally it seems like I might have fixed the
assertion failure that has been bothering me
on my Linux/Alpha box.

In gcRealloc():kaffe/kaffevm/mem/gc-incremental.c
line 1026 it looks like the size of memcpy should
be size instead of osize. If the osize (original/old
size ?) is less than size+sizeof(gc_unit) isn't it
logical to copy size number of bytes instead of
osize? Anyways I made the fix in my local sources
and ran 'make check'. 25 tests failed but atleast
I seem to have gotten past the assertion failure.

If this is indeed the fix, change line 1026
in the above said file to 

memcpy(newmem,mem,size);

in the CVS tree.

Bharadwaj

PS : Do all the tests pass on Linux/Intel?

Personal e-mail : abnay at altavista.com
                    or   abnay at altavista.net
_______________________________________________________________________

Free Unlimited Internet Access! Try it now! 
http://www.zdnet.com/downloads/altavista/index.html

_______________________________________________________________________



More information about the kaffe mailing list