<div dir="ltr">Hi folks,<div><br></div><div>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?</div><div><br></div><div>Best regards,</div><div>Pocho</div><div><br></div><div>*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow geometry should only be modified on the main thread!'<br>*** First throw call stack:<br>(<br>   0   CoreFoundation                      0x00000001945d7ae0 __exceptionPreprocess + 176<br>    1   libobjc.A.dylib                     0x000000019409ab90 objc_exception_throw + 88<br>       2   CoreFoundation                      0x00000001945fc154 _CFBundleGetValueForInfoKey + 0<br>        3   AppKit                              0x0000000198e19f70 -[NSWindow(Regions) _postWindowNeedsToResetDragMargins] + 412<br>      4   AppKit                              0x00000001990c50e4 -[_NSEnterFullScreenTransitionController start] + 192<br>      5   AppKit                              0x000000019929b93c -[_NSFullScreenSpace(Transitions) startTransition:] + 92<br>   6   Squeak                              0x0000000100b73574 -[sqSqueakOSXMetalView ioSetFullScreen:] + 116<br>     7   Squeak                              0x0000000100b73aac -[sqSqueakOSXScreenAndWindow ioSetFullScreen:] + 40<br>        8   Squeak                              0x0000000100b7812c ioSetFullScreen + 40<br>       9   Squeak                              0x0000000100b21c0c primitiveSetFullScreen + 76<br>        10  Squeak                              0x0000000100b25204 slowPrimitiveResponse + 148<br>        11  Squeak                              0x0000000100af7624 executeNewMethod + 96<br>      12  Squeak                              0x0000000100af83a8 ceSendsupertonumArgs + 1204<br>        13  ???                                 0x0000000112000124 0x0 + 4596957476<br>  14  Squeak                              0x0000000100ae70c4 interpret + 372<br>    15  Squeak                              0x0000000100b77b20 -[sqSqueakMainApplication runSqueak] + 288<br> 16  Foundation                          0x0000000195b2eba8 __NSThread__start__ + 732<br>    17  libsystem_pthread.dylib             0x000000019447bc0c _pthread_start + 136<br>        18  libsystem_pthread.dylib             0x0000000194476b80 thread_start + 8<br>)<br>libc++abi: terminating due to uncaught exception of type NSException<br>./RunCuisOnMac.sh: line 9: 73595 Abort trap: 6           "$VM" CuisImage/Cuis?.?-????.image -u -s ../Cuis-Smalltalk-Dev-UserFiles/<a href="http://start.st">start.st</a> "$@"<br></div></div>