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

Bert Freudenberg bert at freudenbergs.de
Wed Feb 21 21:26:01 UTC 2007


On Feb 21, 2007, at 22:15 , Jens Lincke wrote:

> 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...

So the "sweep phase" error is gone :) And that's a different bug ...  
really, I think we'll see a lot more unless this is approached  
systematically ...

- Bert -




More information about the Vm-dev mailing list