Re: [Pharo-dev] Win10/Launcher/Pharo7.1122--ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2018-07-13 Thread Ben Coman
On 12 July 2018 at 11:18, Ben Coman  wrote:
> This time I also saw some additional info in the debug console...
> # Debug console
> # To close: F2 -> 'debug options' -> 'show output console'
> # To disable: F2 -> 'debug options' -> 'show console on errors'
> LoadLibrary(SqueakSSL) (998: Invalid access to memory location.)
> LoadLibrary(SqueakSSL.dll) (998: Invalid access to memory location.)
> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL) (998: Invalid access
> to memory location.)
> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL.dll) (998: Invalid
> access to memory location.)

> general vicinity of the error...
> https://github.com/OpenSmalltalk/opensmalltalk-vm/blame/Cog/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c#L998

Per suggestion dealing with similar issue with FreeType, rebooting my
machine fixed it.

Now here...
   
https://www.experts-exchange.com/questions/21065604/LoadLibrary-returns-998-ERROR-NOACCESS.html
I see here I was mistaken that "998" is not a line number but an error
code "NOACCESS".

I discovered many queries about error 998 for other software with most
answers saying "reinstall the software",

but the only vaguely useful info was this "Windows 7 - LoadLibrary()
fails (32bit) - why?" ...
  
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/e4138698-e5a2-4357-a51b-d2e2b5142577/windows-7-loadlibrary-fails-32bit-why?forum=windowsgeneraldevelopmentissues

cheers -ben



Re: [Pharo-dev] Win10/Launcher/Pharo7.1122--ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2018-07-12 Thread Ben Coman
So the quicker test is evaluating...
ZnClient new get:
'https://files.pharo.org/get-files/70/pharo-win-stable.zip'.

which results in...
ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin
missing ? OS libraries missing ?)
# Debug console
# To close: F2 -> 'debug options' -> 'show output console'
# To disable: F2 -> 'debug options' -> 'show console on errors'
LoadLibrary(SqueakSSL) (998: Invalid access to memory location.)
LoadLibrary(SqueakSSL.dll) (998: Invalid access to memory location.)
LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL) (998: Invalid access
to memory location.)
LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL.dll) (998: Invalid
access to memory location.)

I disabled Defender "Check apps and files" per...
   
https://www.itsupportguides.com/knowledge-base/windows-10/windows-defender-smartscreen-prevented-an-unrecognized-app-error/
although I still got a similar message presented in a differently
formattted dialog
"The publisher could not be verified. Are you sure that you want to
run this software?"
and the Image opened after clicking .

cheers -ben



Re: [Pharo-dev] Win10/Launcher/Pharo7.1122--ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2018-07-12 Thread Ben Coman
On 12 July 2018 at 12:06, Ben Coman  wrote:
> On 12 July 2018 at 11:18, Ben Coman  wrote:
>> On 12 July 2018 at 01:41, Cyril Ferlicot D.  wrote:
>>> Le 11/07/2018 à 19:35, Ben Coman a écrit :
 I just just downloaded and installed the latest PharoLauncher
 and running build 7.1122.

 After enabling Custom SSH Keys and opening Iceberg,
 doing "Repair repository" on "iceberg" repo,
 clicking "Clone again this repository"
   Clone from github
 Owner name: pharo-vcs
 Project name: iceberg
 Source directory: (blank)
 Protocol: SSH

 after downloading 9.4MB over 6632 files
 I get an error... "ZdcPluginMissing: SSL/TLS plugin initailization
 failed (VM plugin missing ? OS libraries missing ?)"


 Can anyone corroborate or see anything obvious I've done wrong?

