Skip to content

Segfaults on GitHub Action's Windows runner #108

@ysbaddaden

Description

@ysbaddaden

I'm installing SQLite from chocolatey that is available by default on the Windows GHA runners (choco install sqlite).

It installs the nuget package that wraps the x64 and x86 zip files that look like the official ones, with sqlite3.dll and sqlite3.def files.

I apply the patch from #107 and followed the advice by @HertzDevil in the comments to build the sqlite3.lib file (using lib.exe /DEF:sqlite3.def /OUT:sqlite3.lib and machine defaults to x64) and add the install path to LIB and the library crystal spec finally links correctly 🎉

But the executable segfaults trying to dereference a NULL pointer 💥

Example run: https://github.com/ysbaddaden/test-ecosystem/actions/runs/19339831663/job/55324971054

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions