<p>Since Windows 1903 update (which is now being rolled out), Pharo VM crashes on <code>libssh2-1.dll</code>.</p>
<p>Tested on P7 and P8 64bit with their respective VMs.<br>
32bit seems to work.</p>
<p>Easiest way to reproduce is to try to fetch git repository over ssh, e.g.</p>
<pre><code>Metacello new
        baseline: 'FileDialog';
        repository: 'github://pharo-contributions/file-dialog/repository';
        load.
</code></pre>
<p>This issue makes it impossible to use git over ssh. (Although I imagine switching to https should work as a temporary workaround.)</p>
<p>Windows crash log event:</p>
<pre><code>Faulting application name: Pharo.exe, version: 5.0.0.0, time stamp: 0x00000000
Faulting module name: libssh2-1.dll, version: 0.0.0.0, time stamp: 0xaec0ae70
Exception code: 0xc0000005
Fault offset: 0x000000000001e6cb
Faulting process id: 0x2c8
Faulting application start time: 0x01d5577ece35e5f5
Faulting application path: C:\Users\uhnak\Documents\Pharo\vms\80-x64\Pharo.exe
Faulting module path: C:\Users\uhnak\Documents\Pharo\vms\80-x64\libssh2-1.dll
Report Id: 60cbf9ad-b7a2-4f48-9831-e2cbc80e7734
Faulting package full name: 
Faulting package-relative application ID: 
</code></pre>
<p>Is there a particular reason why we still use libssh2 1.7.0 (released 3 years ago), instead of a more recent one? <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/third-party/libssh2.spec">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/third-party/libssh2.spec</a></p>
<p>Dtto for libgit2 (0.25.1 released Jan 2017)<br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/third-party/libgit2.spec">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/third-party/libgit2.spec</a></p>
<p>Likely OpenSSL will also need to be updated as it is dependency of libssh2 <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/third-party/openssl.spec">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/third-party/openssl.spec</a><br>
Note that the current <code>1.0.2 LTS</code> ends at the end of the year and is replaced by <code>1.1.1 LTS</code> (until 2023 - <a href="https://www.openssl.org/policies/releasestrat.html" rel="nofollow">https://www.openssl.org/policies/releasestrat.html</a> )</p>
<p>I have also noticed that the Windows libssh Makefile doesn't contain code to download/unpack sources, unlike Linux and Mac</p>
<p><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.win64x64/third-party/Makefile.libssh2">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.win64x64/third-party/Makefile.libssh2</a><br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.linux64x64/third-party/Makefile.libssh2">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.linux64x64/third-party/Makefile.libssh2</a><br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.macos64x64/third-party/Makefile.libssh2">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.macos64x64/third-party/Makefile.libssh2</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/416?email_source=notifications&email_token=AIJPEW5XSHT37O4475HAYPLQFQXHDA5CNFSM4IN22XQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGKCJ7Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW6VG4MMFDBMAWGNM5LQFQXHDANCNFSM4IN22XQA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AIJPEWZXWKFIHFXXHF6OC6LQFQXHDA5CNFSM4IN22XQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGKCJ7Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/416?email_source=notifications\u0026email_token=AIJPEW5XSHT37O4475HAYPLQFQXHDA5CNFSM4IN22XQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGKCJ7Q",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/416?email_source=notifications\u0026email_token=AIJPEW5XSHT37O4475HAYPLQFQXHDA5CNFSM4IN22XQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGKCJ7Q",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>