[Cuis-dev] Cuis on SqueakJS
Agustin Martinez
agustincico at gmail.com
Thu Nov 9 11:24:17 PST 2023
Doing some research into the problem with Vanessa's help, I learned a few
things. SqueakJS converts 64-bit images into 32-bit images when loading. And
since the 32-bit Cuis image worked fine, the problem could come in the
conversion. The WrodZise variable is not modified in the conversion (at
least not always). By resetting it when starting up, the problem could be
solved and we would have both versions (32 and 64) of Cuis running in
SqueakJS.
[image: Captura de pantalla 2023-11-09 a las 10.05.33.png]
On Wed, Nov 8, 2023 at 2:39 PM Agustin Martinez <agustincico at gmail.com>
wrote:
> Hello everyone,
> I'm testing the current Cuis image in SqueakJS and I am encountering the
> following problem: when an exception is raised the process goes on an
> infinite loop. Any idea how we can solve it?
> To try it we can evaluate "self error: 'error message' " on a workspace.
> This printing describes the loop:
>
> Object>>at:
> Object>>errorSubscriptBounds:
> Object>>error:
> Exception>>signal:
> Exception>>signal
> Exception>>signalIn:
> ContextPart>>nextHandlerContext
> ContextPart>>findNextHandlerContext
> ContextPart>>findNextHandlerOrSignalingContext
> MethodContext>>isHandlerOrSignalingContext
> CompiledMethod>>primitive
> Object>>at:
> Object>>errorSubscriptBounds:
> Object>>error:
> Exception>>signal:
> Exception>>signal
> Exception>>signalIn:
> ContextPart>>nextHandlerContext
> ContextPart>>findNextHandlerContext
> ContextPart>>findNextHandlerOrSignalingContext
> MethodContext>>isHandlerOrSignalingContext
> CompiledMethod>>primitive
> Object>>at:
> Object>>errorSubscriptBounds:
> Object>>error:
> Exception>>signal:
> Exception>>signal
> Exception>>signalIn:
> ContextPart>>nextHandlerContext
> ContextPart>>findNextHandlerContext
> ContextPart>>findNextHandlerOrSignalingContext
> MethodContext>>isHandlerOrSignalingContext
> CompiledMethod>>primitive
> Object>>at:
>
> Best,
> Agustín
>
> On Thu, Nov 2, 2023 at 8:48 PM Stephen Travis Pope via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>>
>> By the way, Vanessa, it is AWESOME to be able to run cuis on my Android
>> tablet — Danke vielmals!
>>
>> stp
>>
>> --------
>>
>> Stephen Travis Pope Ojai, California, USA
>> [image: pastedGraphic.tiff]
>> http://HeavenEverywhere.com
>> http://FASTLabInc.com
>> https://vimeo.com/user19434036/videos
>> http://heaveneverywhere.com/Reflections
>>
>>
>>
>> On Oct 28, 2023, at 3:02 PM, Juan Vuletich via Cuis-dev <
>> cuis-dev at lists.cuis.st> wrote:
>>
>> On 10/27/2023 7:34 PM, Vanessa Freudenberg wrote:
>>
>> On Fri, Oct 27, 2023 at 1:31 PM Juan Vuletich <juan at cuis.st> wrote:
>>
>>> Hi Vanessa,
>>>
>>> On 10/27/2023 2:36 AM, Vanessa Freudenberg via Cuis-dev wrote:
>>> > Hi Juan,
>>> >
>>> > primitive 184 (Object>>pin) was missing. I added that to the VM as a
>>> > no-op answering true and now it works.
>>>
>>> Please don't.
>>
>>
>> You're right – either it should fail or work correctly. I'll make it work
>> properly.
>>
>>
>>> Thank you so much for taking the time to carefully test Cuis on
>>> SqueakJS. Hopefully no special hacks in the VM will be needed to run
>>> Cuis.
>>>
>>
>> Oh I didn't test carefully, I'll leave that to others ^_^
>>
>> I was only curious if it worked. My goal is to have SqueakJS be able to
>> run as many unmodified images as reasonably possible.
>>
>> Please report problems at https://github.com/codefrau/SqueakJS/issues
>>
>>
>> Sure, thanks,
>>
>> BTW, what VM is good for Mac ARM? I haven't gotten Cuis to run outside of
>> SqueakJS yet.
>>
>>
>> Eliot and OpenSmalltalk haven't done a release yet, but the latest build
>> from
>> https://github.com/OpenSmalltalk/opensmalltalk-vm/actions/workflows/macos-arm.yml
>> should work both for Squeak and Cuis.
>>
>> Vanessa
>>
>>
>> Cheers,
>>
>> --
>> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231109/3e31e963/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 2442 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231109/3e31e963/attachment-0001.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla 2023-11-09 a las 10.05.33.png
Type: image/png
Size: 153281 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231109/3e31e963/attachment-0001.png>
More information about the Cuis-dev
mailing list