[squeak-dev] Squeak VM crashes

Jörg Belger unique75 at web.de
Mon Jan 24 21:09:02 UTC 2022


After a long time of research I have found now a simple workspace that reproduces the crash I seen in my application. Here is it:

| rows index |
rows := OrderedCollection new.
4000000 timesRepeat: [
	index := (rows size - 100) max: 0.
	rows add: #x afterIndex: index].

It seems to be that it happens easier when the #afterIndex: is more at the end of collection. In my first try I used a random „index“, but the crash happened then only very sporadically. It has something to do with the #add:afterIndex: call, because a simple #add: is working for me. The result for me is that my complete image is shutdown.

Here is the info from the About menu:

latest update: #19459
Current Change Set: HomeProject
Image format 68021 (64 bit)

Virtual Machine
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3109]
Win32 built on Nov 23 2021 04:45:16 Compiler: Clang 13.0.0
platform sources revision VM: 202111230439 runneradmin at fv-az34-219:/d/a/opensmalltalk-vm/opensmalltalk-vm Date: Mon Nov 22 20:39:09 2021 CommitHash: f30c25c Plugins: 202111230439 runneradmin at fv-az34-219:/d/a/opensmalltalk-vm/opensmalltalk-vm
CoInterpreter VMMaker.oscog-eem.3109 uuid: 28141cc3-6a57-4a86-b9c2-383d8563851b Nov 23 2021
StackToRegisterMappingCogit VMMaker.oscog-eem.3109 uuid: 28141cc3-6a57-4a86-b9c2-383d8563851b Nov 23 2021

More information about the Squeak-dev mailing list