pharo-project / pharo-vm

This is the VM used by Pharo

Home Page:http://pharo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PrimitiveFailed: primitive #integerOfObject:at:put:size:signed: in TFFIBackend failed

hernanmd opened this issue · comments

Simulation of the StackVM produces the primitiveFFIIntegerAtPut to fail in Pharo 11 with this script:

| options stackInterpreterSimulator |

VMStackPages  initialize.
options := {
    #ObjectMemory -> #Spur64BitCoMemoryManager.
    #BytesPerWord -> 8
} asDictionary.

stackInterpreterSimulator := StackInterpreterSimulator newWithOptions: options.
stackInterpreterSimulator openOn: Smalltalk imagePath extraMemory: 100000.
stackInterpreterSimulator run.

PrimitiveFailed