[Vm-dev] Re: sweep failed to find exact end of memory

Jens Lincke jens at impara.de
Wed Feb 21 21:15:15 UTC 2007


Bert Freudenberg schrieb:
> On Feb 21, 2007, at 18:32 , Jens Lincke wrote:
>
>> "sweep failed to find exact end of memory" - vm crash
>
>
> I have a hunch that declaring endOfMemoryLocal as unsigned in 
> ObjectMemory>>sweepPhase might solve this particular problem.
>
> Jens, could you try this?
>
> - Bert -
>
>
I changed

sqInt sweepPhase(void) {
register struct foo * foo = &fum;
    sqInt endOfMemoryLocal;
    ...

to

sqInt sweepPhase(void) {
register struct foo * foo = &fum;
    usqInt endOfMemoryLocal;

and the "sweep failed to find exact end of memory" was gone, but now I get

Segmentation fault

-2143533612 BlockContext>ensure:
-2143534184 Semaphore>critical:
-2143534276 >recycleBuffer:

Segmentation fault

that means, the vm gets a segfault even in the segfault handler...

- Jens -






More information about the Vm-dev mailing list