[Cuis-dev] Interesting seemingly reproducible VM crash

Javier Pimás elpochodelagente at gmail.com
Fri Dec 19 07:18:17 PST 2025


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?

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
"$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251219/9ea61538/attachment.htm>


More information about the Cuis-dev mailing list