>>>
>>> Hi,
>>>
>>> Can you check that you have the SqueakSSL.dll DLL with your VM?
>>>
>>> I had the problem already that Windows Defender consider it as a
>>> maleware and delete it during the unzip of the VM.
>>
>> Thx for the tip.  I see that SqueakSSL.dll is in position,
>> and the same size as in the zip file.
>> In the zip file all files are dated 2017.
>>
>> I the same as above after downloading into a new folder...
>> http://files.pharo.org/get-files/70/pharo-win-stable.zip (2018-07-10
>> 11:04  18.0 MB)
>> http://files.pharo.org/get-files/70/pharo.zip (2018-06-28  15:17  8.3 MB)
>>
>> and get the same error.  This time I also saw some additional info in
>> the debug console...
>> # Debug console
>> # To close: F2 -> 'debug options' -> 'show output console'
>> # To disable: F2 -> 'debug options' -> 'show console on errors'
>> LoadLibrary(SqueakSSL) (998: Invalid access to memory location.)
>> LoadLibrary(SqueakSSL.dll) (998: Invalid access to memory location.)
>> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL) (998: Invalid access
>> to memory location.)
>> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL.dll) (998: Invalid
>> access to memory location.)
>>
>> On first run Defender complained about it being an "Unknown Application"
>> but it seems fine to just "Run Anyway".
>>
>> SqueakSSLL.dll exists in the VM folder.
>> btw, I see its last code update is 28 May.
>> https://github.com/OpenSmalltalk/opensmalltalk-vm/commits/Cog/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c
>>
>> and this VM was built 28 June,
>> so this should be in the general vicinity of the error...
>> https://github.com/OpenSmalltalk/opensmalltalk-vm/blame/Cog/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c#L998
>>
>>
>> I looked for some change at github disabling SSL, TLS v1 & v1.1,
>> but that seems to have been back in February...
>> https://githubengineering.com/crypto-removal-notice/
>>
>>
>> Version info:
>> Windows 10...
>> Image
>> -
>> C:\Apps\pharo-win-stable\Pharo7.0-32bit-9d83892.image
>> Pharo7.0alpha
>> Build information:
>> Pharo-7.0+alpha.build.1122.sha.9d8389221ee7e9c58d664a388fae86511c02edf7
>> (32 Bit)
>> Unnamed
>>
>> Virtual Machine
>> ---
>> C:\Apps\pharo-win-stable\Pharo.exe
>> CoInterpreter VMMaker.oscog-eem.2401 uuid:
>> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
>> StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid:
>> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
>> VM: 201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
>> Date: Thu Jun 28 14:56:30 2018 CommitHash: a8a1dc1 Plugins:
>> 201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
>>
>> Win32 built on Jun 28 2018 13:16:43 GMT Compiler: 6.4.0
>> VMMaker versionString VM: 201806281256
>> https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Thu Jun 28
>> 14:56:30 2018 CommitHash: a8a1dc1 Plugins: 201806281256
>> https://github.com/OpenSmalltalk/opensmalltalk-vm.git
>> CoInterpreter VMMaker.oscog-eem.2401 uuid:
>> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
>> StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid:
>> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
>>
>>
>>
>>
>>
>>
>>> P.S. I tried deleting the the Pharo 7 VM and having it download a new one,
>>> but I get...
>>> Error downloading 
>>> 'https://files.pharo.org/get-files/70/pharo-win-stable.zip'
>>> I haven't looked into that yet. Got to head to bed.
>>
>> This morning PharoLauncher VM downloading is still not working out of the 
>> box,
>> but it works if I hack the following change to use HTTP instead of HTTPS...
>> PhLVirtualMachineManager>>vmUrlTemplate
>> -^ 'https://files.pharo.org/get-files/{1}/pharo{2}-{3}-{4}.zip'
>> +   ^ 'http://files.pharo.org/get-files/{1}/pharo{2}-{3}-{4}.zip'
>>
>> So maybe its a common root cause with my Iceberg problem.
>
> A thin lead, but...
> I rarely reboot my laptop (usually just send it to sleep closing the lid)
> and recently in the morning it seemed to have rebooted as part of an update.
> In my Windows Update history I noticed KB4338819 installed recently
> which at the bottom of...
>
> https://support.microso

