<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I cleaned up three tests demonstrating this very strange
behavior. Any assistance is MOST welcome! I'd love someone to load
up my ESqueak.release.3, on the bleeding edge! It's a trick! God
wills it! Poor man's needs. Desires! ๐ฐ</p>
<pre class="moz-signature" cols="72"><font size="6">โขโขโข UndefinedBOject </font><font size="6">โขโข</font>
</pre>
<blockquote>
<b><font face="Ramaraja">ASN1Module initialize.<br>
self assert: (ASN1InputStream decodeBytes: #[5 0]) isNil.<br>
self assert: (#[5 0] = (ASN1OutputStream encode: obj)).</font></b></blockquote>
<pre class="moz-signature" cols="72"><font size="6">โขโขโข ByteArray </font><font size="6">โขโขโข</font>
</pre>
<blockquote><b><font face="Ramaraja">| byteArrayย |<br>
ASN1Module initialize.<br>
byteArray := #(3 21 55 43 76) asByteArray.<br>
self assert: (byteArray = ASN1InputStream decodeBytes: #[4 5 3
21 55 43 76]).<br>
self assert: (#[4 5 3 21 55 43 76] = (ASN1OutputStream encode:
byteArraa\y)).</font></b><br>
</blockquote>
<pre class="moz-signature" cols="72"><font size="6"><font size="6">โข</font></font><font size="6"><font size="6">โข</font>โข DateAndTime </font><font size="6"><font size="6">โขโข
</font></font></pre>
<blockquote><b><font size="6" face="Ramaraja"><font size="4">|
dateTime bytes |<br>
ASN1Module initialize.<br>
bytes := #[23 13 48 55 48 51 50 50 49 53 53 56 49 55 90].<br>
dateTime := DateAndTime fromString:
'2007-03-22T15:58:17+00:00'.<br>
self assert: (dateTime = (ASN1InputStream decodeBytes:
bytes)).<br>
self assert: (bytes = (ASN1OutputStream encode: dateTime).</font></font></b><br>
</blockquote>
<pre class="moz-signature" cols="72">
<font size="6">
</font></pre>
<div class="moz-cite-prefix">On 12/26/22 15:07, rabbit wrote:<br>
</div>
<blockquote type="cite"
cite="mid:caa2429f-e795-5a8b-5454-86be0296ad78@callistohouse.org">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Another script option to reduce the byte arrays, this is for
nil...</p>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
<blockquote type="cite"
cite="mid:caa2429f-e795-5a8b-5454-86be0296ad78@callistohouse.org">
<blockquote>
<p>| bytes obj newBytes |<br>
ASN1Module initialize.<br>
bytes := #[5 0].<br>
obj := ASN1InputStream decodeBytes: bytes.<br>
self assert: obj isNil.<br>
newBytes := ASN1OutputStream encode: obj.<br>
self assert: (bytes = newBytes).<br>
</p>
</blockquote>
<pre class="moz-signature" cols="72">โขโขโข</pre>
Best, rabbit<br>
<p><br>
</p>
<div class="moz-cite-prefix">On 12/26/22 15:00, rabbit wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6fc1cff0-50d2-81f6-7fd3-db7f030fd477@callistohouse.org">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<p>I am using this Image and VM. To reproduce the issue, load
'ESqueak.release.3' into a scratch remote promises
image...then run the code below, in a workspace: get walkback
<EXCEPTION>. Now debug the code and walk through it:
<RUNS> fine, no exceptions. <br>
</p>
<p>Image<br>
-----<br>
/home/rabbit/tribe/squeak/remote-promises.image<br>
Squeak6.1alpha<br>
latest update: #22307<br>
<br>
Virtual Machine<br>
---------------<br>
/usr/local/bin/squeak<br>
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives
VMMaker.oscog-dtl.3185]<br>
CoInterpreter VMMaker.oscog-dtl.3185 uuid:
0e7f07b8-eed6-4362-b223-86c98594ddb9 Junย 2 2022<br>
</p>
<pre class="moz-signature" cols="72">โขโขโข</pre>
<p>DoIT to me!</p>
<blockquote>
<p>Installer ss project: 'Cryptography'; install:
'ESqueak.release.3'.</p>
</blockquote>
<pre class="moz-signature" cols="72"><b>โขโขโข Run me then Debug me </b><b>โขโขโข</b><b>
</b>
</pre>
<blockquote>| bytes obj newBytes testObj |<br>
ASN1Module initialize.<br>
bytes := #[4 5 3 21 55 43 76].<br>
testObj := #(3 21 55 43 76) asByteArray.<br>
obj := ASN1InputStream decodeBytes: bytes.<br>
self assert: (obj = testObj).<br>
newBytes := ASN1OutputStream encode: obj.<br>
self assert: (bytes = newBytes).<br>
</blockquote>
<pre class="moz-signature" cols="72"><b>โขโขโข</b></pre>
<p> Thank you for any guidance on my critical issue! <br>
</p>
<pre class="moz-signature" cols="72"><b>โข rabbit</b></pre>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
โขโขโข
๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง
๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ!
๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ</pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
โขโขโข
๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง
๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ!
๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ</pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
โขโขโข
๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง
๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ!
๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ</pre>
</body>
</html>