Skip to content

Segmentation fault on import juliacall in a CI job #472

Closed
@mtsokol

Description

@mtsokol

Affects: JuliaCall

Describe the bug

Hi! I recently started using JuliaCall to call Julia from Python. In my CI I have several jobs: ubuntu, macos and windows. One of my steps installs Julia and the other one builds python package and runs pytest.

A segmentation fault happens on import juliacall, inside juliacall.__init__.py::init() function, here, but only on ubuntu jobs. Macos and windows complete successfully. Julia 1.10.2 gets installed.

Do you know what might be the reason?


Failing ubuntu output: https://github.com/pydata/sparse/actions/runs/8252820808/job/22573248981?pr=647#step:7:116
JuliaCall setup: https://github.com/willow-ahrens/finch-tensor/blob/main/src/finch/julia.py
JuliaCall version: https://github.com/willow-ahrens/finch-tensor/blob/1bf21a28d28a19ba1cea59c6f5a719cb8914e395/pyproject.toml#L11
CI definition that installs Julia: https://github.com/pydata/sparse/blob/4bfea8fa5b66393a1ff7c2db45218ba41f46baec/.github/workflows/ci.yml#L44

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions