opensmalltalk-vm icon indicating copy to clipboard operation
opensmalltalk-vm copied to clipboard

Cross-platform reproducible crashdumps

Open LinqLover opened this issue 2 years ago • 0 comments

I've got a Squeak image that reproducibly crashes after some time. On Windows, the error message is this:

---------------------------
Fatal Squeak VM error
---------------------------
Sorry but the Squeak VM has crashed.

Exception code:    c0000005
Exception address: 00007ff779310548
Current byte code: -1
Primitive index:   0

Crashed in the VM thread

This information will be stored in the file

with a complete stack dump
---------------------------
OK   
---------------------------

Here is one crash dump from SqueakConsole.exe:


Primitive trace:
SmalltalkImage>>#specialObjectsArray
Array>>#new:
Object>>#at:put:
Object>>#perform:with:with:with:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Array>>#new:
Array>>#new:
Behavior>>#basicNew:
Context>>#stackp:
Context>>#at:put:
Context>>#at:put:
Context>>#at:put:
Context>>#at:put:
ByteArray>>#byteAt:
Object>>#perform:withArguments:inSuperclass:
Behavior>>#basicNew:
**PrimitiveFailure** SandboxContext
Object>>#shallowCopy
Object>>#shallowCopy
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Context>>#basicSize
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Array>>#new:
Behavior>>#basicNew:
Context>>#stackp:
Context>>#at:put:
Context>>#at:put:
Context>>#at:put:
Context>>#at:put:
Object>>#perform:withArguments:inSuperclass:
Behavior>>#basicNew:
**PrimitiveFailure** SandboxContext
Object>>#shallowCopy
Object>>#shallowCopy
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Context>>#basicSize
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Array>>#new:
Object>>#at:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Behavior>>#basicNew:
Context>>#stackp:
Context>>#at:put:
Context>>#at:put:
Context>>#at:put:
Context>>#at:put:
Object>>#perform:withArguments:inSuperclass:
Behavior>>#basicNew:
**PrimitiveFailure** SandboxContext
Object>>#shallowCopy
Object>>#shallowCopy
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Context>>#basicSize
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Context>>#basicAt:
Array>>#new:
Object>>#at:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Behavior>>#basicNew:
Context>>#stackp:
Context>>#at:put:
Context>>#at:put:
Object>>#perform:withArguments:inSuperclass:
Behavior>>#basicNew:
**PrimitiveFailure** SandboxContext
Object>>#shallowCopy
Object>>#shallowCopy
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Context>>#basicSize
Context>>#basicAt:
Context>>#basicAt:
Array>>#new:
Object>>#at:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Array>>#new:
Context>>#objectClass:
Context>>#objectClass:
Array>>#new:
Object>>#at:put:
**StackOverflow**
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:

Stack backtrace: [00007ff78ad2c890] objectClass: + 0x50 in CogCode [00007ff78ad01520] ceReturnToInterpreterTrampoline + 0x0 in CogCode [00007ff7d3cc885f] ??? + 0x0 in (null) [00007ff7d434b1d8] ??? + 0x0 in (null) [00007ff7d3cc885f] ??? + 0x0 in (null) [00007ff78add4b74] send:to:with:lookupIn: + 0x3d4 in CogCode [00007ff78ad01550] ceBaseFrameReturnTrampoline + 0x0 in CogCode

Smalltalk stack dump: 0x65b03fc728 M SandboxContext(Context)>isPrimFailToken: 0x7ff78b522108: a(n) SandboxContext 0x65b03fc7d0 I SandboxContext(Context)>doPrimitive:method:receiver:args: 0x7ff78b522108: a(n) SandboxContext 0x65b03fc848 I SandboxContext>doPrimitive:method:receiver:args: 0x7ff78b522108: a(n) SandboxContext 0x65b03fc908 I SandboxContext(Context)>doPrimitive:method:receiver:args: 0x7ff78b522108: a(n) SandboxContext 0x65b03fc980 I SandboxContext>doPrimitive:method:receiver:args: 0x7ff78b522108: a(n) SandboxContext 0x65b03fc9f0 M SandboxContext(Context)>send:to:with:lookupIn: 0x7ff78b522108: a(n) SandboxContext 0x65b03d8598 M SandboxContext(Context)>send:super:numArgs: 0x7ff78b522108: a(n) SandboxContext 0x65b03d85f8 M SandboxContext(InstructionStream)>interpretNext2ByteSistaV1Instruction:for:extA:extB:startPC: 0x7ff78b522108: a(n) SandboxContext 0x65b03d8690 M SandboxContext(InstructionStream)>interpretNextSistaV1InstructionFor: 0x7ff78b522108: a(n) SandboxContext 0x65b03d86c8 M EncoderForSistaV1 class>interpretNextInstructionFor:in: 0x7ff79b1ca490: a(n) EncoderForSistaV1 0x65b03d8708 M SandboxContext(InstructionStream)>interpretNextInstructionFor: 0x7ff78b522108: a(n) SandboxContext 0x65b03d8740 M SandboxContext(Context)>step 0x7ff78b522108: a(n) SandboxContext 0x65b03d8778 M SandboxContext(SimulationContext)>step 0x7ff78b522108: a(n) SandboxContext 0x65b03d87a8 M SandboxContext>step 0x7ff78b522108: a(n) SandboxContext 0x65b03d87e8 M [] in SandboxContext>runSimulated:contextAtEachStep: 0x7ff83a4b4108: a(n) SandboxContext 0x65b03d8818 M FullBlockClosure(BlockClosure)>whileFalse: 0x7ff83a4b4188: a(n) FullBlockClosure 0x65b03d8860 M SandboxContext(SimulationContext)>runSimulated:contextAtEachStep: 0x7ff83a4b4108: a(n) SandboxContext 0x65b03d88a0 M SandboxContext>runSimulated:contextAtEachStep: 0x7ff83a4b4108: a(n) SandboxContext 0x65b03d88e0 M Sandbox>basicEvaluate: 0x7ff83a4b4390: a(n) Sandbox 0x65b03d8928 M Sandbox>evaluate:on:do: 0x7ff83a4b4390: a(n) Sandbox 0x65b03d8970 M Sandbox class>evaluate:on:do: 0x7ff7c2519620: a(n) Sandbox 0x65b03d89b8 M SandboxKernelTest>basicPerformTest:on:do: 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03d8a10 M SandboxKernelTest(SimulationKernelTest)>basicPerformTest 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f3338 M [] in SandboxKernelTest>performTest 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f3380 M SandboxKernelTest(SimulationTestCase)>shouldNotChange:after: 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f33c0 M SandboxKernelTest(SimulationKernelTest)>performTest 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f33f0 M [] in SandboxKernelTest>runCase 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f3430 M FullBlockClosure(BlockClosure)>on:do: 0x7ff83a4b5d40: a(n) FullBlockClosure 0x65b03f3480 M [] in SandboxKernelTest>timeout:after: 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f34c0 M FullBlockClosure(BlockClosure)>ensure: 0x7ff83a4b5e70: a(n) FullBlockClosure 0x65b03f3510 M SandboxKernelTest(TestCase)>timeout:after: 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f3550 M [] in SandboxKernelTest>runCase 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f3590 M FullBlockClosure(BlockClosure)>ensure: 0x7ff83a4b6050: a(n) FullBlockClosure 0x65b03f35c8 M SandboxKernelTest(TestCase)>runCase 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f3600 M [] in TestResult>runCase: 0x7ff838dc3d38: a(n) TestResult 0x65b03f3640 M FullBlockClosure(BlockClosure)>on:do: 0x7ff83a4b6158: a(n) FullBlockClosure 0x65b03f3690 M [] in TestResult>runCase: 0x7ff838dc3d38: a(n) TestResult 0x65b03f36d0 M FullBlockClosure(BlockClosure)>on:do: 0x7ff83a4b6280: a(n) FullBlockClosure 0x65b03f3720 M [] in TestResult>runCase: 0x7ff838dc3d38: a(n) TestResult 0x65b03f3760 M FullBlockClosure(BlockClosure)>on:do: 0x7ff83a4b63a8: a(n) FullBlockClosure 0x65b03f37a8 M TestResult>runCase: 0x7ff838dc3d38: a(n) TestResult 0x65b03f37e0 M SandboxKernelTest(TestCase)>run: 0x7ff7db32d7a0: a(n) SandboxKernelTest 0x65b03f3828 M [] in ATDDProgressTestSuite>run: 0x7ff7db329240: a(n) ATDDProgressTestSuite 0x65b03f3868 M OrderedCollection>do: 0x7ff7db32a5b0: a(n) OrderedCollection 0x65b03f38b8 I ATDDProgressTestSuite>run: 0x7ff7db329240: a(n) ATDDProgressTestSuite 0x65b03f38f8 M [] in ATDDProgressTestSuite>run 0x7ff7db329240: a(n) ATDDProgressTestSuite 0x65b03f3938 M FullBlockClosure(BlockClosure)>ensure: 0x7ff838dc3e68: a(n) FullBlockClosure 0x65b03f3988 I ATDDProgressTestSuite(TestSuite)>run 0x7ff7db329240: a(n) ATDDProgressTestSuite 0x65b03f39d0 I [] in ATDDLocalTestRunner>runTestSuite 0x7ff7c457b570: a(n) ATDDLocalTestRunner 0x65b03f3a10 I [] in FullBlockClosure>newProcess 0x7ff7db3344a8: a(n) FullBlockClosure

