[Pharo-project] [Vm-dev] newDelta >0 failed in sqUnixMemory

Damien Cassou damien.cassou at gmail.com
Fri Jan 30 08:07:33 EST 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");

oldLimit=0x80562b8
delta=-1077506096
newSize=0
newDelta=423027548
squeak: /tmp/squeak-svn/platforms/unix/vm/sqUnixMemory.c:175:
uxGrowMemoryBy: Assertion `newDelta >= 0' failed.

Does it help?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st




More information about the Pharo-dev mailing list