JuliaLang / PackageCompiler.jl

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

Segmentation fault when trying to put Turing.jl in a sysimage with julia 1.9.0 #808

Open mashu opened 1 year ago

mashu commented 1 year ago

Long story short, release 1.9.0 seems broken to me Trying to build JuliaSysImage.so with Vscode but getting

⠙ [00m:59s] PackageCompiler: compiling incremental system image
[42841] signal (11.1): Segmentation fault

It was using fallback environment, so I copied v1.8 into v1.9, but same problem, then I updated package compiler in that environment, but same problem. Then I removed all dependencies from package it builds, I added back Turing.jl it segfaults. I switched back to 1.8.5 it builds with Turing.jl as it used to.

MWE is just generated empty package with ]generate MWE.jl and added Turing.jl or StatsPlots.jl both packages were causing PackageCompiler to SegFault with Julia 1.9.0.