stack page bytes 4096 available headroom 1480 minimum unused headroom 0

Here is another one from SqueakConsole.exe:

fopen (2) -- Das System kann die angegebene Datei nicht finden.                                                                                                                                             
Primitive trace:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Behavior>>#basicNew:
Context>>#stackp:
Object>>#perform:withArguments:inSuperclass:
Behavior>>#basicNew:
**PrimitiveFailure** SandboxContext
Object>>#shallowCopy
Object>>#shallowCopy
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Context>>#basicSize
Array>>#new:
Object>>#at:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Behavior>>#basicNew:
Context>>#stackp:
Object>>#perform:withArguments:inSuperclass:
Behavior>>#basicNew:
**PrimitiveFailure** SandboxContext
Object>>#shallowCopy
Object>>#shallowCopy
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Context>>#basicSize
Array>>#new:
Object>>#at:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Behavior>>#basicNew:
Context>>#stackp:
Object>>#perform:withArguments:inSuperclass:
Behavior>>#basicNew:
**PrimitiveFailure** SandboxContext
Object>>#shallowCopy
Object>>#shallowCopy
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Object>>#instVarAt:
Object>>#instVarAt:put:
Context>>#basicSize
Array>>#new:
Array>>#new:
Object>>#at:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
Context>>#object:instVarAt:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:
SmalltalkImage>>#specialObjectsArray
SmalltalkImage>>#specialObjectsArray
Array>>#new:
Object>>#at:put:
ProtoObject>>#tryPrimitive:withArgs:
Array>>#new:
Context>>#objectClass:
Context>>#objectClass:
Array>>#new:
Object>>#at:put:
**StackOverflow**
Object>>#perform:with:with:with:
ProtoObject>>#tryPrimitive:withArgs:
ProtoObject>>#tryPrimitive:withArgs:

Stack backtrace: [00007ff78aa69eac] ??? + 0x19eac in SqueakConsole.exe [00007ff78ad1995e] at:put: + 0x8e in CogCode [00007ff78ae0bbcb] at:put: + 0xdb in CogCode [00007ff78ae0bae1] addObject: + 0x91 in CogCode [00007ff78ae0fdae] doPrimitiveNew:receiver:args: + 0x206 in CogCode [00007ff78ad01520] ceReturnToInterpreterTrampoline + 0x0 in CogCode [00007ff7d456a678] ??? + 0x0 in (null) [00007ff78ad01550] ceBaseFrameReturnTrampoline + 0x0 in CogCode

