Precompilation error on julia master due to IOError: stream is closed
#541
Closed
Description
Precompiling Cthulhu
Info Given Cthulhu was explicitly requested, output will be shown live
ERROR: LoadError: IOError: stream is closed or unusable
Stacktrace:
[1] check_open(x::Base.PipeEndpoint)
@ Base ./stream.jl:388
[2] raw!(t::REPL.Terminals.TTYTerminal, raw::Bool)
@ REPL.Terminals ~/julia/usr/share/julia/stdlib/v1.11/REPL/src/Terminals.jl:138
[3] request(term::REPL.Terminals.TTYTerminal, m::Cthulhu.CthulhuMenu; cursor::Int64, suppress_output::Bool)
@ REPL.TerminalMenus ~/julia/usr/share/julia/stdlib/v1.11/REPL/src/TerminalMenus/AbstractMenu.jl:241
[4] request
@ ~/julia/usr/share/julia/stdlib/v1.11/REPL/src/TerminalMenus/AbstractMenu.jl:181 [inlined]
[5] request(term::REPL.Terminals.TTYTerminal, msg::String, m::Cthulhu.CthulhuMenu; kwargs::@Kwargs{})
@ REPL.TerminalMenus ~/julia/usr/share/julia/stdlib/v1.11/REPL/src/TerminalMenus/AbstractMenu.jl:259
[6] request(term::REPL.Terminals.TTYTerminal, msg::String, m::Cthulhu.CthulhuMenu)
@ REPL.TerminalMenus ~/julia/usr/share/julia/stdlib/v1.11/REPL/src/TerminalMenus/AbstractMenu.jl:257
[7] _descend(term::REPL.Terminals.TTYTerminal, interp::Cthulhu.CthulhuInterpreter, curs::Cthulhu.CthulhuCursor; override::Nothing, debuginfo::Symbol, optimize::Bool, interruptexc::Bool, iswarn::Bool, hide_type_stable::Bool, verbose::Nothing, remarks::Bool, with_effects::Bool, exception_type::Bool, inline_cost::Bool, type_annotations::Bool, annotate_source::Bool, inlay_types_vscode::Bool, diagnostics_vscode::Bool, jump_always::Bool)
@ Cthulhu ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:561
[8] _descend(term::REPL.Terminals.TTYTerminal, interp::Cthulhu.CthulhuInterpreter, mi::Core.MethodInstance; kwargs::@Kwargs{iswarn::Bool})
@ Cthulhu ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:791
[9] _descend(term::REPL.Terminals.TTYTerminal, args::Any; interp::Core.Compiler.NativeInterpreter, kwargs::@Kwargs{iswarn::Bool})
@ Cthulhu ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:807
[10] __descend_with_error_handling(args::Any; terminal::Any, kwargs...)
@ Cthulhu ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:222
[11] _descend_with_error_handling(f::Any, argtypes::Any; kwargs::@Kwargs{iswarn::Bool, terminal::REPL.Terminals.TTYTerminal})
@ Cthulhu ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:211
[12] descend_code_typed(::Any, ::Vararg{Any}; kwargs::@Kwargs{terminal::REPL.Terminals.TTYTerminal})
@ Cthulhu ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:169
[13] macro expansion
@ ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:883 [inlined]
[14] macro expansion
@ ~/.julia/packages/PrecompileTools/kmH5L/src/workloads.jl:78 [inlined]
[15] macro expansion
@ ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:882 [inlined]
[16] macro expansion
@ ~/.julia/packages/PrecompileTools/kmH5L/src/workloads.jl:140 [inlined]
[17] top-level scope
@ ~/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:878
[18] include
@ ./Base.jl:556 [inlined]
[19] 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, UInt128}}, source::Nothing)
@ Base ./loading.jl:2438
[20] top-level scope
@ stdin:4
in expression starting at /home/jishnu/.julia/packages/Cthulhu/o16w9/src/Cthulhu.jl:1
in expression starting at stdin:4
✗ Cthulhu
0 dependencies successfully precompiled in 15 seconds. 18 already precompiled.
[ Info: Error initializing Cthulhu
[...]
This is using
julia> versioninfo()
Julia Version 1.11.0-DEV.1554
Commit b8540d1766* (2024-02-11 03:53 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, tigerlake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
LD_LIBRARY_PATH = :/usr/lib/x86_64-linux-gnu/gtk-3.0/modules
JULIA_EDITOR = subl
(@v1.11) pkg> st -m Cthulhu
Status `~/.julia/environments/v1.11/Manifest.toml`
[f68482b8] Cthulhu v2.10.2
Metadata
Assignees
Labels
No labels