[Vm-dev] newDelta >0 failed in sqUnixMemory

Andreas Raab andreas.raab at gmx.de
Fri Jan 30 08:21:22 UTC 2009


Damien Cassou wrote:
>  
> On Fri, Jan 30, 2009 at 9:00 AM, Andreas Raab <andreas.raab at gmx.de> wrote:
>> Since you're compiling the VM yourself, you might want to add a guard that
>> catches the condition and prints out the environmental values (oldLimit,
>> delta, newSize, newDelta). I would suspect that this is a signed/unsigned
>> issue with memory being allocated somewhere close to the 2GB barrier and
>> then flipping from positive to negative. Since newSize and newDelta are
>> declared int, this could easily happen.
> 
> I've just downgraded gcc to 3.4 (instead of 4.3.2) and it seems to
> work fine. Do you want me to do more testing with the 4.3.2 version?

I really don't care - I was just trying to give you a few hints for what 
to look at. The other thing you could try is to compile with -O0 just to 
find out whether this is an optimizer problem.

Cheers,
   - Andreas


More information about the Vm-dev mailing list