Smalltalk stack dump: 0xc1729f7578 M WeakIdentityKeyDictionary>scanFor: 0x7ff809ef1290: a(n) WeakIdentityKeyDictionary 0xc1729f75c0 M WeakIdentityKeyDictionary(Dictionary)>at:put: 0x7ff809ef1290: a(n) WeakIdentityKeyDictionary 0xc1729f7600 M WeakIdentityKeyDictionary(WeakKeyDictionary)>at:put: 0x7ff809ef1290: a(n) WeakIdentityKeyDictionary 0xc1729f7640 M Sandbox>addObject: 0x7ff809eee860: a(n) Sandbox 0xc1729f7690 M SandboxContext>doPrimitiveNew:receiver:args: 0x7ff78b115a80: a(n) SandboxContext 0xc1729f7700 I SandboxContext>doPrimitive:method:receiver:args: 0x7ff78b115a80: a(n) SandboxContext 0xc1729f77c0 I SandboxContext(Context)>doPrimitive:method:receiver:args: 0x7ff78b115a80: a(n) SandboxContext 0xc1729e32f8 I SandboxContext>doPrimitive:method:receiver:args: 0x7ff78b115a80: a(n) SandboxContext 0xc1729e3368 M SandboxContext(Context)>send:to:with:lookupIn: 0x7ff78b115a80: a(n) SandboxContext 0xc1729e33d8 M SandboxContext(Context)>send:super:numArgs: 0x7ff78b115a80: a(n) SandboxContext 0xc1729e3460 M SandboxContext(InstructionStream)>interpretNextSistaV1InstructionFor: 0x7ff78b115a80: a(n) SandboxContext 0xc1729e3498 M EncoderForSistaV1 class>interpretNextInstructionFor:in: 0x7ff79b1c93e8: a(n) EncoderFor0xc1729e34d8 M SandboxContext(InstructionStream)>interpretNextInstructionFor: 0x7ff78b115a80: a(n) SandboxContext 0xc1729e3510 M SandboxContext(Context)>step 0x7ff78b115a80: a(n) SandboxContext 0xc1729e3548 M SandboxContext(SimulationContext)>step 0x7ff78b115a80: a(n) SandboxContext 0xc1729e3578 M SandboxContext>step 0x7ff78b115a80: a(n) SandboxContext 0xc1729e35b8 M [] in SandboxContext>runSimulated:contextAtEachStep: 0x7ff809eee5a8: a(n) SandboxContext 0xc1729e35e8 M FullBlockClosure(BlockClosure)>whileFalse: 0x7ff809eee5f0: a(n) FullBlockClosure 0xc1729e3630 M SandboxContext(SimulationContext)>runSimulated:contextAtEachStep: 0x7ff809eee5a8: a(n) SandboxContext 0xc1729e3670 M SandboxContext>runSimulated:contextAtEachStep: 0x7ff809eee5a8: a(n) SandboxContext 0xc1729e36b0 M Sandbox>basicEvaluate: 0x7ff809eee860: a(n) Sandbox 0xc1729e36f8 M Sandbox>evaluate:on:do: 0x7ff809eee860: a(n) Sandbox 0xc1729e3740 M Sandbox class>evaluate:on:do: 0x7ff7c2716028: a(n) Sandbox 0xc1729e3788 M SandboxKernelTest>basicPerformTest:on:do: 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729e37e0 M SandboxKernelTest(SimulationKernelTest)>basicPerformTest 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d3108 M [] in SandboxKernelTest>performTest 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d3150 M SandboxKernelTest(SimulationTestCase)>shouldNotChange:after: 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d3190 M SandboxKernelTest(SimulationKernelTest)>performTest 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d31c0 M [] in SandboxKernelTest>runCase 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d3200 M FullBlockClosure(BlockClosure)>on:do: 0x7ff809eed6b0: a(n) FullBlockClosure 0xc1729d3250 M [] in SandboxKernelTest>timeout:after: 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d3290 M FullBlockClosure(BlockClosure)>ensure: 0x7ff809eed7e0: a(n) FullBlockClosure 0xc1729d32e0 M SandboxKernelTest(TestCase)>timeout:after: 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d3320 M [] in SandboxKernelTest>runCase 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d3360 M FullBlockClosure(BlockClosure)>ensure: 0x7ff809eed9c0: a(n) FullBlockClosure 0xc1729d3398 M SandboxKernelTest(TestCase)>runCase 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d33d0 M [] in TestResult>runCase: 0x7ff82a739f08: a(n) TestResult 0xc1729d3410 M FullBlockClosure(BlockClosure)>on:do: 0x7ff809eedac8: a(n) FullBlockClosure 0xc1729d3460 M [] in TestResult>runCase: 0x7ff82a739f08: a(n) TestResult 0xc1729d34a0 M FullBlockClosure(BlockClosure)>on:do: 0x7ff809eedbf0: a(n) FullBlockClosure 0xc1729d34f0 M [] in TestResult>runCase: 0x7ff82a739f08: a(n) TestResult 0xc1729d3530 M FullBlockClosure(BlockClosure)>on:do: 0x7ff809eedd18: a(n) FullBlockClosure 0xc1729d3578 M TestResult>runCase: 0x7ff82a739f08: a(n) TestResult 0xc1729d35b0 M SandboxKernelTest(TestCase)>run: 0x7ff7db361350: a(n) SandboxKernelTest 0xc1729d35f8 M [] in ATDDProgressTestSuite>run: 0x7ff7db35cd60: a(n) ATDDProgressTestSuite 0xc1729d3638 M OrderedCollection>do: 0x7ff7db35e100: a(n) OrderedCollection 0xc1729d3688 I ATDDProgressTestSuite>run: 0x7ff7db35cd60: a(n) ATDDProgressTestSuite 0xc1729d36c8 M [] in ATDDProgressTestSuite>run 0x7ff7db35cd60: a(n) ATDDProgressTestSuite 0xc1729d3708 M FullBlockClosure(BlockClosure)>ensure: 0x7ff8280c77e8: a(n) FullBlockClosure 0xc1729d3758 I ATDDProgressTestSuite(TestSuite)>run 0x7ff7db35cd60: a(n) ATDDProgressTestSuite 0xc1729d37a0 I [] in ATDDLocalTestRunner>runTestSuite 0x7ff7c47747e8: a(n) ATDDLocalTestRunner 0xc1729d37e0 I [] in FullBlockClosure>newProcess 0x7ff7db3688f8: a(n) FullBlockClosure

