David T. Lewis uploaded a new version of VMMaker to project VM Maker Inbox:
http://source.squeak.org/VMMakerInbox/VMMaker.oscog-dtl.3185.mcz
==================== Summary ====================
Name: VMMaker.oscog-dtl.3185
Author: dtl
Time: 30 May 2022, 2:36:26.668082 pm
UUID: 0e7f07b8-eed6-4362-b223-86c98594ddb9
Ancestors: VMMaker.oscog-mt.3184
Let primitiveImageFormatVersion answer the correct image format number when multiple byte codes are active.
=============== Diff against VMMaker.oscog-mt.3184 ===============
Item was changed:
----- Method: InterpreterPrimitives>>primitiveImageFormatVersion (in category 'other primitives') -----
primitiveImageFormatVersion
"Answer an integer identifying the type of image. The image version number may
identify the format of the image (e.g. 32 or 64-bit word size) or specific requirements
of the image (e.g. block closure support required).
This is a named (not numbered) primitive in the null module (ie the VM)"
<export: true>
+ self pop: 1 thenPush: (self positive32BitIntegerFor: self imageFormatVersionForSnapshot)
- self pop: 1 thenPush: (self positive32BitIntegerFor: self imageFormatVersion)
!
Hi Dave --
See https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/638 [https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/638]
Should we fix this in the image or in the VM?
Best,
Marcel
Am 30.05.2022 11:48:03 schrieb Marcel Taeumel <marcel.taeumel(a)hpi.de>:
Hi Dave --
I wonder why I cannot change the format from 68021 to 68533 via
CompiledCode multipleBytecodeSetsActive: true.
Smalltalk snapshot: true andQuit: true.
Any ideas? At least the System Reporter does not report that format. Is this a VM bug?
Best,
Marcel
Am 29.05.2022 16:04:04 schrieb David T. Lewis <lewis(a)mail.msen.com>:
On Sun, May 29, 2022 at 08:06:59AM +0000, Jaromir Matas wrote:
> Hi,
> I wonder what?s changed that the images starting from Squeak6.0beta-21772-64bit on won?t start with the previous release VM (squeak.cog.spur_win64x64_202003021730) or even with pre-release new VMs (e.g. version 3154).
>
> I?m on Win10, the process explorer (windows) shortly runs WerFault.exe and than the Squeak process is closed/disappears.
>
The change is here:
http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-May/220660.html
The current release candidate image does not have this, but it will be
applied as soon as you update that image, and it expected to be part of
the final release. The update applies a new image format number to the
saved image files (stored in the first 4 bytes of the image file) when
multiple bytecode set support is required from the VM. Effectively, the
means that the image is using the Sista bytecode set. Older VMs can
run the Sista bytecodes but do not yet have the code for recognizing
the additional image format number.
Dave
To reproduce, in Squeak, do this:
```smalltalk
'aaa' copy tryPrimitive: 64 withArgs: {2. $b asciiValue}; yourself
```
Expected behavior: The primitive fails, and the string remains `aaa`. This is also what we are used to from primitive 61 (primitiveAtPut).
Actual behavior: The primitive fails, but the string slot has been changed to `Character null`.
(By the way, TruffleSqueak and SqueakJS show my expected behavior.)
Maybe there is some clever reasoning behind it, but a primitive that fails should not have any other side effects from my first impression. Is this a bug?
--
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/636
You are receiving this because you are subscribed to this thread.
Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/636(a)github.com>
We used to use MAXHOSTNAMELEN, but that is 64 on most Linuxen and
might be differen w/ or w/o POSIX compliance. We now use the
definitions from and implications by DNS itself.
Now, we can
```
WebClient httpGet: 'http://theofficialabsolutelongestdomainnameregisteredontheworldwideweb.international/'
```
Fixes #619
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/635
-- Commit Summary --
* [Unix/Sockets] Fix Resolution of FQDNs >64 chars
-- File Changes --
M platforms/unix/plugins/SocketPlugin/sqUnixSocket.c (45)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/635.patchhttps://github.com/OpenSmalltalk/opensmalltalk-vm/pull/635.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/635
You are receiving this because you are subscribed to this thread.
Message ID: <OpenSmalltalk/opensmalltalk-vm/pull/635(a)github.com>
SocketPlugin uses a buffer of size MAXHOSTNAMELEN + 1 on [unix](https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/6d38f13347be10….
The value of that constant is 64 on linux. A domain name can have up to 255 octets with each label having up to 63 octets.
So, 64 is definitely not the right value, nor is MAXHOSTNAMELEN, because the buffer is there to store a domain name, not a host name.
--
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/619
You are receiving this because you are subscribed to this thread.
Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/619(a)github.com>
OpenSSL 3 deprecated SSL_get_peer_certificate, made it a macro and an
provides SSL_get{0,1}_peer_certificate instead.
Why even more complicating that already messed API is beyond me.
Not promising ABI stability is well known for OpenSSL but, why the HECK
not simply providing an Alias Symbol instead of UNNECESSARILY ripping
the symbol out of that innocent object file?
Also, we now need a load-time disambiguation of which symbol to use.
(if you find a rant in this message, you can keep it)
Fixes #633
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/634
-- Commit Summary --
* [SqueakSSL/unix/openssl] Fix for OpenSSL3
-- File Changes --
M platforms/unix/plugins/SqueakSSL/openssl_overlay.h (9)
M platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.inc (30)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/634.patchhttps://github.com/OpenSmalltalk/opensmalltalk-vm/pull/634.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/634
You are receiving this because you are subscribed to this thread.
Message ID: <OpenSmalltalk/opensmalltalk-vm/pull/634(a)github.com>
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: dd435c87a9e39d77536969be0c64a364cfd58ea2
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/dd435c87a9e39d7753…
Author: Tobias Pape <tobias(a)netshed.de>
Date: 2022-05-25 (Wed, 25 May 2022)
Changed paths:
M platforms/unix/plugins/SqueakSSL/openssl_overlay.h
M platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.inc
Log Message:
-----------
[SqueakSSL/unix/openssl] Fix for OpenSSL3
OpenSSL 3 deprecated SSL_get_peer_certificate, made it a macro and an
provides SSL_get{0,1}_peer_certificate instead.
Why even more complicating that already messed API is beyond me.
Not promising ABI stability is well known for OpenSSL but, why the HECK
not simply providing an Alias Symbol instead of UNNECESSARILY ripping
the symbol out of that innocent object file?
Also, we now need a load-time disambiguation of which symbol to use.
(if you find a rant in this message, you can keep it)
Commit: 61e43f0d39025098d3e8c2ab790dda0f9e88a062
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/61e43f0d39025098d3…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2022-05-26 (Thu, 26 May 2022)
Changed paths:
M platforms/unix/plugins/SqueakSSL/openssl_overlay.h
M platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.inc
Log Message:
-----------
Merge pull request #634 from OpenSmalltalk/krono/ssl-on-jammy-stuff
[SqueakSSL/unix/openssl] Fix for OpenSSL3
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/3e3541fec2de...61…