Re: [Pharo-dev] Win10/Launcher/Pharo7.1122--ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2018-07-11 Thread Ben Coman
On 12 July 2018 at 11:18, Ben Coman  wrote:
> On 12 July 2018 at 01:41, Cyril Ferlicot D.  wrote:
>> Le 11/07/2018 à 19:35, Ben Coman a écrit :
>>> I just just downloaded and installed the latest PharoLauncher
>>> and running build 7.1122.
>>>
>>> After enabling Custom SSH Keys and opening Iceberg,
>>> doing "Repair repository" on "iceberg" repo,
>>> clicking "Clone again this repository"
>>>   Clone from github
>>> Owner name: pharo-vcs
>>> Project name: iceberg
>>> Source directory: (blank)
>>> Protocol: SSH
>>>
>>> after downloading 9.4MB over 6632 files
>>> I get an error... "ZdcPluginMissing: SSL/TLS plugin initailization
>>> failed (VM plugin missing ? OS libraries missing ?)"
>>>
>>>
>>> Can anyone corroborate or see anything obvious I've done wrong?
>>>
>>
>> Hi,
>>
>> Can you check that you have the SqueakSSL.dll DLL with your VM?
>>
>> I had the problem already that Windows Defender consider it as a
>> maleware and delete it during the unzip of the VM.
>
> Thx for the tip.  I see that SqueakSSL.dll is in position,
> and the same size as in the zip file.
> In the zip file all files are dated 2017.
>
> I the same as above after downloading into a new folder...
> http://files.pharo.org/get-files/70/pharo-win-stable.zip (2018-07-10
> 11:04  18.0 MB)
> http://files.pharo.org/get-files/70/pharo.zip (2018-06-28  15:17  8.3 MB)
>
> and get the same error.  This time I also saw some additional info in
> the debug console...
> # Debug console
> # To close: F2 -> 'debug options' -> 'show output console'
> # To disable: F2 -> 'debug options' -> 'show console on errors'
> LoadLibrary(SqueakSSL) (998: Invalid access to memory location.)
> LoadLibrary(SqueakSSL.dll) (998: Invalid access to memory location.)
> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL) (998: Invalid access
> to memory location.)
> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL.dll) (998: Invalid
> access to memory location.)
>
> On first run Defender complained about it being an "Unknown Application"
> but it seems fine to just "Run Anyway".
>
> SqueakSSLL.dll exists in the VM folder.
> btw, I see its last code update is 28 May.
> https://github.com/OpenSmalltalk/opensmalltalk-vm/commits/Cog/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c
>
> and this VM was built 28 June,
> so this should be in the general vicinity of the error...
> https://github.com/OpenSmalltalk/opensmalltalk-vm/blame/Cog/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c#L998
>
>
> I looked for some change at github disabling SSL, TLS v1 & v1.1,
> but that seems to have been back in February...
> https://githubengineering.com/crypto-removal-notice/
>
>
> Version info:
> Windows 10...
> Image
> -
> C:\Apps\pharo-win-stable\Pharo7.0-32bit-9d83892.image
> Pharo7.0alpha
> Build information:
> Pharo-7.0+alpha.build.1122.sha.9d8389221ee7e9c58d664a388fae86511c02edf7
> (32 Bit)
> Unnamed
>
> Virtual Machine
> ---
> C:\Apps\pharo-win-stable\Pharo.exe
> CoInterpreter VMMaker.oscog-eem.2401 uuid:
> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
> StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid:
> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
> VM: 201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
> Date: Thu Jun 28 14:56:30 2018 CommitHash: a8a1dc1 Plugins:
> 201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
>
> Win32 built on Jun 28 2018 13:16:43 GMT Compiler: 6.4.0
> VMMaker versionString VM: 201806281256
> https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Thu Jun 28
> 14:56:30 2018 CommitHash: a8a1dc1 Plugins: 201806281256
> https://github.com/OpenSmalltalk/opensmalltalk-vm.git
> CoInterpreter VMMaker.oscog-eem.2401 uuid:
> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
> StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid:
> 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
>
>
>
>
>
>
>> P.S. I tried deleting the the Pharo 7 VM and having it download a new one,
>> but I get...
>> Error downloading 'https://files.pharo.org/get-files/70/pharo-win-stable.zip'
>> I haven't looked into that yet. Got to head to bed.
>
> This morning PharoLauncher VM downloading is still not working out of the box,
> but it works if I hack the following change to use HTTP instead of HTTPS...
> PhLVirtualMachineManager>>vmUrlTemplate
> -^ 'https://files.pharo.org/get-files/{1}/pharo{2}-{3}-{4}.zip'
> +   ^ 'http://files.pharo.org/get-files/{1}/pharo{2}-{3}-{4}.zip'
>
> So maybe its a common root cause with my Iceberg problem.