stack page bytes 4096 available headroom 1480 minimum unused headroom 1728

And here is one from WSL/Ubuntu:

Segmentation fault Sun Nov  7 15:57:38 2021

/usr/bin/squeak/lib/squeak/5.0-202006010135/squeak Squeak VM version: 5.0-202006010135 Mon Jun 1 01:38:30 UTC 2020 clang [Production Spur 64-bit VM] Built from: CoInterpreter VMMaker.oscog-eem.2758 uuid: 12eca51a-b989-486f-9a89-a66bba48ccc1 Jun 1 2020 With: StackToRegisterMappingCogit VMMaker.oscog-eem.2758 uuid: 12eca51a-b989-486f-9a89-a66bba48ccc1 Jun 1 2020 Revision: VM: 202006010135 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sun May 31 18:35:25 2020 CommitHash: e4f17ad Plugins: 202006010135 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Build host: Linux travis-job-7e81eb5a-1e14-4642-9231-b5718b11be25 4.15.0-1028-gcp #29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux plugin path: /usr/bin/squeak/lib/squeak/5.0-202006010135 [default: /usr/bin/squeak/lib/squeak/5.0-202006010135/]

C stack backtrace & registers: rax 0x00000000 rbx 0x007b8b48 rcx 0x00002b63 rdx 0x0170d6d0 rdi 0x00000000 rsi 0x00000001 rbp 0x7fffe5fcaa98 rsp 0x7fffe5fcaa78 r8 0x8f616040 r9 0x00000000 r10 0x00000044 r11 0x7fffe5fcab40 r12 0x0170d6d0 r13 0x012c17a0 r14 0x012c17a0 r15 0x8000000008200031 rip 0x01213170 *[0x1213170] /usr/bin/squeak/lib/squeak/5.0-202006010135/squeak[0x41ab4d] /usr/bin/squeak/lib/squeak/5.0-202006010135/squeak[0x41caa7] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f7aa09d2980] [0x1213170] /lib/x86_64-linux-gnu/libc.so.6(+0x9e6ff)[0x7f7aa00ae6ff]

