[squeak-dev] [Vm-dev] Next Release Candidate?
leves at caesar.elte.hu
Fri Dec 10 12:43:31 UTC 2021
The SHA2 plugin (primitiveSHA256ProcessBufferUpdatingHash) still
crashes with that VM on 64-bit linux.
The plugin code works with earlier versions, so it's either a VM
change of the past 6-9 months, a code generator bug or a compiler bug IMO.
To reproduce the crash, evaluate the following:
(Smalltalk classNamed: #SHA256WithSHA2PluginTest) run: #testInputs
Interestingly another test (SHA512WithSHA2PluginTest) using a very
similar primitive but with DoubleWords works fine. So perhaps it's an
Assert and debug VMs do not have that issue, so it's not that easy to
debug it. What I found was that buffer's value at
was not the expected pointer, so the subsequent copying into it resulted
in segmentation fault.
More information about the Squeak-dev