A thin lead, but...
I rarely reboot my laptop (usually just send it to sleep closing the lid)
and recently in the morning it seemed to have rebooted as part of an update.
In my Windows Update history I noticed KB4338819 installed recently
which at the bottom of...
   https://support.microsoft.com/en-us/help/4338819/windows-10-update-kb4338819
is a link "file information for cumulative update 4338819"
which lists the following file was updated...
Ncryptsslp.dll 10.0.17134.13

Re: [Pharo-dev] Win10/Launcher/Pharo7.1122--ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2018-07-11 Thread Ben Coman
On 12 July 2018 at 01:41, Cyril Ferlicot D.  wrote:
> Le 11/07/2018 à 19:35, Ben Coman a écrit :
>> I just just downloaded and installed the latest PharoLauncher
>> and running build 7.1122.
>>
>> After enabling Custom SSH Keys and opening Iceberg,
>> doing "Repair repository" on "iceberg" repo,
>> clicking "Clone again this repository"
>>   Clone from github
>> Owner name: pharo-vcs
>> Project name: iceberg
>> Source directory: (blank)
>> Protocol: SSH
>>
>> after downloading 9.4MB over 6632 files
>> I get an error... "ZdcPluginMissing: SSL/TLS plugin initailization
>> failed (VM plugin missing ? OS libraries missing ?)"
>>
>>
>> Can anyone corroborate or see anything obvious I've done wrong?
>>
>
> Hi,
>
> Can you check that you have the SqueakSSL.dll DLL with your VM?
>
> I had the problem already that Windows Defender consider it as a
> maleware and delete it during the unzip of the VM.

Thx for the tip.  I see that SqueakSSL.dll is in position,
and the same size as in the zip file.
In the zip file all files are dated 2017.

I the same as above after downloading into a new folder...
http://files.pharo.org/get-files/70/pharo-win-stable.zip (2018-07-10
11:04  18.0 MB)
http://files.pharo.org/get-files/70/pharo.zip (2018-06-28  15:17  8.3 MB)

and get the same error.  This time I also saw some additional info in
the debug console...
# Debug console
# To close: F2 -> 'debug options' -> 'show output console'
# To disable: F2 -> 'debug options' -> 'show console on errors'
LoadLibrary(SqueakSSL) (998: Invalid access to memory location.)
LoadLibrary(SqueakSSL.dll) (998: Invalid access to memory location.)
LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL) (998: Invalid access
to memory location.)
LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL.dll) (998: Invalid
access to memory location.)

On first run Defender complained about it being an "Unknown Application"
but it seems fine to just "Run Anyway".

SqueakSSLL.dll exists in the VM folder.
btw, I see its last code update is 28 May.
https://github.com/OpenSmalltalk/opensmalltalk-vm/commits/Cog/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c

and this VM was built 28 June,
so this should be in the general vicinity of the error...
https://github.com/OpenSmalltalk/opensmalltalk-vm/blame/Cog/platforms/win32/plugins/SqueakSSL/sqWin32SSL.c#L998


I looked for some change at github disabling SSL, TLS v1 & v1.1,
but that seems to have been back in February...
https://githubengineering.com/crypto-removal-notice/


Version info:
Windows 10...
Image
-
C:\Apps\pharo-win-stable\Pharo7.0-32bit-9d83892.image
Pharo7.0alpha
Build information:
Pharo-7.0+alpha.build.1122.sha.9d8389221ee7e9c58d664a388fae86511c02edf7
(32 Bit)
Unnamed