Smalltalk stack dump: 0x7fffe5fcaa98 M SandboxContext(Context)>isPrimFailToken: 0x170d6d0: a(n) SandboxContext 0x7fffe5fcab40 I SandboxContext(Context)>doPrimitive:method:receiver:args: 0x170d6d0: a(n) SandboxContext 0x7fffe5fcabb8 I SandboxContext>doPrimitive:method:receiver:args: 0x170d6d0: a(n) SandboxContext 0x7fffe5fcac78 I SandboxContext(Context)>doPrimitive:method:receiver:args: 0x170d6d0: a(n) SandboxContext 0x7fffe5fcacf0 I SandboxContext>doPrimitive:method:receiver:args: 0x170d6d0: a(n) SandboxContext 0x7fffe5fcad60 M SandboxContext(Context)>send:to:with:lookupIn: 0x170d6d0: a(n) SandboxContext 0x7fffe5fac908 M SandboxContext(Context)>send:super:numArgs: 0x170d6d0: a(n) SandboxContext 0x7fffe5fac968 M SandboxContext(InstructionStream)>interpretNext2ByteSistaV1Instruction:for:extA:extB:startPC: 0x170d6d0: a(n) SandboxContext 0x7fffe5faca00 M SandboxContext(InstructionStream)>interpretNextSistaV1InstructionFor: 0x170d6d0: a(n) SandboxContext 0x7fffe5faca38 M EncoderForSistaV1 class>interpretNextInstructionFor:in: 0x11628490: a(n) EncoderForSistaV1 class 0x7fffe5faca78 M SandboxContext(InstructionStream)>interpretNextInstructionFor: 0x170d6d0: a(n) SandboxContext 0x7fffe5facab0 M SandboxContext(Context)>step 0x170d6d0: a(n) SandboxContext 0x7fffe5facae8 M SandboxContext(SimulationContext)>step 0x170d6d0: a(n) SandboxContext 0x7fffe5facb18 M SandboxContext>step 0x170d6d0: a(n) SandboxContext 0x7fffe5facb58 M [] in SandboxContext>runSimulated:contextAtEachStep: 0x8f2af3d0: a(n) SandboxContext 0x7fffe5facb88 M FullBlockClosure(BlockClosure)>whileFalse: 0x8f2af450: a(n) FullBlockClosure 0x7fffe5facbd0 M SandboxContext(SimulationContext)>runSimulated:contextAtEachStep: 0x8f2af3d0: a(n) SandboxContext 0x7fffe5facc10 M SandboxContext>runSimulated:contextAtEachStep: 0x8f2af3d0: a(n) SandboxContext 0x7fffe5facc50 M Sandbox>basicEvaluate: 0x8f2af358: a(n) Sandbox 0x7fffe5facc98 M Sandbox>evaluate:on:do: 0x8f2af358: a(n) Sandbox 0x7fffe5facce0 M Sandbox class>evaluate:on:do: 0x38b8a228: a(n) Sandbox class 0x7fffe5facd28 M SandboxKernelTest>basicPerformTest:on:do: 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5facd80 M SandboxKernelTest(SimulationKernelTest)>basicPerformTest 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb06a8 M [] in SandboxKernelTest>performTest 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb06f0 M SandboxKernelTest(SimulationTestCase)>shouldNotChange:after: 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb0730 M SandboxKernelTest(SimulationKernelTest)>performTest 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb0760 M [] in SandboxKernelTest>runCase 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb07a0 M FullBlockClosure(BlockClosure)>on:do: 0x8f2afbc0: a(n) FullBlockClosure 0x7fffe5fb07f0 M [] in SandboxKernelTest>timeout:after: 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb0830 M FullBlockClosure(BlockClosure)>ensure: 0x8f2afce0: a(n) FullBlockClosure 0x7fffe5fb0880 M SandboxKernelTest(TestCase)>timeout:after: 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb08c0 M [] in SandboxKernelTest>runCase 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb0900 M FullBlockClosure(BlockClosure)>ensure: 0x8f2afec0: a(n) FullBlockClosure 0x7fffe5fb0938 M SandboxKernelTest(TestCase)>runCase 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb0970 M [] in TestResult>runCase: 0x88923578: a(n) TestResult 0x7fffe5fb09b0 M FullBlockClosure(BlockClosure)>on:do: 0x8f2affc8: a(n) FullBlockClosure 0x7fffe5fb0a00 M [] in TestResult>runCase: 0x88923578: a(n) TestResult 0x7fffe5fb0a40 M FullBlockClosure(BlockClosure)>on:do: 0x8f2b00f0: a(n) FullBlockClosure 0x7fffe5fb0a90 M [] in TestResult>runCase: 0x88923578: a(n) TestResult 0x7fffe5fb0ad0 M FullBlockClosure(BlockClosure)>on:do: 0x8f2b0218: a(n) FullBlockClosure 0x7fffe5fb0b18 M TestResult>runCase: 0x88923578: a(n) TestResult 0x7fffe5fb0b50 M SandboxKernelTest(TestCase)>run: 0x517aaa70: a(n) SandboxKernelTest 0x7fffe5fb0b98 M [] in ATDDProgressTestSuite>run: 0x517a65a0: a(n) ATDDProgressTestSuite 0x7fffe5fb0bd8 M OrderedCollection>do: 0x517a7838: a(n) OrderedCollection 0x7fffe5fb0c28 I ATDDProgressTestSuite>run: 0x517a65a0: a(n) ATDDProgressTestSuite 0x7fffe5fb0c68 M [] in ATDDProgressTestSuite>run 0x517a65a0: a(n) ATDDProgressTestSuite 0x7fffe5fb0ca8 M FullBlockClosure(BlockClosure)>ensure: 0x889aae10: a(n) FullBlockClosure 0x7fffe5fb0cf8 I ATDDProgressTestSuite(TestSuite)>run 0x517a65a0: a(n) ATDDProgressTestSuite 0x7fffe5fb0d40 I [] in ATDDLocalTestRunner>runTestSuite 0x3abec178: a(n) ATDDLocalTestRunner 0x7fffe5fb0d80 I [] in FullBlockClosure>newProcess 0x517bb908: a(n) FullBlockClosure

