Kaffe/Alpha - bug fix ? finally?

kaffe@rufus.w3.org kaffe@rufus.w3.org
9 Oct 2000 14:26:27 -0700



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@altavista.com
                    or   abnay@altavista.net
_______________________________________________________________________

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

_______________________________________________________________________