crystal-duckdb icon indicating copy to clipboard operation
crystal-duckdb copied to clipboard

Windows: Process terminated abnormally

Open michaeldesu opened this issue 7 months ago • 1 comments

Testing the sample code in the README on Windows 11 x64 (Crystal 1.16.0).

When I run: crystal run .\src\duckdb-test.cr

I get:

max age:
33
contacts:
name (age)
Process terminated abnormally, the cause is unknown

However if I build the same example, and run the exe, I don't get the last line.

michaeldesu avatar May 01 '25 10:05 michaeldesu

Hi @michaeldesu. Unfortunately, I don't have access to a machine with Windows to reproduce the issue and the info given is too limited.

Keep in mind that the Crystal language still has some rough edges on Windows, and I suppose that a shard with C bindings such as this one might be prone to certain errors. Perhaps the Crystal forum is more apt for these kind of issues?

amauryt avatar May 06 '25 09:05 amauryt