[Vm-dev] Next Release Candidate?

Marcel Taeumel marcel.taeumel at hpi.de
Fri Dec 10 13:40:26 UTC 2021

Hi Levente --

Windows VM crashes, too. But at a different test: #testHMACSH512Spec.

And the filename for the crash-dmp is broken.


Am 10.12.2021 13:43:45 schrieb Levente Uzonyi <leves at caesar.elte.hu>:

Hi Marcel,

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:

Installer ss
project: 'Registers';
install: 'Registers-Core'.
Installer ss
project: 'Cryptography';
addPackage: 'CryptographyHashing';
addPackage: 'CryptographyHashingTests';
(Smalltalk classNamed: #SHA256WithSHA2PluginTest) run: #testInputs

Interestingly another test (SHA512WithSHA2PluginTest) using a very
similar primitive but with DoubleWords works fine. So perhaps it's an
alignment issue.

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20211210/72c4ea4c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 309840 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20211210/72c4ea4c/attachment-0001.png>

More information about the Vm-dev mailing list