[Vm-dev] newDelta >0 failed in sqUnixMemory

Damien Cassou damien.cassou at gmail.com
Fri Jan 30 13:07:33 UTC 2009

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.

Here is the result of:

fprintf(stderr, "oldLimit=%p\ndelta=%d\nnewSize=%d\nnewDelta=%d\n");

squeak: /tmp/squeak-svn/platforms/unix/vm/sqUnixMemory.c:175:
uxGrowMemoryBy: Assertion `newDelta >= 0' failed.

Does it help?

Damien Cassou

More information about the Vm-dev mailing list