If I execute this code:
```Smalltalk
ZnClient new url: 'https://google.com'; get.
```
I get a result.
If I execute this code:
```Smalltalk
ZnClient new url: 'https://github.com'; get.
```
I get this error: Error: SSL Exception: connect failed [code:-5]
I tried with both stable and latest vm. (The stable is from august 2017 I think)
I sent a mail on the Pharo dev ML and we are at least two having this problem with Windows 7 when it's working with Windows 10.
Here are the details and the stack:
```
Image
-----
E:\Pharo\images\Pharo 7.0 (development version)-22\Pharo 7.0
(development version)-22.image
Pharo7.0alpha
Build information:
Pharo-7.0+alpha.build.749.sha.039a4b6f0d61ba99778349c4cff2c4e8d5ff9227
(32 Bit)
Unnamed
Virtual Machine
---------------
C:\Users\JeCisC\Documents\Pharo\vms\70-x86\Pharo.exe
CoInterpreter VMMaker.oscog-eem.2359 uuid:
b3273e3e-dd9d-4819-a928-7034e1cf412c Mar 16 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2359 uuid:
b3273e3e-dd9d-4819-a928-7034e1cf412c Mar 16 2018
VM: 201803161038 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
Date: Fri Mar 16 11:38:09 2018 +0100 $ Plugins: 201803161038
https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
Win32 built on Mar 16 2018 11:02:19 GMT Compiler: 6.4.0
VMMaker versionString VM: 201803161038
https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Fri Mar 16
11:38:09 2018 +0100 $ Plugins: 201803161038
https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
CoInterpreter VMMaker.oscog-eem.2359 uuid:
b3273e3e-dd9d-4819-a928-7034e1cf412c Mar 16 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2359 uuid:
b3273e3e-dd9d-4819-a928-7034e1cf412c Mar 16 2018
Operating System/Hardware
-------------------------
Win32 6.1 IX86
Operating System Details
------------------------
Operating System: Windows 7 Professional N (Build 7601 Service Pack 1)
SP major version: 1
SP minor version: 0
Suite mask: 100
Product type: 1
==============================================================
ZdcSecureSocketStream(Object)>>error:
ZdcSecureSocketStream>>sslException:code:
ZdcSecureSocketStream>>connect
ZnClient>>setupTLSTo:
ZnClient>>newConnectionTo:
ZnClient>>getConnectionAndExecute
ZnClient>>executeWithRedirectsRemaining:
[ self executeWithRedirectsRemaining: self maxNumberOfRedirects ] in
ZnClient>>executeWithRetriesRemaining: in Block: [ self
executeWithRedirectsRemaining: self maxNumb...etc...
BlockClosure>>on:do:
ZnClient>>executeWithRetriesRemaining:
[ self executeWithRetriesRemaining: self numberOfRetries ] in [ [ self
executeWithRetriesRemaining: self numberOfRetries ]
on: Error
do: self ifFailBlock ] in ZnClient>>executeWithTimeout in Block: [ self
executeWithRetriesRemaining: self numberOfR...etc...
BlockClosure>>on:do:
[ [ self executeWithRetriesRemaining: self numberOfRetries ]
on: Error
do: self ifFailBlock ] in ZnClient>>executeWithTimeout in Block: [ [
self executeWithRetriesRemaining: self numberO...etc...
[ ^ block value ] in ZnClient>>withTimeoutDo: in Block: [ ^ block value ]
[ activeProcess psValueAt: index put: anObject.
aBlock value ] in ZnConnectionTimeout(DynamicVariable)>>value:during: in
Block: [ activeProcess psValueAt: index put: anObject....
BlockClosure>>ensure:
ZnConnectionTimeout(DynamicVariable)>>value:during:
ZnConnectionTimeout class(DynamicVariable class)>>value:during:
ZnClient>>withTimeoutDo:
ZnClient>>executeWithTimeout
[ result := self executeWithTimeout ] in ZnClient>>execute in Block: [
result := self executeWithTimeout ]
[ ^ block value ] in ZnClient>>withProgressDo: in Block: [ ^ block value ]
[ activeProcess psValueAt: index put: anObject.
aBlock value ] in ZnSignalProgress(DynamicVariable)>>value:during: in
Block: [ activeProcess psValueAt: index put: anObject....
BlockClosure>>ensure:
ZnSignalProgress(DynamicVariable)>>value:during:
ZnSignalProgress class(DynamicVariable class)>>value:during:
ZnClient>>withProgressDo:
ZnClient>>execute
ZnClient>>get
UndefinedObject>>DoIt
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/236
*I have copied the below issue from https://github.com/hpi-swa/smalltalkCI/issues/366.*
Hi!
Time to time, the Pharo VM crashes, without any apparent reasons.
For example, in https://travis-ci.org/ObjectProfile/Roassal2/jobs/365943067
```
VM: 201708271955 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Sun Aug 27 21:55:26 2017 +0200 $
Plugins: 201708271955 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
C stack backtrace & registers:
eax 0x1e750080 ebx 0x00000100 ecx 0x00000020 edx 0x00000002
edi 0x00000020 esi 0x00000020 ebp 0xbff09c58 esp 0xbff09c58
eip 0x000e848d
0 Pharo 0x000e848d fetchByteofObject + 9
1 Pharo 0x00149400 reportStackState + 819
2 Pharo 0x001497a2 sigsegv + 191
3 libsystem_platform.dylib 0xa1742e5b _sigtramp + 43
```
And a bit below:
```
Smalltalk
Smalltalk stack dump:
0xbff11ce8 I SessionManager>snapshot:andQuit: 0x6b496a8: a(n) SessionManager
0xbff11d18 I [] in SmalltalkImage>snapshot:andQuit: 0x5517fa0: a(n) SmalltalkImage
0xbff11d3c I CurrentExecutionEnvironment class>activate:for: 0x5af3520: a(n) CurrentExecutionEnvironment class
0xbff11d64 I DefaultExecutionEnvironment(ExecutionEnvironment)>beActiveDuring: 0x5e2bc70: a(n) DefaultExecutionEnvironment
0xbff11d88 I DefaultExecutionEnvironment class>beActiveDuring: 0x5b1d8a8: a(n) DefaultExecutionEnvironment class
0xbff11dac I SmalltalkImage>snapshot:andQuit: 0x5517fa0: a(n) SmalltalkImage
```
It seems to happens randomly
/cc @bergel
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/252
A plain ./mvm build on MacOS 10.13.4 (in any of the build.macos64x64/pharo.* directories) fails with this error:
> utils-prng.c:207:27: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
> randdata.vb = __builtin_shuffle (randdata.vb, bswap_shufflemask);
> ^
> utils-prng.c:207:25: error: assigning to 'uint8x16' (vector of 16 'uint8_t' values) from incompatible type 'int'
> randdata.vb = __builtin_shuffle (randdata.vb, bswap_shufflemask);
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
It's trying to build the tests for pixman. There is a patch for this bug here: https://bugs.freedesktop.org/show_bug.cgi?id=104886
But when I apply the patch, the patched utils-prng.c file gets overwritten with the old version by something in the build or configure step, so the patch disappears and the build error returns.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/258
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The "sunos" branch "pull request" attempt seems to have passed the
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
The build directories build.sunos32x86 and build.sunos64x64 were removed.
This is not much of a problem as they are now in a separate package,
"solaris-squeak" and this seems to work fine.
I just modified the "mvm" scripts (in the external package)
to set a "STDIR" (SmalltalkDirectory)
point to the opensmalltalk sources and then modified the "mvm" script to
look for the sources in the $STDIR directory.
Also the Pull Request indicates:
"This branch has no conflicts with the base branch
Only those with write access to this repository can merge pull requests."
So is it please possible to merge those fixes.
By the way for those who are afraid their version will stop working,
I can only say that "to err is human", I did my best not to break anything.
For example the "pulseaudio" is the default for me in the #ifdef __sun case,
but this case does not apply to other UNIX or Linux versions.
Also, regarding the "pulseaudio" change, (which was not changed so far
in the Cog branch!) be really unacceptable then I propose that the other
changes are merged, and that change not by whoever is merging the changes
...
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJeouxKAAoJEAwpOKXMq1MaOdkH/1BcvyOeFNiu3yJkvpnSH1i7
/j8Em+XO/JgMGFyvDNOW0TtSbem5pFXozEhR5U7enYp1IOkrjcA1uYxEYBeJ548R
KmWgTQj2dL/7ZEBiAdnYHE173/O0njStZDIA+/+bACWQN6I5J0ersx1aNH4zh9aN
65580kDbxjS/ubzY4XpYO8Y9TkKRe/F7mhFjyis5XMLELlWc+3eoX+c1bJT6ZxEH
cvGoah3A2CbtvHuyJjvTvApl6Bv1dUJYMIGFsiWfxEKCXemTY+ihb3gJ6hqbsziq
A2FiHSNRbnC3L3mZVltGAv/+OGZH9fPi2qj2buMVHMsO7Z/cVmn76r8SifCoImo=
=+6X9
-----END PGP SIGNATURE-----
--
Sent from: http://forum.world.st/Squeak-VM-f104410.html
#include <ucontext.h> is the right way to include getcontext/setcontext functions (per man page). Files in sys/* are specific to kernel implementations. If this is required it will be included by ucontext.h.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/56905bf2b4cb194786…
```
VM 202004210425 (cog.spur 32-bit and 64-bit)
OS Windows 10 (Version 1909 Build 18363.778)
```
Today is -- obviously -- January 19 in the wonderful year of 586155. 😄
The primitive used in `Time class >> #primPosixMicrosecondClockWithOffset:` called `primitiveUtcWithOffset` returns strange information.
Works fine in `VM 202003021730`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 36270b33202975eee7adab9fa0905dd48421e1ef
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/36270b33202975eee7…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M build.win64x64/common/Makefile.msvc.tools
Log Message:
-----------
Make sure there is 2Mb of stakc size in the MSVC 64-bit WIndows builds. This
allows Terf to enter a Forum on Windows in 64-bits (woo hoo!!). [ci skip]
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 536a6b7b01361bafae3d057a1498b7dfd6aa82b7
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/536a6b7b01361bafae…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2020-04-25 (Sat, 25 Apr 2020)
Changed paths:
M platforms/minheadless/windows/sqWin32Heartbeat.c
M platforms/minheadless/windows/sqWin32Time.c
M platforms/win32/vm/sqWin32Heartbeat.c
M platforms/win32/vm/sqWin32Time.c
Log Message:
-----------
Hot fix for issue #488 Win32 DateAndTime
I broke it in https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/9d52fef2240b7bdf6c…
While at it, fix the 4 copies of the function (without an IDE, I lost quite some time inspecting the wrong one!).
Commit: 61862f35af63f088ddecc49717fce3367c5250e0
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/61862f35af63f088dd…
Author: Nicolas Cellier <nicolas.cellier(a)sirehna.com>
Date: 2020-04-25 (Sat, 25 Apr 2020)
Changed paths:
M platforms/Cross/vm/sq.h
M platforms/Cross/vm/sqVirtualMachine.c
M platforms/Cross/vm/sqVirtualMachine.h
M platforms/Mac OS/vm/sqMacTime.c
M platforms/minheadless/common/sqaio.h
M platforms/minheadless/generic/sqPlatformSpecific-Generic.c
M platforms/minheadless/unix/sqUnixHeartbeat.c
M platforms/minheadless/windows/sqWin32Heartbeat.c
M platforms/minheadless/windows/sqWin32Time.c
M platforms/unix/vm/sqUnixHeartbeat.c
M platforms/unix/vm/sqUnixITimerHeartbeat.c
M platforms/unix/vm/sqUnixITimerTickerHeartbeat.c
M platforms/unix/vm/sqaio.h
M platforms/win32/vm/sqWin32Heartbeat.c
M platforms/win32/vm/sqWin32Time.c
Log Message:
-----------
Function return type should not be declared volatile
Only lvalue can be volatile.
Eventually, a function can return a pointer to a volatile, but not a volatile (r)value
At best, it does nothing, at worse it will cripple the compile LOG with warnings.
See -Wignored-qualifiers of gcc or clang
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/c0f63984a22e...61…
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: c0f63984a22ecc6b638e5846e64765d19c9e1796
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c0f63984a22ecc6b63…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M src/plugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c
M src/plugins/AioPlugin/AioPlugin.c
M src/plugins/AsynchFilePlugin/AsynchFilePlugin.c
M src/plugins/B2DPlugin/B2DPlugin.c
M src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c
M src/plugins/BMPReadWriterPlugin/BMPReadWriterPlugin.c
M src/plugins/BitBltPlugin/BitBltPlugin.c
M src/plugins/BochsIA32Plugin/BochsIA32Plugin.c
M src/plugins/BochsX64Plugin/BochsX64Plugin.c
M src/plugins/CameraPlugin/CameraPlugin.c
M src/plugins/CroquetPlugin/CroquetPlugin.c
M src/plugins/DESPlugin/DESPlugin.c
M src/plugins/DSAPrims/DSAPrims.c
M src/plugins/DropPlugin/DropPlugin.c
M src/plugins/FFTPlugin/FFTPlugin.c
M src/plugins/FileAttributesPlugin/FileAttributesPlugin.c
M src/plugins/FileCopyPlugin/FileCopyPlugin.c
M src/plugins/FilePlugin/FilePlugin.c
M src/plugins/FloatArrayPlugin/FloatArrayPlugin.c
M src/plugins/FloatMathPlugin/FloatMathPlugin.c
M src/plugins/GdbARMPlugin/GdbARMPlugin.c
M src/plugins/GdbARMv8Plugin/GdbARMv8Plugin.c
M src/plugins/GeniePlugin/GeniePlugin.c
M src/plugins/HostWindowPlugin/HostWindowPlugin.c
M src/plugins/IA32ABI/IA32ABI.c
M src/plugins/ImmX11Plugin/ImmX11Plugin.c
M src/plugins/InternetConfigPlugin/InternetConfigPlugin.c
M src/plugins/JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.c
M src/plugins/JPEGReaderPlugin/JPEGReaderPlugin.c
M src/plugins/JoystickTabletPlugin/JoystickTabletPlugin.c
M src/plugins/Klatt/Klatt.c
M src/plugins/LargeIntegers/LargeIntegers.c
M src/plugins/LocalePlugin/LocalePlugin.c
M src/plugins/MD5Plugin/MD5Plugin.c
M src/plugins/MIDIPlugin/MIDIPlugin.c
M src/plugins/MacMenubarPlugin/MacMenubarPlugin.c
M src/plugins/Matrix2x3Plugin/Matrix2x3Plugin.c
M src/plugins/MiscPrimitivePlugin/MiscPrimitivePlugin.c
M src/plugins/Mpeg3Plugin/Mpeg3Plugin.c
M src/plugins/QuicktimePlugin/QuicktimePlugin.c
M src/plugins/RePlugin/RePlugin.c
M src/plugins/SHA256Plugin/SHA256Plugin.c
M src/plugins/ScratchPlugin/ScratchPlugin.c
M src/plugins/SecurityPlugin/SecurityPlugin.c
M src/plugins/SerialPlugin/SerialPlugin.c
M src/plugins/SocketPlugin/SocketPlugin.c
M src/plugins/SoundCodecPrims/SoundCodecPrims.c
M src/plugins/SoundGenerationPlugin/SoundGenerationPlugin.c
M src/plugins/SoundPlugin/SoundPlugin.c
M src/plugins/Squeak3D/Squeak3D.c
M src/plugins/SqueakFFIPrims/ARM32FFIPlugin.c
M src/plugins/SqueakFFIPrims/ARM64FFIPlugin.c
M src/plugins/SqueakFFIPrims/IA32FFIPlugin.c
M src/plugins/SqueakFFIPrims/X64SysVFFIPlugin.c
M src/plugins/SqueakFFIPrims/X64Win64FFIPlugin.c
M src/plugins/SqueakSSL/SqueakSSL.c
M src/plugins/StarSqueakPlugin/StarSqueakPlugin.c
M src/plugins/UUIDPlugin/UUIDPlugin.c
M src/plugins/UnicodePlugin/UnicodePlugin.c
M src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c
M src/plugins/VMProfileLinuxSupportPlugin/VMProfileLinuxSupportPlugin.c
M src/plugins/VMProfileMacSupportPlugin/VMProfileMacSupportPlugin.c
M src/plugins/WeDoPlugin/WeDoPlugin.c
M src/plugins/Win32OSProcessPlugin/Win32OSProcessPlugin.c
M src/plugins/XDisplayControlPlugin/XDisplayControlPlugin.c
M src/plugins/ZipPlugin/ZipPlugin.c
Log Message:
-----------
CogVM source as per VMMaker.oscog-eem.2744
Slang: Make sure plugins include sqMathShim.h immediately after math.h
so that BIT_IDENTICAL_FLOATING_POINT works for plugins too.