<p></p>
<blockquote>
<p>It's an external plugin on all my systems - Mac & linux - so you shouldn't see it in the listBuiltinModules list. If I start a fresh image, the SSL plugin is not loaded. If I run the SqueakSSLTest tests in the TestRunner, they all pass and the plugin is in the listLoadedModules list.</p>
</blockquote>
<p>Thanks, Tim, this description makes sense and it looks the same in my fresh image! So the problem is that my problematic image does not automatically load the SSL plugin when invoking the primitive?</p>
<blockquote>
<p>Christoph, where does your SqueakSSL.dll live? Is it the right architecture (32/64-bit)?</p>
</blockquote>
<p>It's both 64-bit.</p>
<p>I have just made two more observations:</p>
<ol>
<li>I patched <code>primitiveSSLCreate</code> and added an <code>error: ec</code> argument to the primitive pragma. When the primitive fails, <code>ec</code> is set to <code>#'not found'</code>.</li>
<li>I used another VM (202003021730 instead of 202010232046) to open my image and it shows two interesting observations: First, just during the start-up phase during <code>ThisOSProcess</code> is started up, and second, when evaluating <code>SqueakSSL new</code>, a number of access violation errors pop out in the debug console of the VM:
<pre><code>LoadLibrary(Win32OSProcessPlugin) (998: Unzuläÿssiger Zugriff auf einen Speicherbereich.

)
LoadLibrary(Win32OSProcessPlugin.dll) (998: Unzuläÿssiger Zugriff auf einen Speicherbereich.

)
# about 12 repetitions of the above ...
LoadLibrary(SqueakSSL) (998: Unzuläÿssiger Zugriff auf einen Speicherbereich.

)
LoadLibrary(SqueakSSL.dll) (998: Unzuläÿssiger Zugriff auf einen Speicherbereich.

)
</code></pre>
"Unzuläÿssiger Zugriff auf einen Speicherbereich" is German for "Invalid access to memory location" (by the way, the encoding is wrong, <code>äÿ</code> should be only <code>ä</code>).</li>
</ol>
<p>There has already been a similar issue reported on the mailing-list, but apparently, it has not yet been solved: <a href="http://lists.squeakfoundation.org/pipermail/vm-dev/2017-June/025516.html" rel="nofollow">http://lists.squeakfoundation.org/pipermail/vm-dev/2017-June/025516.html</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/554#issuecomment-798771136">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEWYYJC4FOXK4FRVUF7TTDO3JRANCNFSM4ZCQMSXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW5HJ2E6NHAAI5SCPXTTDO3JRA5CNFSM4ZCQMSXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF6OEPQA.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/554#issuecomment-798771136",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/554#issuecomment-798771136",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>