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:
A script file (script.jl) containing:
const DEPS = @eval Module() begin
using Pkg
Pkg.dependencies()
end
Upon loading this sysimage, the following segfault is encountered:
$ julia -J sysimage.so
[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
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:
A script file (
script.jl
) containing:And a sysimage built using:
Upon loading this sysimage, the following segfault is encountered:
[33174] signal (11.1): Segmentation fault in expression starting at none:0 Segmentation fault (core dumped)