[Cuis-dev] [Vm-dev] Re: Interesting seemingly reproducible VM crash
Javier Pimás
elpochodelagente at gmail.com
Fri Dec 19 09:43:23 PST 2025
Hi Eliot,
Thanks for that info! Ok this is more of a cuis issue then, so ccing back
there. I don't know how often new vm buids are committed to the repo, but
maybe this is a good opportunity or maybe there is something to wait for.
Cheers,
Pocho
El vie, 19 de dic de 2025, 14:13, Eliot Miranda <eliot.miranda at gmail.com>
escribió:
>
> Hi Pocho,
>
> On Dec 19, 2025, at 7:19 AM, Javier Pimás <elpochodelagente at gmail.com>
> wrote:
>
>
> Hi folks,
>
> Running `Display fullScreenMode: true` on macos in the latest cuis is
> making my VM crash with the log shown below. Looks like some windowing api
> is being called in a secondary thread. Seems to be related with the
> threaded ffi work being done lately, but not sure. Maybe the vm switched
> threads from the main one on an ffi call and has to be forced to wait until
> it finishes to issue this call to the os from main?
>
>
> try the latest Squeak VM. It’s fixed there-in. The problem was simply that
> since January the macOS VM has a separate GUI thread which means that all
> commands from the Smalltalk thread to the GUI thread (the first thread)
> must be made by a message queue. Nut the full screen primitive didn’t do
> this. I fixed this last week.
>
> Note that you can switch to full screen using the Mac gui’s green button
> and the VM will not crash.
>
> Eliot
> _,,,^..^,,,_ (phone)
>
>
> Best regards,
> Pocho
>
>
> *** Terminating app due to uncaught exception
> 'NSInternalInconsistencyException', reason: 'NSWindow geometry should only
> be modified on the main thread!'
> *** First throw call stack:
> (
> 0 CoreFoundation 0x00000001945d7ae0
> __exceptionPreprocess + 176
> 1 libobjc.A.dylib 0x000000019409ab90
> objc_exception_throw + 88
> 2 CoreFoundation 0x00000001945fc154
> _CFBundleGetValueForInfoKey + 0
> 3 AppKit 0x0000000198e19f70
> -[NSWindow(Regions) _postWindowNeedsToResetDragMargins] + 412
> 4 AppKit 0x00000001990c50e4
> -[_NSEnterFullScreenTransitionController start] + 192
> 5 AppKit 0x000000019929b93c
> -[_NSFullScreenSpace(Transitions) startTransition:] + 92
> 6 Squeak 0x0000000100b73574
> -[sqSqueakOSXMetalView ioSetFullScreen:] + 116
> 7 Squeak 0x0000000100b73aac
> -[sqSqueakOSXScreenAndWindow ioSetFullScreen:] + 40
> 8 Squeak 0x0000000100b7812c ioSetFullScreen
> + 40
> 9 Squeak 0x0000000100b21c0c
> primitiveSetFullScreen + 76
> 10 Squeak 0x0000000100b25204
> slowPrimitiveResponse + 148
> 11 Squeak 0x0000000100af7624
> executeNewMethod + 96
> 12 Squeak 0x0000000100af83a8
> ceSendsupertonumArgs + 1204
> 13 ??? 0x0000000112000124 0x0 + 4596957476
> 14 Squeak 0x0000000100ae70c4 interpret + 372
> 15 Squeak 0x0000000100b77b20
> -[sqSqueakMainApplication runSqueak] + 288
> 16 Foundation 0x0000000195b2eba8
> __NSThread__start__ + 732
> 17 libsystem_pthread.dylib 0x000000019447bc0c _pthread_start
> + 136
> 18 libsystem_pthread.dylib 0x0000000194476b80 thread_start + 8
> )
> libc++abi: terminating due to uncaught exception of type NSException
> ./RunCuisOnMac.sh: line 9: 73595 Abort trap: 6 "$VM"
> CuisImage/Cuis?.?-????.image -u -s ../Cuis-Smalltalk-Dev-UserFiles/
> start.st "$@"
> Vm-dev mailing list -- vm-dev at lists.squeakfoundation.org
> To unsubscribe send an email to vm-dev-leave at lists.squeakfoundation.org
>
> Vm-dev mailing list -- vm-dev at lists.squeakfoundation.org
> To unsubscribe send an email to vm-dev-leave at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251219/01814940/attachment.htm>
More information about the Cuis-dev
mailing list