[squeak-dev] Squeak VM crashes

Jörg Belger unique75 at web.de
Tue Jan 25 20:09:01 UTC 2022


I retested it now with the latest trunk image Squeak6.0alpha-21087-64bit from 2022-01-25 01:36
I run the workspace two times, the first one was ok, but the second leads to the crash, so it seems it is sporadic.

> Am 24.01.2022 um 22:50 schrieb Jaromir Matas <mail at jaromir.net>:
> 
> Hi!
> Unless someone sees a problem right away I’d try the latest trunk image (http://files.squeak.org/trunk/ <http://files.squeak.org/trunk/>) to compare the behavior… I’m not an expert though. My PC is too slow so I tried 1 mil repetitions only and nothing funny happened… (both 5.3. and latest trunk)
> So I’m curious too ;)
>  
> From: Jörg Belger <mailto:unique75 at web.de>
> Sent: Monday, January 24, 2022 22:09
> To: The general-purpose Squeak developers list <mailto:squeak-dev at lists.squeakfoundation.org>
> Subject: [squeak-dev] Squeak VM crashes
>  
> Hello,
> 
> 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].
> rows
> 
> 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:
> 
> Image
> -----
> C:\Users\joerg\Persoenlich\Entwicklung\Squeak\projects\Finance2\Finance.image
> Squeak5.3
> latest update: #19459
> Current Change Set: HomeProject
> Image format 68021 (64 bit)
> 
> Virtual Machine
> ---------------
> C:\Users\joerg\Persoenlich\Entwicklung\Squeak\vms\squeak_cog_spur_win64x64_02d52d1\Squeak.exe
> 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
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220125/35ee0d8b/attachment-0001.html>


More information about the Squeak-dev mailing list