[squeak-dev] [NEVERMIND] Re: [BUG] Different results when running code <EXCEPTION> versus debugging code <RUNS>

rabbit rabbit at callistohouse.org
Wed Dec 28 01:54:32 UTC 2022


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*
>>>>
>>>>
>>>> -- 
>>>> โ€ขโ€ขโ€ข
>>>> ๐™„๐™› ๐™ฎ๐™ค๐™ช ๐™–๐™ง๐™š ๐™™๐™ง๐™ž๐™ซ๐™ž๐™ฃ๐™œ ๐™– ๐™‹๐™ค๐™ง๐™จ๐™˜๐™๐™š, ๐™ฉ๐™๐™–๐™ฃ๐™  ๐™ฎ๐™ค๐™ช ๐™›๐™ค๐™ง
>>>> ๐™ข๐™ค๐™ซ๐™ž๐™ฃ๐™œ ๐™ค๐™ซ๐™š๐™ง, ๐™จ๐™ค ๐™ฉ๐™๐™–๐™ฉ ๐™„ ๐™˜๐™ค๐™ช๐™ก๐™™ ๐™จ๐™–๐™›๐™š๐™ก๐™ฎ ๐™ฅ๐™–๐™จ๐™จ!
>>>> ๐˜ผ๐™ง๐™ง๐™ž๐™ซ๐™š๐™™๐™š๐™ง๐™˜๐™ž, ๐™ง๐™–๐™—๐™—๐™ž๐™ฉ โ€ข ๐˜ฟ๐™–๐™ฉ๐™จ๐™ช๐™ฃ ๐Ÿฎ๐Ÿฐ๐Ÿฌ๐™• โ€ข ๐Ÿฐ
>>>>
>>> -- 
>>> โ€ขโ€ขโ€ข
>>> ๐™„๐™› ๐™ฎ๐™ค๐™ช ๐™–๐™ง๐™š ๐™™๐™ง๐™ž๐™ซ๐™ž๐™ฃ๐™œ ๐™– ๐™‹๐™ค๐™ง๐™จ๐™˜๐™๐™š, ๐™ฉ๐™๐™–๐™ฃ๐™  ๐™ฎ๐™ค๐™ช ๐™›๐™ค๐™ง
>>> ๐™ข๐™ค๐™ซ๐™ž๐™ฃ๐™œ ๐™ค๐™ซ๐™š๐™ง, ๐™จ๐™ค ๐™ฉ๐™๐™–๐™ฉ ๐™„ ๐™˜๐™ค๐™ช๐™ก๐™™ ๐™จ๐™–๐™›๐™š๐™ก๐™ฎ ๐™ฅ๐™–๐™จ๐™จ!
>>> ๐˜ผ๐™ง๐™ง๐™ž๐™ซ๐™š๐™™๐™š๐™ง๐™˜๐™ž, ๐™ง๐™–๐™—๐™—๐™ž๐™ฉ โ€ข ๐˜ฟ๐™–๐™ฉ๐™จ๐™ช๐™ฃ ๐Ÿฎ๐Ÿฐ๐Ÿฌ๐™• โ€ข ๐Ÿฐ
>>>
>> -- 
>> โ€ขโ€ขโ€ข
>> ๐™„๐™› ๐™ฎ๐™ค๐™ช ๐™–๐™ง๐™š ๐™™๐™ง๐™ž๐™ซ๐™ž๐™ฃ๐™œ ๐™– ๐™‹๐™ค๐™ง๐™จ๐™˜๐™๐™š, ๐™ฉ๐™๐™–๐™ฃ๐™  ๐™ฎ๐™ค๐™ช ๐™›๐™ค๐™ง
>> ๐™ข๐™ค๐™ซ๐™ž๐™ฃ๐™œ ๐™ค๐™ซ๐™š๐™ง, ๐™จ๐™ค ๐™ฉ๐™๐™–๐™ฉ ๐™„ ๐™˜๐™ค๐™ช๐™ก๐™™ ๐™จ๐™–๐™›๐™š๐™ก๐™ฎ ๐™ฅ๐™–๐™จ๐™จ!
>> ๐˜ผ๐™ง๐™ง๐™ž๐™ซ๐™š๐™™๐™š๐™ง๐™˜๐™ž, ๐™ง๐™–๐™—๐™—๐™ž๐™ฉ โ€ข ๐˜ฟ๐™–๐™ฉ๐™จ๐™ช๐™ฃ ๐Ÿฎ๐Ÿฐ๐Ÿฌ๐™• โ€ข ๐Ÿฐ
>>
> -- 
> โ€ขโ€ขโ€ข
> ๐™„๐™› ๐™ฎ๐™ค๐™ช ๐™–๐™ง๐™š ๐™™๐™ง๐™ž๐™ซ๐™ž๐™ฃ๐™œ ๐™– ๐™‹๐™ค๐™ง๐™จ๐™˜๐™๐™š, ๐™ฉ๐™๐™–๐™ฃ๐™  ๐™ฎ๐™ค๐™ช ๐™›๐™ค๐™ง
> ๐™ข๐™ค๐™ซ๐™ž๐™ฃ๐™œ ๐™ค๐™ซ๐™š๐™ง, ๐™จ๐™ค ๐™ฉ๐™๐™–๐™ฉ ๐™„ ๐™˜๐™ค๐™ช๐™ก๐™™ ๐™จ๐™–๐™›๐™š๐™ก๐™ฎ ๐™ฅ๐™–๐™จ๐™จ!
> ๐˜ผ๐™ง๐™ง๐™ž๐™ซ๐™š๐™™๐™š๐™ง๐™˜๐™ž, ๐™ง๐™–๐™—๐™—๐™ž๐™ฉ โ€ข ๐˜ฟ๐™–๐™ฉ๐™จ๐™ช๐™ฃ ๐Ÿฎ๐Ÿฐ๐Ÿฌ๐™• โ€ข ๐Ÿฐ
>
-- 
โ€ขโ€ขโ€ข
๐™„๐™› ๐™ฎ๐™ค๐™ช ๐™–๐™ง๐™š ๐™™๐™ง๐™ž๐™ซ๐™ž๐™ฃ๐™œ ๐™– ๐™‹๐™ค๐™ง๐™จ๐™˜๐™๐™š, ๐™ฉ๐™๐™–๐™ฃ๐™  ๐™ฎ๐™ค๐™ช ๐™›๐™ค๐™ง
๐™ข๐™ค๐™ซ๐™ž๐™ฃ๐™œ ๐™ค๐™ซ๐™š๐™ง, ๐™จ๐™ค ๐™ฉ๐™๐™–๐™ฉ ๐™„ ๐™˜๐™ค๐™ช๐™ก๐™™ ๐™จ๐™–๐™›๐™š๐™ก๐™ฎ ๐™ฅ๐™–๐™จ๐™จ!
๐˜ผ๐™ง๐™ง๐™ž๐™ซ๐™š๐™™๐™š๐™ง๐™˜๐™ž, ๐™ง๐™–๐™—๐™—๐™ž๐™ฉ โ€ข ๐˜ฟ๐™–๐™ฉ๐™จ๐™ช๐™ฃ ๐Ÿฎ๐Ÿฐ๐Ÿฌ๐™• โ€ข ๐Ÿฐ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221227/38a8b7d1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EParrotTalk-tests-run-summary.jpg
Type: image/jpeg
Size: 8192 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221227/38a8b7d1/attachment.jpg>


More information about the Squeak-dev mailing list