Most recent primitives tryPrimitive:withArgs: doPrimitiveNew:receiver:args: new: new: basicNew: stackp: at:put: at:put: at:put: at:put: byteAt: perform:withArguments:inSuperclass: basicNew: copyFrom: PrimitiveFailure PrimitiveFailure shallowCopy shallowCopy instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt:put: basicSize basicAt: basicAt: basicAt: basicAt: new: basicNew: stackp: at:put: at:put: at:put: at:put: perform:withArguments:inSuperclass: basicNew: copyFrom: PrimitiveFailure PrimitiveFailure shallowCopy shallowCopy instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt:put: basicSize basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: new: at: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: basicNew: stackp: at:put: at:put: at:put: at:put: perform:withArguments:inSuperclass: basicNew: copyFrom: PrimitiveFailure PrimitiveFailure shallowCopy shallowCopy instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt:put: basicSize basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: basicAt: new: at: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: basicNew: stackp: at:put: at:put: perform:withArguments:inSuperclass: basicNew: copyFrom: PrimitiveFailure PrimitiveFailure shallowCopy shallowCopy instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt: instVarAt:put: instVarAt: instVarAt:put: instVarAt: instVarAt:put: basicSize basicAt: basicAt: new: at: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: specialObjectsArray specialObjectsArray new: tryPrimitive:withArgs: tryPrimitive:withArgs: new: objectClass: objectClass: new: at:put: StackOverflow tryPrimitive:withArgs: tryPrimitive:withArgs:

stack page bytes 8192 available headroom 5576 minimum unused headroom 0

    (Segmentation fault)

Aborted (core dumped)

The Windows VM is from 202110232003.

(Meanwhile, SqueakJS takes eternities to load the 1436475432 bytes large image file.)

Any ideas what could be going on here or how I would be able to debug an issue like this? :(

LinqLover avatar Nov 07 '21 15:11 LinqLover