Virtual Machine
---
C:\Apps\pharo-win-stable\Pharo.exe
CoInterpreter VMMaker.oscog-eem.2401 uuid:
29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid:
29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
VM: 201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Date: Thu Jun 28 14:56:30 2018 CommitHash: a8a1dc1 Plugins:
201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git

Win32 built on Jun 28 2018 13:16:43 GMT Compiler: 6.4.0
VMMaker versionString VM: 201806281256
https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Thu Jun 28
14:56:30 2018 CommitHash: a8a1dc1 Plugins: 201806281256
https://github.com/OpenSmalltalk/opensmalltalk-vm.git
CoInterpreter VMMaker.oscog-eem.2401 uuid:
29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid:
29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018






> P.S. I tried deleting the the Pharo 7 VM and having it download a new one,
> but I get...
> Error downloading 'https://files.pharo.org/get-files/70/pharo-win-stable.zip'
> I haven't looked into that yet. Got to head to bed.

This morning PharoLauncher VM downloading is still not working out of the box,
but it works if I hack the following change to use HTTP instead of HTTPS...
PhLVirtualMachineManager>>vmUrlTemplate
-^ 'https://files.pharo.org/get-files/{1}/pharo{2}-{3}-{4}.zip'
+   ^ 'http://files.pharo.org/get-files/{1}/pharo{2}-{3}-{4}.zip'

So maybe its a common root cause with my Iceberg problem.



Re: [Pharo-dev] Win10/Launcher/Pharo7.1122--ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)

2018-07-11 Thread Cyril Ferlicot D.
Le 11/07/2018 à 19:35, Ben Coman a écrit :
> I just just downloaded and installed the latest PharoLauncher
> and running build 7.1122.
> 
> After enabling Custom SSH Keys and opening Iceberg,
> doing "Repair repository" on "iceberg" repo,
> clicking "Clone again this repository"
>   Clone from github
> Owner name: pharo-vcs
> Project name: iceberg
> Source directory: (blank)
> Protocol: SSH
> 
> after downloading 9.4MB over 6632 files
> I get an error... "ZdcPluginMissing: SSL/TLS plugin initailization
> failed (VM plugin missing ? OS libraries missing ?)"
> 
> 
> Can anyone corroborate or see anything obvious I've done wrong?
> 

Hi,

Can you check that you have the SqueakSSL.dll DLL with your VM?

I had the problem already that Windows Defender consider it as a
maleware and delete it during the unzip of the VM.

> 
> Image
> -
> C:\PharoLauncher\images\Exercism(71122)32bit-testing\Exercism(71122)32bit-testing.image
> Pharo7.0alpha
> Build information:
> Pharo-7.0+alpha.build.1122.sha.9d8389221ee7e9c58d664a388fae86511c02edf7
> (32 Bit)
> Unnamed
> 
> Virtual Machine
> ---
> C:\PharoLauncher\vms\70-x86\Pharo.exe
> CoInterpreter VMMaker.oscog-eem.2265 uuid:
> 76b62109-629a-4c39-9641-67b53321df9a Aug 27 2017
> StackToRegisterMappingCogit VMMaker.oscog-eem.2262 uuid:
> 8b531242-de02-48aa-b418-8d2dde0bec6c Aug 27 2017
> 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 $
> 
> Win32 built on Aug 27 2017 20:40:46 GMT Compiler: 5.4.0
> VMMaker versionString 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 $
> CoInterpreter VMMaker.oscog-eem.2265 uuid:
> 76b62109-629a-4c39-9641-67b53321df9a Aug 27 2017
> StackToRegisterMappingCogit VMMaker.oscog-eem.2262 uuid:
> 8b531242-de02-48aa-b418-8d2dde0bec6c Aug 27 2017
> 
> Windows 10
> 
> cheers -ben
> 
> P.S. I tried deleting the the Pharo 7 VM and having it download a new one,
> but I get...
> Error downloading 'https://files.pharo.org/get-files/70/pharo-win-stable.zip'
> I haven't looked into that yet. Got to head to bed.
> 


-- 
Cyril Ferlicot
https://ferlicot.fr



signature.asc
Description: OpenPGP digital signature