gc assertion failure under win32
David Smith
dsmith at algonet.se
Sat Nov 21 13:59:37 PST 1998
I don't know if it's related, but I got the same error while trying
to compile Kaffe with MSVC. In that case it was because the
ALIGNMENT_OF_SIZE() macro aligned everything to 4 bytes while MSVC
aligned 8-byte values to 8 bytes. This caused Kaffe to allocate too
little memory for some objects so that they continued in over the next
segment of the gc block.
/David
r wrote:
>
> Hi all. I come questing for a little help with
> getting the current sources running under WinNT.
>
> Everything is compiling and installing fine, but
> when kaffe is run it fails with the following
> error message:
>
> assertion "mem->next == 0 || ((uintp)mem->next >= (uintp)blk &&
> (uintp)mem->next < (uintp)blk + gc_pgsize)" failed.
> file "./mem/gc-mem.c", line 280
>
> Has anybody else conquered this particular error, or does anybody
> have any suggestions on how to proceed?
>
> Thanks,
>
> -Rob Blau
--
David Smith
More information about the kaffe
mailing list