JuliaLang / PackageCompiler.jl

Compile your Julia Package
https://julialang.github.io/PackageCompiler.jl/dev/
MIT License
1.41k stars 189 forks source link

Segfault on 1.9.3 with script file #838

Open dalum opened 1 year ago

dalum commented 1 year ago

We recently upgraded from 1.8.5 to 1.9.3, and now our Linux sysimage build pipeline is failing. We rely on injecting a few things into the sysimage during generation, by using a script file, but when those are included, the resulting sysimage segfaults on load.

I have reduced it to the following:

[33174] signal (11.1): Segmentation fault in expression starting at none:0 Segmentation fault (core dumped)



In my attempts to diagnose the issue, I've noted that the printing of `Task` during the build (like above) is always correlated with a faulty sysimage.

Note that this workflow has been tested and works perfectly fine on 1.7.3, 1.8.2, and 1.8.5
dalum commented 10 months ago

This seems to be fixed in 1.10-rc1, but is still reproducible on 1.9.3.