[Cuis-dev] Errors loading solitaire

ken.dickey at whidbey.com ken.dickey at whidbey.com
Sun Dec 18 15:45:04 PST 2022


On 2022-12-18 14:58, Barry Perryman via Cuis-dev wrote:

> So the plot thickens... I've inlined some answers since they could 
> still be of some use but the executive summary seems to be the 
> following:
> 
> * use: Feature require ... this works!
> * use the package installer, this fails.
> 
> This wasn't the result I was expecting.

If things go as expected, life is not an adventure.  ;^)

> The source seems to be in the ZipWriteStream class >> 
> updateCrc:from:to:in:
> The arguments are:
> oldCrc = 4294967295
> start = 1
> stop = 4
> aCollection = 'IHDR'
> 
> It all happens as part of the CardMorph initialisation.  From memory, 
> when I dug into this last time I remember is being the CardMorph 
> initialisation and it was loading the PNG images for the cards.

One theory in this case is that the difference in context between a 
String (hence 'IHDR' is a collection of Characters) and UnicodeString 
('IHDR' is a collection of code points).

I note that SmallInteger>>bitXor: is
   <primitive: 16> and
ZipWriteStream>>updateCrc:from:to:in: is a plugin primitive
   <primitive: 'primitiveUpdateGZipCrc32' module: 'ZipPlugin'>

So I think we are into an interaction between our updated Unicode 
support and deeper VM usage/expectations.

Juan, do you have time help out here?  [Or are you still celebrating 
with the rest of Argentina? Congrads, BTW!]

> barry at ford Cuis-Smalltalk-Dev % 
> ~/Applications/Squeak.app/Contents/MacOS/Squeak -version
> 
> 5.0 5.20220511.0711 Mac OS X built on May 11 2022 08:13:34 UTC 
> Compiler: Apple LLVM 12.0.0 (clang-1200.0.32.29) [Production Spur 
> 64-bit x64 VM]
> CoInterpreter VMMaker.oscog-mt.3184 uuid: 
> 57b61827-3f1a-ab45-966e-7c5caaef28d7 May 11 2022
> StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid: 
> c6fbcb07-2a19-ed4f-8b40-9c119a70882a May 11 2022
> VM: 202205110711 
> runner at Mac-1652256021913.local:work/opensmalltalk-vm/opensmalltalk-vm
> Date: Wed May 11 09:11:21 2022 CommitHash: 95dbe9d
> Plugins: 202205110711 
> runner at Mac-1652256021913.local:work/opensmalltalk-vm/opensmalltalk-v

So, 64bit Mac OS and Intel HW.  That rules a few things out.  Thanks!!


> I'm hoping this isn't going to be a colossal waste of your time...

Not at all!  We want these things to work as expected and definitely 
need help to test things which we don't have time to test regularly.  
Particularly across OS and VM versions.

This is a great help to us!
-KenD


More information about the Cuis-dev mailing list