[Cuis-dev] Threaded VM FFI usage
Jon Raiford
raiford at labware.com
Fri Feb 20 05:10:24 PST 2026
FWIW, I know Eliot mentioned that there is a known issue with the threaded FFI that he is working on. It seems to be rare as most calls are working, but it is reproducible and in the queue to be fixed.
Jon
From: Cuis-dev <cuis-dev-bounces at lists.cuis.st> on behalf of Lorenz Köhl via Cuis-dev <cuis-dev at lists.cuis.st>
Date: Friday, February 20, 2026 at 8:03 AM
To: Cuis-dev <cuis-dev at lists.cuis.st>
Cc: short.toy8168 at lrz.me <short.toy8168 at lrz.me>
Subject: Re: [Cuis-dev] Threaded VM FFI usage
> I am attaching a package containing test cases that exercise ODBC FFI
> calls and illustrate the different behavior between the standard VM and
> the threaded-FFI VM.
I ran the tests and saw that even some of the base FFI Tests fail,
please see the attached screenshot. Clicking on the failed test cases
crashes my mt-VM build, so I have no more details right now. It seems
win64-mt FFI is borked ATM?
For anyone trying to reproduce: I built the mt VM squeak.cog.spur
from git a785bcd7 on win64x64 in MSYS64 with ./mvm -T -f. Starting
the build process was simple, getting it to succeed...not so much.
Then open a fresh cuis image with the new vm, install FFI tests and run.
> In particular, you will see that we included a method that animates a
> morph by changing its colors. This allows us to visually verify that
> the main UI thread is not blocked while the FFI call is running.
I got to see the blinking morph, but I don't know where to get the
Odbc3Database class. It doesn't come with the ODBC package on cuis git.
Lorenz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260220/e7349242/attachment.htm>
More information about the Cuis-dev
mailing list