I never found the issue, but I backtracked al the code, to prior
to making class tagging changes. PromisesLocal, ELinda, and all of
Crypto, aside from 2 ASN1 issues with X509. ParrotTalk and
PromisesFar with 38 errors...onwards!
I desire to cast 'inspiration'!
Here are my Base and Octets Tests
On 12/26/22 17:47, rabbit wrote:
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! ๐ฐ
โขโขโข UndefinedBOject โขโขASN1Module initialize.
self assert: (ASN1InputStream decodeBytes: #[5 0]) isNil.
self assert: (#[5 0] = (ASN1OutputStream encode: obj)).โขโขโข ByteArray โขโขโข| byteArrayย |
ASN1Module initialize.
byteArray := #(3 21 55 43 76) asByteArray.
self assert: (byteArray = ASN1InputStream decodeBytes: #[4 5 3 21 55 43 76]).
self assert: (#[4 5 3 21 55 43 76] = (ASN1OutputStream encode: byteArraa\y)).
โขโขโข DateAndTime โขโข| dateTime bytes |
ASN1Module initialize.
bytes := #[23 13 48 55 48 51 50 50 49 53 53 56 49 55 90].
dateTime := DateAndTime fromString: '2007-03-22T15:58:17+00:00'.
self assert: (dateTime = (ASN1InputStream decodeBytes: bytes)).
self assert: (bytes = (ASN1OutputStream encode: dateTime).
On 12/26/22 15:07, rabbit wrote:
Another script option to reduce the byte arrays, this is for nil...
| bytes obj newBytes |
ASN1Module initialize.
bytes := #[5 0].
obj := ASN1InputStream decodeBytes: bytes.
self assert: obj isNil.
newBytes := ASN1OutputStream encode: obj.
self assert: (bytes = newBytes).
โขโขโขBest, rabbit
On 12/26/22 15:00, rabbit wrote:
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.
Image
-----
/home/rabbit/tribe/squeak/remote-promises.image
Squeak6.1alpha
latest update: #22307
Virtual Machine
---------------
/usr/local/bin/squeak
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-dtl.3185]
CoInterpreter VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9 Junย 2 2022
โขโขโขDoIT to me!
Installer ss project: 'Cryptography'; install: 'ESqueak.release.3'.
โขโขโข Run me then Debug me โขโขโข| bytes obj newBytes testObj |
ASN1Module initialize.
bytes := #[4 5 3 21 55 43 76].
testObj := #(3 21 55 43 76) asByteArray.
obj := ASN1InputStream decodeBytes: bytes.
self assert: (obj = testObj).
newBytes := ASN1OutputStream encode: obj.
self assert: (bytes = newBytes).
โขโขโขThank you for any guidance on my critical issue!
โข rabbit
-- โขโขโข ๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง ๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ! ๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ
-- โขโขโข ๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง ๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ! ๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ
-- โขโขโข ๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง ๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ! ๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ
-- โขโขโข ๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง ๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ! ๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ
-- โขโขโข ๐๐ ๐ฎ๐ค๐ช ๐๐ง๐ ๐๐ง๐๐ซ๐๐ฃ๐ ๐ ๐๐ค๐ง๐จ๐๐๐, ๐ฉ๐๐๐ฃ๐ ๐ฎ๐ค๐ช ๐๐ค๐ง ๐ข๐ค๐ซ๐๐ฃ๐ ๐ค๐ซ๐๐ง, ๐จ๐ค ๐ฉ๐๐๐ฉ ๐ ๐๐ค๐ช๐ก๐ ๐จ๐๐๐๐ก๐ฎ ๐ฅ๐๐จ๐จ! ๐ผ๐ง๐ง๐๐ซ๐๐๐๐ง๐๐, ๐ง๐๐๐๐๐ฉ โข ๐ฟ๐๐ฉ๐จ๐ช๐ฃ ๐ฎ๐ฐ๐ฌ๐ โข ๐ฐ