[Vm-dev] cog crash when running Pharo 1.2 tests

Igor Stasenko siguctua at gmail.com
Fri Dec 31 16:18:02 UTC 2010

On 31 December 2010 15:59, Esteban Lorenzano <estebanlm at gmail.com> wrote:

btw note this..

> SmallInteger      0xc01 priority
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00000c0d
> printProcessStack (aProcess=3073) at /Users/MAC/Desktop/Dev/VM/cog-osx/platforms/iOS/vm/../../../src/vm/gcc3x-cointerp.c:37340

This means that somehow one of the scheduled processes are become small integer
and printAllStacks fails to print its priority and causes one more
protection failure :)

So, i recommend:
 - add the safety measure in printAllStacks() to check if process is
really an instance , not smallint.
 - find why one of the processes become integer :)

Best regards,
Igor Stasenko AKA sig.

More information about the Vm-dev mailing list