JuliaPluto/Pluto.jl
View on GitHubPrecompile failure can cause a Pluto notebook to stop responding; `using Profile`
Open
#2040 opened on Apr 19, 2022
backendgood first issuepackage manager
Description
I believe the error itself is unrelated to Pluto, but it's causing the notebook to hang (working animations running). Pluto v0.19.0, Julia 1.8.0-beta3
It seems to be happening when I try to add using Profile. The only way to get out of it is to edit the notebook manually to remove that line, then restart the notebook.
From worker 17: ERROR: LoadError: ccall method definition: argument 1 type doesn't correspond to a C type
From worker 17: Stacktrace:
From worker 17: [1] top-level scope
From worker 17: @ ~/.julia/packages/SentinelArrays/p1IoM/src/SentinelArrays.jl:209
From worker 17: [2] include
From worker 17: @ ./Base.jl:422 [inlined]
From worker 17: [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
From worker 17: @ Base ./loading.jl:1400
From worker 17: [4] top-level scope
From worker 17: @ stdin:1
From worker 17: in expression starting at /home/ec2-user/.julia/packages/SentinelArrays/p1IoM/src/SentinelArrays.jl:1
From worker 17: in expression starting at stdin:1
From worker 17: ERROR: LoadError: Failed to precompile SentinelArrays [91c51154-3ec4-41a3-a24f-3f23e20d615c] to /home/ec2-user/.julia/compiled/v1.8/SentinelArrays/jl_rqgd4r.
From worker 17: Stacktrace:
From worker 17: [1] error(s::String)
From worker 17: @ Base ./error.jl:35
From worker 17: [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
From worker 17: @ Base ./loading.jl:1551
From worker 17: [3] compilecache
From worker 17: @ ./loading.jl:1495 [inlined]
From worker 17: [4] _require(pkg::Base.PkgId)
From worker 17: @ Base ./loading.jl:1199
From worker 17: [5] _require_prelocked(uuidkey::Base.PkgId)
From worker 17: @ Base ./loading.jl:1084
From worker 17: [6] macro expansion
From worker 17: @ ./loading.jl:1064 [inlined]
From worker 17: [7] macro expansion
From worker 17: @ ./lock.jl:223 [inlined]
From worker 17: [8] require(into::Module, mod::Symbol)
From worker 17: @ Base ./loading.jl:1028
From worker 17: [9] include
From worker 17: @ ./Base.jl:422 [inlined]
From worker 17: [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
From worker 17: @ Base ./loading.jl:1400
From worker 17: [11] top-level scope
From worker 17: @ stdin:1
From worker 17: in expression starting at /home/ec2-user/.julia/packages/CSV/0Elut/src/CSV.jl:1
From worker 17: in expression starting at stdin:1