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*
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*
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
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*
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
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*
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
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!
On 12/26/22 18:55, rabbit wrote:
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*
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
-- ••• 𝙄𝙛 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙙𝙧𝙞𝙫𝙞𝙣𝙜 𝙖 𝙋𝙤𝙧𝙨𝙘𝙝𝙚, 𝙩𝙝𝙖𝙣𝙠 𝙮𝙤𝙪 𝙛𝙤𝙧 𝙢𝙤𝙫𝙞𝙣𝙜 𝙤𝙫𝙚𝙧, 𝙨𝙤 𝙩𝙝𝙖𝙩 𝙄 𝙘𝙤𝙪𝙡𝙙 𝙨𝙖𝙛𝙚𝙡𝙮 𝙥𝙖𝙨𝙨! 𝘼𝙧𝙧𝙞𝙫𝙚𝙙𝙚𝙧𝙘𝙞, 𝙧𝙖𝙗𝙗𝙞𝙩 • 𝘿𝙖𝙩𝙨𝙪𝙣 𝟮𝟰𝟬𝙕 • 🐰
squeak-dev@lists.squeakfoundation.org