Open Octogonapus opened 3 years ago
@vtjnash i don't believe this is a Pkg issue. Any idea?
Seen in 1.6.3
Precompiling project...
Progress [========> ] 14/76
◓ ModernGL
◒ GPUArrays
◓ MutableArithmetics
✓ ChainRulesCore
...
^Cfatal: error thrown and no exception handler available.
InterruptException()
jl_task_get_next at /Applications/Julia-1.6.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.6.dylib (unknown line)
poptask at ./task.jl:760
wait at ./task.jl:769
task_done_hook at ./task.jl:494
jl_apply_generic at /Applications/Julia-1.6.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.6.dylib (unknown line)
jl_finish_task at /Applications/Julia-1.6.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.6.dylib (unknown line)
start_task at /Applications/Julia-1.6.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.6.dylib (unknown line)
I think that the interruption has to be disabled until a known safe point if this is supposed to work reliably.
That sounds reasonable, but I don't know where to start. I don't really know how to tell what a non-safe point is.
You need to detect and handle it explicitly if you intend this to work. See how runtests.jl does it in the Base tests, for example.
just to say, this also happens on 1.8.3:
Precompiling project...
Progress [==> ] 3/70
◒ Parsers
◑ Colors
◐ Interpolations
◒ HTTP
✓ Glib_jll
◑ GeometryBasics
^Cfatal: error thrown and no exception handler available.
InterruptException()
jl_mutex_unlock at /cache/build/default-amdci5-6/julialang/julia-release-1-dot-8/src/julia_locks.h:129 [inlined]
ijl_task_get_next at /cache/build/default-amdci5-6/julialang/julia-release-1-dot-8/src/partr.c:569
poptask at ./task.jl:921
wait at ./task.jl:930
task_done_hook at ./task.jl:634
jfptr_task_done_hook_35125.clone_1 at /home/ubuntu/.julia/juliaup/julia-1.8.3+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-amdci5-6/julialang/julia-release-1-dot-8/src/gf.c:2365 [inlined]
ijl_apply_generic at /cache/build/default-amdci5-6/julialang/julia-release-1-dot-8/src/gf.c:2547
jl_apply at /cache/build/default-amdci5-6/julialang/julia-release-1-dot-8/src/julia.h:1839 [inlined]
jl_finish_task at /cache/build/default-amdci5-6/julialang/julia-release-1-dot-8/src/task.c:254
start_task at /cache/build/default-amdci5-6/julialang/julia-release-1-dot-8/src/task.c:942
One of the effects of this is creating orphaned pidfiles.
Cc. @oxinabox
I interrupted the automatic precompilation with ^C and the subsequent
InterruptException
was not handled, causing Julia to crash: