JuliaLang / JuliaLang/PackageCompiler.jl
Segmentation fault when trying to put Turing.jl in a sysimage with julia 1.9.0
- Dominant language
- Julia
- Stars
- 1.6k
- Forks
- 205
- Avg merge
- 18h 37m
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the minimal generated MWE package with Turing.jl or StatsPlots.jl using Julia 1.9.0 and PackageCompiler, then compare the same sysimage build on Julia 1.8.5. Confirm that the Julia 1.9.0 build no longer ends with signal 11 while retaining the affected dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100