[Vm-dev] primitiveFailForOSError: causes assertion failure in the simulator
Alistair Grant
akgrant0710 at gmail.com
Tue Oct 23 06:38:41 UTC 2018
Hi Eliot,
Calling #primitiveFailForOSError: fails in the simulator (I guess I'm
the first person to use it :-)). It works properly in a real VM, of
course.
I've included a stack dump below, but my guess is that PrimitiveError
isn't a known class, so isn't guaranteed to be in classTableFirstPage,
causing the assertion failure below.
Am I on the right track here?
Thanks,
Alistair
22 October 2018 10:38:54.659355 pm
VM: unix - Smalltalk
Image: Squeak5.3alpha [latest update: #18235]
- but with VMMaker.oscog-eem.2467
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01
Trusted Dir /home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/secure
Untrusted Dir /home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/My Squeak
Spur32BitMMLESimulator(Object)>>assert:
Receiver: a Spur32BitMMLESimulator
Arguments and temporary variables:
aBlock: false
Receiver's instance variables:
coInterpreter: a StackInterpreterSimulatorLSB
scavenger: a SpurGenerationScavengerSimulator
segmentManager: a SpurSegmentManager
compactor: a SpurPlanningCompactorSimulator
memory: a LittleEndianBitmap of length 21757952
freeStart: 4625696
freeOldSpaceStart: 87031792
scavengeThreshold: 12358406
newSpaceStart: 0
newSpaceLimit: 12606720
edenBytes: 12499584
oldSpaceStart: 12606720
nilObj: 12606720
falseObj: 12606736
trueObj: 12606752
specialObjectsOop: 23174176
hiddenRootsObj: 12606912
classTableFirstPage: 12623344
classTableIndex: 17408
numClassTablePages: 18
endOfMemory: 87031792
mournQueue: 12606720
unscannedEphemerons: a SpurContiguousObjStack
objStackInvalidBecause: nil
invalidObjStackPage: nil
markStack: 13057112
weaklingStack: 37336504
freeLists: a CArray
freeListsMask: 1
lastHash: 769693211
signalLowSpace: false
checkForLeaks: 0
needGCFlag: false
heapMap: a CogCheck32BitHeapMap
becomeEffectsFlags: 0
pastSpaceStart: 827400
heapGrowthToSizeGCRatio: 0.333333
heapSizeAtPreviousGC: 39739264
oldSpaceUsePriorToScavenge: 44935520
growHeadroom: 16777216
shrinkThreshold: 33554432
marking: false
remapBuffer: #(4371160 nil nil nil nil nil nil nil nil nil nil nil nil nil nil ...etc...
remapBufferCount: 0
extraRootCount: 0
extraRoots: nil
lowSpaceThreshold: 400000
totalFreeOldSpace: 28440960
maxOldSpaceSize: 0
gcPhaseInProgress: 0
gcStartUsecs: 3717692948277871
gcMarkEndUsecs: nil
gcSweepEndUsecs: 0
compactionStartUsecs: nil
bogon: nil
statCoalesces: 0
statCompactPassCount: 0
statFGCDeltaUsecs: 0
statFullGCUsecs: 0
statCompactionUsecs: 0
statSweepUsecs: 0
statMarkUsecs: 0
statFullGCs: 0
statGCEndUsecs: 3717692948277871
statGrowMemory: 1
statIGCDeltaUsecs: 0
statIncrGCUsecs: 0
statIncrGCs: 0
statMarkCount: 0
statRootTableCount: 68
statRootTableOverflows: 0
statSGCDeltaUsecs: 0
statScavengeGCUsecs: 0
statScavenges: 2
statShrinkMemory: 0
statAllocatedBytes: 14795960
statMaxAllocSegmentTime: 0
parent: nil
bootstrapping: false
Spur32BitMMLESimulator(SpurMemoryManager)>>knownClassAtIndex:
Receiver: a Spur32BitMMLESimulator
Arguments and temporary variables:
classIndex: 4221
Receiver's instance variables:
coInterpreter: a StackInterpreterSimulatorLSB
scavenger: a SpurGenerationScavengerSimulator
segmentManager: a SpurSegmentManager
compactor: a SpurPlanningCompactorSimulator
memory: a LittleEndianBitmap of length 21757952
freeStart: 4625696
freeOldSpaceStart: 87031792
scavengeThreshold: 12358406
newSpaceStart: 0
newSpaceLimit: 12606720
edenBytes: 12499584
oldSpaceStart: 12606720
nilObj: 12606720
falseObj: 12606736
trueObj: 12606752
specialObjectsOop: 23174176
hiddenRootsObj: 12606912
classTableFirstPage: 12623344
classTableIndex: 17408
numClassTablePages: 18
endOfMemory: 87031792
mournQueue: 12606720
unscannedEphemerons: a SpurContiguousObjStack
objStackInvalidBecause: nil
invalidObjStackPage: nil
markStack: 13057112
weaklingStack: 37336504
freeLists: a CArray
freeListsMask: 1
lastHash: 769693211
signalLowSpace: false
checkForLeaks: 0
needGCFlag: false
heapMap: a CogCheck32BitHeapMap
becomeEffectsFlags: 0
pastSpaceStart: 827400
heapGrowthToSizeGCRatio: 0.333333
heapSizeAtPreviousGC: 39739264
oldSpaceUsePriorToScavenge: 44935520
growHeadroom: 16777216
shrinkThreshold: 33554432
marking: false
remapBuffer: #(4371160 nil nil nil nil nil nil nil nil nil nil nil nil nil nil ...etc...
remapBufferCount: 0
extraRootCount: 0
extraRoots: nil
lowSpaceThreshold: 400000
totalFreeOldSpace: 28440960
maxOldSpaceSize: 0
gcPhaseInProgress: 0
gcStartUsecs: 3717692948277871
gcMarkEndUsecs: nil
gcSweepEndUsecs: 0
compactionStartUsecs: nil
bogon: nil
statCoalesces: 0
statCompactPassCount: 0
statFGCDeltaUsecs: 0
statFullGCUsecs: 0
statCompactionUsecs: 0
statSweepUsecs: 0
statMarkUsecs: 0
statFullGCs: 0
statGCEndUsecs: 3717692948277871
statGrowMemory: 1
statIGCDeltaUsecs: 0
statIncrGCUsecs: 0
statIncrGCs: 0
statMarkCount: 0
statRootTableCount: 68
statRootTableOverflows: 0
statSGCDeltaUsecs: 0
statScavengeGCUsecs: 0
statScavenges: 2
statShrinkMemory: 0
statAllocatedBytes: 14795960
statMaxAllocSegmentTime: 0
parent: nil
bootstrapping: false
Spur32BitMMLESimulator(SpurMemoryManager)>>eeInstantiateSmallClassIndex:format:numSlots:
Receiver: a Spur32BitMMLESimulator
Arguments and temporary variables:
knownClassIndex: 4221
objFormat: 1
numSlots: 2
Receiver's instance variables:
coInterpreter: a StackInterpreterSimulatorLSB
scavenger: a SpurGenerationScavengerSimulator
segmentManager: a SpurSegmentManager
compactor: a SpurPlanningCompactorSimulator
memory: a LittleEndianBitmap of length 21757952
freeStart: 4625696
freeOldSpaceStart: 87031792
scavengeThreshold: 12358406
newSpaceStart: 0
newSpaceLimit: 12606720
edenBytes: 12499584
oldSpaceStart: 12606720
nilObj: 12606720
falseObj: 12606736
trueObj: 12606752
specialObjectsOop: 23174176
hiddenRootsObj: 12606912
classTableFirstPage: 12623344
classTableIndex: 17408
numClassTablePages: 18
endOfMemory: 87031792
mournQueue: 12606720
unscannedEphemerons: a SpurContiguousObjStack
objStackInvalidBecause: nil
invalidObjStackPage: nil
markStack: 13057112
weaklingStack: 37336504
freeLists: a CArray
freeListsMask: 1
lastHash: 769693211
signalLowSpace: false
checkForLeaks: 0
needGCFlag: false
heapMap: a CogCheck32BitHeapMap
becomeEffectsFlags: 0
pastSpaceStart: 827400
heapGrowthToSizeGCRatio: 0.333333
heapSizeAtPreviousGC: 39739264
oldSpaceUsePriorToScavenge: 44935520
growHeadroom: 16777216
shrinkThreshold: 33554432
marking: false
remapBuffer: #(4371160 nil nil nil nil nil nil nil nil nil nil nil nil nil nil ...etc...
remapBufferCount: 0
extraRootCount: 0
extraRoots: nil
lowSpaceThreshold: 400000
totalFreeOldSpace: 28440960
maxOldSpaceSize: 0
gcPhaseInProgress: 0
gcStartUsecs: 3717692948277871
gcMarkEndUsecs: nil
gcSweepEndUsecs: 0
compactionStartUsecs: nil
bogon: nil
statCoalesces: 0
statCompactPassCount: 0
statFGCDeltaUsecs: 0
statFullGCUsecs: 0
statCompactionUsecs: 0
statSweepUsecs: 0
statMarkUsecs: 0
statFullGCs: 0
statGCEndUsecs: 3717692948277871
statGrowMemory: 1
statIGCDeltaUsecs: 0
statIncrGCUsecs: 0
statIncrGCs: 0
statMarkCount: 0
statRootTableCount: 68
statRootTableOverflows: 0
statSGCDeltaUsecs: 0
statScavengeGCUsecs: 0
statScavenges: 2
statShrinkMemory: 0
statAllocatedBytes: 14795960
statMaxAllocSegmentTime: 0
parent: nil
bootstrapping: false
StackInterpreterSimulatorLSB(StackInterpreter)>>cloneOSErrorObj:numSlots:
Receiver: a StackInterpreterSimulatorLSB
Arguments and temporary variables:
errObj: 13056176
numSlots: 2
clone: nil
i: nil
iLimiT: nil
Receiver's instance variables:
objectMemory: a Spur32BitMMLESimulator
messageSelector: 12933368
argumentCount: 1
newMethod: 15369696
primFailCode: 21
osErrorCode: -12
exceptionPC: 0
inFFIFlags: 0
profileMethod: 12606720
profileProcess: 12606720
profileSemaphore: 12606720
nextProfileTick: 0
preemptionYields: true
newFinalization: false
sHEAFn: 77
ffiExceptionResponse: 0
currentBytecode: 225
bytecodeSetSelector: 0
localFP: -8736
localIP: 15369730
localSP: -8756
stackLimit: -9216
stackPage: a CogStackPage at -8192 -8200<->-8300 trace 1
stackPages: an InterpreterStackPagesLSB
method: 15369696
instructionPointer: 30968663
stackPointer: -8728
framePointer: -8704
localReturnValue: 4595456
localAbsentReceiver: nil
localAbsentReceiverOrZero: nil
extA: nil
extB: nil
numExtB: nil
primitiveFunctionPointer: #primitiveClosedir
methodCache: #(17682552 6174 17814224 0 30886936 14087 30968808 0 12821552 7438...etc...
nsMethodCache: #(nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
atCache: #(302368 9 4 0 0 0 0 0 4604296 2 2 0 0 0 0 0 48530384 7 2 0 0 0 0 0 15...etc...
lkupClassTag: 3758
lkupClass: 30787408
methodDictLinearSearchLimit: 8
highestRunnableProcessPriority: 40
reenterInterpreter: ReenterInterpreter:
nextWakeupUsecs: 3717692948323621
nextPollUsecs: 3717692948311418
inIOProcessEvents: 0
interruptKeycode: 2094
interruptPending: false
savedWindowSize: 63963801
imageHeaderFlags: 2
fullScreenFlag: 0
deferDisplayUpdates: false
pendingFinalizationSignals: 0
extraVMMemory: 0
interpreterProxy: a StackInterpreterSimulatorLSB
showSurfaceFn: nil
primitiveTable: #(0 #primitiveAdd #primitiveSubtract #primitiveLessThan #primitiveGreaterThan...etc...
primitiveAccessorDepthTable: #(-1 -1 0 0 0 0 0 0 0 0 -1 -1 0 -1 -1 0 0 0 -1 0 0...etc...
externalPrimitiveTable: a CArrayAccessor on: #(104 94 97 106 120 116 111 118 14...etc...
externalPrimitiveTableFirstFreeIndex: 61
overflowedPage: a CogStackPage at -6144 -6156<->-7024 trace 1
extraFramesToMoveOnOverflow: 3
globalSessionID: 4246484935
jmpBuf: nil
jmpDepth: 0
suspendedCallbacks: nil
suspendedMethods: nil
numStackPages: 8
desiredNumStackPages: 8
desiredEdenBytes: 12499584
classNameIndex: 6
thisClassIndex: 5
metaclassNumSlots: 6
interruptCheckChain: nil
suppressHeartbeatFlag: false
breakSelector: nil
breakSelectorLength: -1073741824
breakLookupClassTag: nil
longRunningPrimitiveCheckMethod: nil
longRunningPrimitiveCheckSemaphore: nil
longRunningPrimitiveStartUsecs: 0
longRunningPrimitiveStopUsecs: 0
longRunningPrimitiveGCUsecs: nil
longRunningPrimitiveCheckSequenceNumber: nil
longRunningPrimitiveSignalUndelivered: nil
checkAllocFiller: false
tempOop: 0
tempOop2: 0
metaAccessorDepth: -2
theUnknownShort: 0
the2ndUnknownShort: 0
imageFloatsBigEndian: 0
maxExtSemTabSizeSet: false
lastMethodCacheProbeWrite: 1988
gcSemaphoreIndex: 0
classByteArrayCompactIndex: 50
checkedPluginName: nil
nativeSP: nil
nativeStackPointer: nil
lowcodeCalloutState: nil
shadowCallStackPointer: nil
displayBits: 54942176
displayWidth: 976
displayHeight: 666
displayDepth: 32
statForceInterruptCheck: 11782
statStackOverflow: 2194
statStackPageDivorce: 23
statCheckForEvents: 11825
statProcessSwitch: 380
statIOProcessEvents: 12
statPendingFinalizationSignals: 0
statIdleUsecs: 0
debugCallbackPath: 0
debugCallbackReturns: 0
debugCallbackInvokes: 0
parent: nil
bootstrapping: false
byteCount: 11777956
breakCount: nil
sendCount: 1348989
lookupCount: 131603
printSends: false
printReturns: false
traceOn: true
myBitBlt: true
displayForm: Form(976x666x32)
fakeForm: Form(205x18x32)
filesOpen: nil
imageName: '/home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/Pharo.image'
pluginList: {''->a StackInterpreterSimulatorLSB . 'SecurityPlugin'->a SecurityPlugin...etc...
mappedPluginEntries: an OrderedCollection({a StackInterpreterSimulatorLSB . #primitiveBitOrLargeIntegers...etc...
quitBlock: [closure] in StackInterpreterSimulatorLSB(StackInterpreterSimulator)...etc...
transcript: a TranscriptStream
displayView: a SimulatorImageMorph(1969565)
eventTransformer: a SimulatorEventTransformer
printFrameAtEachStep: false
printBytecodeAtEachStep: false
systemAttributes: a Dictionary(1->'Pharo.image' 2->'eval' 3->'| stdout |
stdou...etc...
startMicroseconds: 3717692948071398
lastYieldMicroseconds: 3717692948306938
externalSemaphoreSignalRequests: #()
externalSemaphoreSignalResponses: #()
extSemTabSize: 256
atEachStepBlock: nil
disableBooleanCheat: false
performFilters: nil
eventQueue: a SharedQueue(20)
assertVEPAES: false
primTraceLog: nil
StackInterpreterSimulatorLSB(StackInterpreter)>>getErrorObjectFromPrimFailCode
Receiver: a StackInterpreterSimulatorLSB
Arguments and temporary variables:
table: 13055688
errObj: 13056176
numSlots: 2
Receiver's instance variables:
objectMemory: a Spur32BitMMLESimulator
messageSelector: 12933368
argumentCount: 1
newMethod: 15369696
primFailCode: 21
osErrorCode: -12
exceptionPC: 0
inFFIFlags: 0
profileMethod: 12606720
profileProcess: 12606720
profileSemaphore: 12606720
nextProfileTick: 0
preemptionYields: true
newFinalization: false
sHEAFn: 77
ffiExceptionResponse: 0
currentBytecode: 225
bytecodeSetSelector: 0
localFP: -8736
localIP: 15369730
localSP: -8756
stackLimit: -9216
stackPage: a CogStackPage at -8192 -8200<->-8300 trace 1
stackPages: an InterpreterStackPagesLSB
method: 15369696
instructionPointer: 30968663
stackPointer: -8728
framePointer: -8704
localReturnValue: 4595456
localAbsentReceiver: nil
localAbsentReceiverOrZero: nil
extA: nil
extB: nil
numExtB: nil
primitiveFunctionPointer: #primitiveClosedir
methodCache: #(17682552 6174 17814224 0 30886936 14087 30968808 0 12821552 7438...etc...
nsMethodCache: #(nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
atCache: #(302368 9 4 0 0 0 0 0 4604296 2 2 0 0 0 0 0 48530384 7 2 0 0 0 0 0 15...etc...
lkupClassTag: 3758
lkupClass: 30787408
methodDictLinearSearchLimit: 8
highestRunnableProcessPriority: 40
reenterInterpreter: ReenterInterpreter:
nextWakeupUsecs: 3717692948323621
nextPollUsecs: 3717692948311418
inIOProcessEvents: 0
interruptKeycode: 2094
interruptPending: false
savedWindowSize: 63963801
imageHeaderFlags: 2
fullScreenFlag: 0
deferDisplayUpdates: false
pendingFinalizationSignals: 0
extraVMMemory: 0
interpreterProxy: a StackInterpreterSimulatorLSB
showSurfaceFn: nil
primitiveTable: #(0 #primitiveAdd #primitiveSubtract #primitiveLessThan #primitiveGreaterThan...etc...
primitiveAccessorDepthTable: #(-1 -1 0 0 0 0 0 0 0 0 -1 -1 0 -1 -1 0 0 0 -1 0 0...etc...
externalPrimitiveTable: a CArrayAccessor on: #(104 94 97 106 120 116 111 118 14...etc...
externalPrimitiveTableFirstFreeIndex: 61
overflowedPage: a CogStackPage at -6144 -6156<->-7024 trace 1
extraFramesToMoveOnOverflow: 3
globalSessionID: 4246484935
jmpBuf: nil
jmpDepth: 0
suspendedCallbacks: nil
suspendedMethods: nil
numStackPages: 8
desiredNumStackPages: 8
desiredEdenBytes: 12499584
classNameIndex: 6
thisClassIndex: 5
metaclassNumSlots: 6
interruptCheckChain: nil
suppressHeartbeatFlag: false
breakSelector: nil
breakSelectorLength: -1073741824
breakLookupClassTag: nil
longRunningPrimitiveCheckMethod: nil
longRunningPrimitiveCheckSemaphore: nil
longRunningPrimitiveStartUsecs: 0
longRunningPrimitiveStopUsecs: 0
longRunningPrimitiveGCUsecs: nil
longRunningPrimitiveCheckSequenceNumber: nil
longRunningPrimitiveSignalUndelivered: nil
checkAllocFiller: false
tempOop: 0
tempOop2: 0
metaAccessorDepth: -2
theUnknownShort: 0
the2ndUnknownShort: 0
imageFloatsBigEndian: 0
maxExtSemTabSizeSet: false
lastMethodCacheProbeWrite: 1988
gcSemaphoreIndex: 0
classByteArrayCompactIndex: 50
checkedPluginName: nil
nativeSP: nil
nativeStackPointer: nil
lowcodeCalloutState: nil
shadowCallStackPointer: nil
displayBits: 54942176
displayWidth: 976
displayHeight: 666
displayDepth: 32
statForceInterruptCheck: 11782
statStackOverflow: 2194
statStackPageDivorce: 23
statCheckForEvents: 11825
statProcessSwitch: 380
statIOProcessEvents: 12
statPendingFinalizationSignals: 0
statIdleUsecs: 0
debugCallbackPath: 0
debugCallbackReturns: 0
debugCallbackInvokes: 0
parent: nil
bootstrapping: false
byteCount: 11777956
breakCount: nil
sendCount: 1348989
lookupCount: 131603
printSends: false
printReturns: false
traceOn: true
myBitBlt: true
displayForm: Form(976x666x32)
fakeForm: Form(205x18x32)
filesOpen: nil
imageName: '/home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/Pharo.image'
pluginList: {''->a StackInterpreterSimulatorLSB . 'SecurityPlugin'->a SecurityPlugin...etc...
mappedPluginEntries: an OrderedCollection({a StackInterpreterSimulatorLSB . #primitiveBitOrLargeIntegers...etc...
quitBlock: [closure] in StackInterpreterSimulatorLSB(StackInterpreterSimulator)...etc...
transcript: a TranscriptStream
displayView: a SimulatorImageMorph(1969565)
eventTransformer: a SimulatorEventTransformer
printFrameAtEachStep: false
printBytecodeAtEachStep: false
systemAttributes: a Dictionary(1->'Pharo.image' 2->'eval' 3->'| stdout |
stdou...etc...
startMicroseconds: 3717692948071398
lastYieldMicroseconds: 3717692948306938
externalSemaphoreSignalRequests: #()
externalSemaphoreSignalResponses: #()
extSemTabSize: 256
atEachStepBlock: nil
disableBooleanCheat: false
performFilters: nil
eventQueue: a SharedQueue(20)
assertVEPAES: false
primTraceLog: nil
StackInterpreterSimulatorLSB(StackInterpreterSimulator)>>getErrorObjectFromPrimFailCode
Receiver: a StackInterpreterSimulatorLSB
Arguments and temporary variables:
Receiver's instance variables:
objectMemory: a Spur32BitMMLESimulator
messageSelector: 12933368
argumentCount: 1
newMethod: 15369696
primFailCode: 21
osErrorCode: -12
exceptionPC: 0
inFFIFlags: 0
profileMethod: 12606720
profileProcess: 12606720
profileSemaphore: 12606720
nextProfileTick: 0
preemptionYields: true
newFinalization: false
sHEAFn: 77
ffiExceptionResponse: 0
currentBytecode: 225
bytecodeSetSelector: 0
localFP: -8736
localIP: 15369730
localSP: -8756
stackLimit: -9216
stackPage: a CogStackPage at -8192 -8200<->-8300 trace 1
stackPages: an InterpreterStackPagesLSB
method: 15369696
instructionPointer: 30968663
stackPointer: -8728
framePointer: -8704
localReturnValue: 4595456
localAbsentReceiver: nil
localAbsentReceiverOrZero: nil
extA: nil
extB: nil
numExtB: nil
primitiveFunctionPointer: #primitiveClosedir
methodCache: #(17682552 6174 17814224 0 30886936 14087 30968808 0 12821552 7438...etc...
nsMethodCache: #(nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
atCache: #(302368 9 4 0 0 0 0 0 4604296 2 2 0 0 0 0 0 48530384 7 2 0 0 0 0 0 15...etc...
lkupClassTag: 3758
lkupClass: 30787408
methodDictLinearSearchLimit: 8
highestRunnableProcessPriority: 40
reenterInterpreter: ReenterInterpreter:
nextWakeupUsecs: 3717692948323621
nextPollUsecs: 3717692948311418
inIOProcessEvents: 0
interruptKeycode: 2094
interruptPending: false
savedWindowSize: 63963801
imageHeaderFlags: 2
fullScreenFlag: 0
deferDisplayUpdates: false
pendingFinalizationSignals: 0
extraVMMemory: 0
interpreterProxy: a StackInterpreterSimulatorLSB
showSurfaceFn: nil
primitiveTable: #(0 #primitiveAdd #primitiveSubtract #primitiveLessThan #primitiveGreaterThan...etc...
primitiveAccessorDepthTable: #(-1 -1 0 0 0 0 0 0 0 0 -1 -1 0 -1 -1 0 0 0 -1 0 0...etc...
externalPrimitiveTable: a CArrayAccessor on: #(104 94 97 106 120 116 111 118 14...etc...
externalPrimitiveTableFirstFreeIndex: 61
overflowedPage: a CogStackPage at -6144 -6156<->-7024 trace 1
extraFramesToMoveOnOverflow: 3
globalSessionID: 4246484935
jmpBuf: nil
jmpDepth: 0
suspendedCallbacks: nil
suspendedMethods: nil
numStackPages: 8
desiredNumStackPages: 8
desiredEdenBytes: 12499584
classNameIndex: 6
thisClassIndex: 5
metaclassNumSlots: 6
interruptCheckChain: nil
suppressHeartbeatFlag: false
breakSelector: nil
breakSelectorLength: -1073741824
breakLookupClassTag: nil
longRunningPrimitiveCheckMethod: nil
longRunningPrimitiveCheckSemaphore: nil
longRunningPrimitiveStartUsecs: 0
longRunningPrimitiveStopUsecs: 0
longRunningPrimitiveGCUsecs: nil
longRunningPrimitiveCheckSequenceNumber: nil
longRunningPrimitiveSignalUndelivered: nil
checkAllocFiller: false
tempOop: 0
tempOop2: 0
metaAccessorDepth: -2
theUnknownShort: 0
the2ndUnknownShort: 0
imageFloatsBigEndian: 0
maxExtSemTabSizeSet: false
lastMethodCacheProbeWrite: 1988
gcSemaphoreIndex: 0
classByteArrayCompactIndex: 50
checkedPluginName: nil
nativeSP: nil
nativeStackPointer: nil
lowcodeCalloutState: nil
shadowCallStackPointer: nil
displayBits: 54942176
displayWidth: 976
displayHeight: 666
displayDepth: 32
statForceInterruptCheck: 11782
statStackOverflow: 2194
statStackPageDivorce: 23
statCheckForEvents: 11825
statProcessSwitch: 380
statIOProcessEvents: 12
statPendingFinalizationSignals: 0
statIdleUsecs: 0
debugCallbackPath: 0
debugCallbackReturns: 0
debugCallbackInvokes: 0
parent: nil
bootstrapping: false
byteCount: 11777956
breakCount: nil
sendCount: 1348989
lookupCount: 131603
printSends: false
printReturns: false
traceOn: true
myBitBlt: true
displayForm: Form(976x666x32)
fakeForm: Form(205x18x32)
filesOpen: nil
imageName: '/home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/Pharo.image'
pluginList: {''->a StackInterpreterSimulatorLSB . 'SecurityPlugin'->a SecurityPlugin...etc...
mappedPluginEntries: an OrderedCollection({a StackInterpreterSimulatorLSB . #primitiveBitOrLargeIntegers...etc...
quitBlock: [closure] in StackInterpreterSimulatorLSB(StackInterpreterSimulator)...etc...
transcript: a TranscriptStream
displayView: a SimulatorImageMorph(1969565)
eventTransformer: a SimulatorEventTransformer
printFrameAtEachStep: false
printBytecodeAtEachStep: false
systemAttributes: a Dictionary(1->'Pharo.image' 2->'eval' 3->'| stdout |
stdou...etc...
startMicroseconds: 3717692948071398
lastYieldMicroseconds: 3717692948306938
externalSemaphoreSignalRequests: #()
externalSemaphoreSignalResponses: #()
extSemTabSize: 256
atEachStepBlock: nil
disableBooleanCheat: false
performFilters: nil
eventQueue: a SharedQueue(20)
assertVEPAES: false
primTraceLog: nil
StackInterpreterSimulatorLSB(StackInterpreter)>>reapAndResetErrorCodeTo:header:
Receiver: a StackInterpreterSimulatorLSB
Arguments and temporary variables:
theSP: -8756
methodHeader: 34734091
initialPC: 15369731
Receiver's instance variables:
objectMemory: a Spur32BitMMLESimulator
messageSelector: 12933368
argumentCount: 1
newMethod: 15369696
primFailCode: 21
osErrorCode: -12
exceptionPC: 0
inFFIFlags: 0
profileMethod: 12606720
profileProcess: 12606720
profileSemaphore: 12606720
nextProfileTick: 0
preemptionYields: true
newFinalization: false
sHEAFn: 77
ffiExceptionResponse: 0
currentBytecode: 225
bytecodeSetSelector: 0
localFP: -8736
localIP: 15369730
localSP: -8756
stackLimit: -9216
stackPage: a CogStackPage at -8192 -8200<->-8300 trace 1
stackPages: an InterpreterStackPagesLSB
method: 15369696
instructionPointer: 30968663
stackPointer: -8728
framePointer: -8704
localReturnValue: 4595456
localAbsentReceiver: nil
localAbsentReceiverOrZero: nil
extA: nil
extB: nil
numExtB: nil
primitiveFunctionPointer: #primitiveClosedir
methodCache: #(17682552 6174 17814224 0 30886936 14087 30968808 0 12821552 7438...etc...
nsMethodCache: #(nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
atCache: #(302368 9 4 0 0 0 0 0 4604296 2 2 0 0 0 0 0 48530384 7 2 0 0 0 0 0 15...etc...
lkupClassTag: 3758
lkupClass: 30787408
methodDictLinearSearchLimit: 8
highestRunnableProcessPriority: 40
reenterInterpreter: ReenterInterpreter:
nextWakeupUsecs: 3717692948323621
nextPollUsecs: 3717692948311418
inIOProcessEvents: 0
interruptKeycode: 2094
interruptPending: false
savedWindowSize: 63963801
imageHeaderFlags: 2
fullScreenFlag: 0
deferDisplayUpdates: false
pendingFinalizationSignals: 0
extraVMMemory: 0
interpreterProxy: a StackInterpreterSimulatorLSB
showSurfaceFn: nil
primitiveTable: #(0 #primitiveAdd #primitiveSubtract #primitiveLessThan #primitiveGreaterThan...etc...
primitiveAccessorDepthTable: #(-1 -1 0 0 0 0 0 0 0 0 -1 -1 0 -1 -1 0 0 0 -1 0 0...etc...
externalPrimitiveTable: a CArrayAccessor on: #(104 94 97 106 120 116 111 118 14...etc...
externalPrimitiveTableFirstFreeIndex: 61
overflowedPage: a CogStackPage at -6144 -6156<->-7024 trace 1
extraFramesToMoveOnOverflow: 3
globalSessionID: 4246484935
jmpBuf: nil
jmpDepth: 0
suspendedCallbacks: nil
suspendedMethods: nil
numStackPages: 8
desiredNumStackPages: 8
desiredEdenBytes: 12499584
classNameIndex: 6
thisClassIndex: 5
metaclassNumSlots: 6
interruptCheckChain: nil
suppressHeartbeatFlag: false
breakSelector: nil
breakSelectorLength: -1073741824
breakLookupClassTag: nil
longRunningPrimitiveCheckMethod: nil
longRunningPrimitiveCheckSemaphore: nil
longRunningPrimitiveStartUsecs: 0
longRunningPrimitiveStopUsecs: 0
longRunningPrimitiveGCUsecs: nil
longRunningPrimitiveCheckSequenceNumber: nil
longRunningPrimitiveSignalUndelivered: nil
checkAllocFiller: false
tempOop: 0
tempOop2: 0
metaAccessorDepth: -2
theUnknownShort: 0
the2ndUnknownShort: 0
imageFloatsBigEndian: 0
maxExtSemTabSizeSet: false
lastMethodCacheProbeWrite: 1988
gcSemaphoreIndex: 0
classByteArrayCompactIndex: 50
checkedPluginName: nil
nativeSP: nil
nativeStackPointer: nil
lowcodeCalloutState: nil
shadowCallStackPointer: nil
displayBits: 54942176
displayWidth: 976
displayHeight: 666
displayDepth: 32
statForceInterruptCheck: 11782
statStackOverflow: 2194
statStackPageDivorce: 23
statCheckForEvents: 11825
statProcessSwitch: 380
statIOProcessEvents: 12
statPendingFinalizationSignals: 0
statIdleUsecs: 0
debugCallbackPath: 0
debugCallbackReturns: 0
debugCallbackInvokes: 0
parent: nil
bootstrapping: false
byteCount: 11777956
breakCount: nil
sendCount: 1348989
lookupCount: 131603
printSends: false
printReturns: false
traceOn: true
myBitBlt: true
displayForm: Form(976x666x32)
fakeForm: Form(205x18x32)
filesOpen: nil
imageName: '/home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/Pharo.image'
pluginList: {''->a StackInterpreterSimulatorLSB . 'SecurityPlugin'->a SecurityPlugin...etc...
mappedPluginEntries: an OrderedCollection({a StackInterpreterSimulatorLSB . #primitiveBitOrLargeIntegers...etc...
quitBlock: [closure] in StackInterpreterSimulatorLSB(StackInterpreterSimulator)...etc...
transcript: a TranscriptStream
displayView: a SimulatorImageMorph(1969565)
eventTransformer: a SimulatorEventTransformer
printFrameAtEachStep: false
printBytecodeAtEachStep: false
systemAttributes: a Dictionary(1->'Pharo.image' 2->'eval' 3->'| stdout |
stdou...etc...
startMicroseconds: 3717692948071398
lastYieldMicroseconds: 3717692948306938
externalSemaphoreSignalRequests: #()
externalSemaphoreSignalResponses: #()
extSemTabSize: 256
atEachStepBlock: nil
disableBooleanCheat: false
performFilters: nil
eventQueue: a SharedQueue(20)
assertVEPAES: false
primTraceLog: nil
StackInterpreterSimulatorLSB(StackInterpreter)>>internalActivateNewMethod
Receiver: a StackInterpreterSimulatorLSB
Arguments and temporary variables:
methodHeader: 34734091
numTemps: 2
rcvr: 12669944
i: 3
Receiver's instance variables:
objectMemory: a Spur32BitMMLESimulator
messageSelector: 12933368
argumentCount: 1
newMethod: 15369696
primFailCode: 21
osErrorCode: -12
exceptionPC: 0
inFFIFlags: 0
profileMethod: 12606720
profileProcess: 12606720
profileSemaphore: 12606720
nextProfileTick: 0
preemptionYields: true
newFinalization: false
sHEAFn: 77
ffiExceptionResponse: 0
currentBytecode: 225
bytecodeSetSelector: 0
localFP: -8736
localIP: 15369730
localSP: -8756
stackLimit: -9216
stackPage: a CogStackPage at -8192 -8200<->-8300 trace 1
stackPages: an InterpreterStackPagesLSB
method: 15369696
instructionPointer: 30968663
stackPointer: -8728
framePointer: -8704
localReturnValue: 4595456
localAbsentReceiver: nil
localAbsentReceiverOrZero: nil
extA: nil
extB: nil
numExtB: nil
primitiveFunctionPointer: #primitiveClosedir
methodCache: #(17682552 6174 17814224 0 30886936 14087 30968808 0 12821552 7438...etc...
nsMethodCache: #(nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
atCache: #(302368 9 4 0 0 0 0 0 4604296 2 2 0 0 0 0 0 48530384 7 2 0 0 0 0 0 15...etc...
lkupClassTag: 3758
lkupClass: 30787408
methodDictLinearSearchLimit: 8
highestRunnableProcessPriority: 40
reenterInterpreter: ReenterInterpreter:
nextWakeupUsecs: 3717692948323621
nextPollUsecs: 3717692948311418
inIOProcessEvents: 0
interruptKeycode: 2094
interruptPending: false
savedWindowSize: 63963801
imageHeaderFlags: 2
fullScreenFlag: 0
deferDisplayUpdates: false
pendingFinalizationSignals: 0
extraVMMemory: 0
interpreterProxy: a StackInterpreterSimulatorLSB
showSurfaceFn: nil
primitiveTable: #(0 #primitiveAdd #primitiveSubtract #primitiveLessThan #primitiveGreaterThan...etc...
primitiveAccessorDepthTable: #(-1 -1 0 0 0 0 0 0 0 0 -1 -1 0 -1 -1 0 0 0 -1 0 0...etc...
externalPrimitiveTable: a CArrayAccessor on: #(104 94 97 106 120 116 111 118 14...etc...
externalPrimitiveTableFirstFreeIndex: 61
overflowedPage: a CogStackPage at -6144 -6156<->-7024 trace 1
extraFramesToMoveOnOverflow: 3
globalSessionID: 4246484935
jmpBuf: nil
jmpDepth: 0
suspendedCallbacks: nil
suspendedMethods: nil
numStackPages: 8
desiredNumStackPages: 8
desiredEdenBytes: 12499584
classNameIndex: 6
thisClassIndex: 5
metaclassNumSlots: 6
interruptCheckChain: nil
suppressHeartbeatFlag: false
breakSelector: nil
breakSelectorLength: -1073741824
breakLookupClassTag: nil
longRunningPrimitiveCheckMethod: nil
longRunningPrimitiveCheckSemaphore: nil
longRunningPrimitiveStartUsecs: 0
longRunningPrimitiveStopUsecs: 0
longRunningPrimitiveGCUsecs: nil
longRunningPrimitiveCheckSequenceNumber: nil
longRunningPrimitiveSignalUndelivered: nil
checkAllocFiller: false
tempOop: 0
tempOop2: 0
metaAccessorDepth: -2
theUnknownShort: 0
the2ndUnknownShort: 0
imageFloatsBigEndian: 0
maxExtSemTabSizeSet: false
lastMethodCacheProbeWrite: 1988
gcSemaphoreIndex: 0
classByteArrayCompactIndex: 50
checkedPluginName: nil
nativeSP: nil
nativeStackPointer: nil
lowcodeCalloutState: nil
shadowCallStackPointer: nil
displayBits: 54942176
displayWidth: 976
displayHeight: 666
displayDepth: 32
statForceInterruptCheck: 11782
statStackOverflow: 2194
statStackPageDivorce: 23
statCheckForEvents: 11825
statProcessSwitch: 380
statIOProcessEvents: 12
statPendingFinalizationSignals: 0
statIdleUsecs: 0
debugCallbackPath: 0
debugCallbackReturns: 0
debugCallbackInvokes: 0
parent: nil
bootstrapping: false
byteCount: 11777956
breakCount: nil
sendCount: 1348989
lookupCount: 131603
printSends: false
printReturns: false
traceOn: true
myBitBlt: true
displayForm: Form(976x666x32)
fakeForm: Form(205x18x32)
filesOpen: nil
imageName: '/home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/Pharo.image'
pluginList: {''->a StackInterpreterSimulatorLSB . 'SecurityPlugin'->a SecurityPlugin...etc...
mappedPluginEntries: an OrderedCollection({a StackInterpreterSimulatorLSB . #primitiveBitOrLargeIntegers...etc...
quitBlock: [closure] in StackInterpreterSimulatorLSB(StackInterpreterSimulator)...etc...
transcript: a TranscriptStream
displayView: a SimulatorImageMorph(1969565)
eventTransformer: a SimulatorEventTransformer
printFrameAtEachStep: false
printBytecodeAtEachStep: false
systemAttributes: a Dictionary(1->'Pharo.image' 2->'eval' 3->'| stdout |
stdou...etc...
startMicroseconds: 3717692948071398
lastYieldMicroseconds: 3717692948306938
externalSemaphoreSignalRequests: #()
externalSemaphoreSignalResponses: #()
extSemTabSize: 256
atEachStepBlock: nil
disableBooleanCheat: false
performFilters: nil
eventQueue: a SharedQueue(20)
assertVEPAES: false
primTraceLog: nil
StackInterpreterSimulatorLSB(StackInterpreter)>>internalExecuteNewMethod
Receiver: a StackInterpreterSimulatorLSB
Arguments and temporary variables:
succeeded: false
Receiver's instance variables:
objectMemory: a Spur32BitMMLESimulator
messageSelector: 12933368
argumentCount: 1
newMethod: 15369696
primFailCode: 21
osErrorCode: -12
exceptionPC: 0
inFFIFlags: 0
profileMethod: 12606720
profileProcess: 12606720
profileSemaphore: 12606720
nextProfileTick: 0
preemptionYields: true
newFinalization: false
sHEAFn: 77
ffiExceptionResponse: 0
currentBytecode: 225
bytecodeSetSelector: 0
localFP: -8736
localIP: 15369730
localSP: -8756
stackLimit: -9216
stackPage: a CogStackPage at -8192 -8200<->-8300 trace 1
stackPages: an InterpreterStackPagesLSB
method: 15369696
instructionPointer: 30968663
stackPointer: -8728
framePointer: -8704
localReturnValue: 4595456
localAbsentReceiver: nil
localAbsentReceiverOrZero: nil
extA: nil
extB: nil
numExtB: nil
primitiveFunctionPointer: #primitiveClosedir
methodCache: #(17682552 6174 17814224 0 30886936 14087 30968808 0 12821552 7438...etc...
nsMethodCache: #(nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
atCache: #(302368 9 4 0 0 0 0 0 4604296 2 2 0 0 0 0 0 48530384 7 2 0 0 0 0 0 15...etc...
lkupClassTag: 3758
lkupClass: 30787408
methodDictLinearSearchLimit: 8
highestRunnableProcessPriority: 40
reenterInterpreter: ReenterInterpreter:
nextWakeupUsecs: 3717692948323621
nextPollUsecs: 3717692948311418
inIOProcessEvents: 0
interruptKeycode: 2094
interruptPending: false
savedWindowSize: 63963801
imageHeaderFlags: 2
fullScreenFlag: 0
deferDisplayUpdates: false
pendingFinalizationSignals: 0
extraVMMemory: 0
interpreterProxy: a StackInterpreterSimulatorLSB
showSurfaceFn: nil
primitiveTable: #(0 #primitiveAdd #primitiveSubtract #primitiveLessThan #primitiveGreaterThan...etc...
primitiveAccessorDepthTable: #(-1 -1 0 0 0 0 0 0 0 0 -1 -1 0 -1 -1 0 0 0 -1 0 0...etc...
externalPrimitiveTable: a CArrayAccessor on: #(104 94 97 106 120 116 111 118 14...etc...
externalPrimitiveTableFirstFreeIndex: 61
overflowedPage: a CogStackPage at -6144 -6156<->-7024 trace 1
extraFramesToMoveOnOverflow: 3
globalSessionID: 4246484935
jmpBuf: nil
jmpDepth: 0
suspendedCallbacks: nil
suspendedMethods: nil
numStackPages: 8
desiredNumStackPages: 8
desiredEdenBytes: 12499584
classNameIndex: 6
thisClassIndex: 5
metaclassNumSlots: 6
interruptCheckChain: nil
suppressHeartbeatFlag: false
breakSelector: nil
breakSelectorLength: -1073741824
breakLookupClassTag: nil
longRunningPrimitiveCheckMethod: nil
longRunningPrimitiveCheckSemaphore: nil
longRunningPrimitiveStartUsecs: 0
longRunningPrimitiveStopUsecs: 0
longRunningPrimitiveGCUsecs: nil
longRunningPrimitiveCheckSequenceNumber: nil
longRunningPrimitiveSignalUndelivered: nil
checkAllocFiller: false
tempOop: 0
tempOop2: 0
metaAccessorDepth: -2
theUnknownShort: 0
the2ndUnknownShort: 0
imageFloatsBigEndian: 0
maxExtSemTabSizeSet: false
lastMethodCacheProbeWrite: 1988
gcSemaphoreIndex: 0
classByteArrayCompactIndex: 50
checkedPluginName: nil
nativeSP: nil
nativeStackPointer: nil
lowcodeCalloutState: nil
shadowCallStackPointer: nil
displayBits: 54942176
displayWidth: 976
displayHeight: 666
displayDepth: 32
statForceInterruptCheck: 11782
statStackOverflow: 2194
statStackPageDivorce: 23
statCheckForEvents: 11825
statProcessSwitch: 380
statIOProcessEvents: 12
statPendingFinalizationSignals: 0
statIdleUsecs: 0
debugCallbackPath: 0
debugCallbackReturns: 0
debugCallbackInvokes: 0
parent: nil
bootstrapping: false
byteCount: 11777956
breakCount: nil
sendCount: 1348989
lookupCount: 131603
printSends: false
printReturns: false
traceOn: true
myBitBlt: true
displayForm: Form(976x666x32)
fakeForm: Form(205x18x32)
filesOpen: nil
imageName: '/home/alistair/vmmaker/opensmalltalk-vm/cogsim64.01/Pharo.image'
pluginList: {''->a StackInterpreterSimulatorLSB . 'SecurityPlugin'->a SecurityPlugin...etc...
mappedPluginEntries: an OrderedCollection({a StackInterpreterSimulatorLSB . #primitiveBitOrLargeIntegers...etc...
quitBlock: [closure] in StackInterpreterSimulatorLSB(StackInterpreterSimulator)...etc...
transcript: a TranscriptStream
displayView: a SimulatorImageMorph(1969565)
eventTransformer: a SimulatorEventTransformer
printFrameAtEachStep: false
printBytecodeAtEachStep: false
systemAttributes: a Dictionary(1->'Pharo.image' 2->'eval' 3->'| stdout |
stdou...etc...
startMicroseconds: 3717692948071398
lastYieldMicroseconds: 3717692948306938
externalSemaphoreSignalRequests: #()
externalSemaphoreSignalResponses: #()
extSemTabSize: 256
atEachStepBlock: nil
disableBooleanCheat: false
performFilters: nil
eventQueue: a SharedQueue(20)
assertVEPAES: false
primTraceLog: nil
etc.
--
More information about the Vm-dev
mailing list