Closed vtjnash closed 1 month ago
The assumptions for how the loading system now works with the new "upgradable stdlib" stuff is only known by one person now I think so I assign this to that one person heh.
On NixOS, but not (?) on Arch, this affects v1.11, not just nightly: #55309
AFAIU, the issue is that we have two REPL modules loaded and Base.active_repl
will be a different type of REPL than what is type asserted at https://github.com/JuliaLang/julia/blob/125bac4b9022ad9ff9c355e4810f94512739bac6/stdlib/REPL/src/REPL.jl#L764.
Basically, there is a mismatch between Base.active_repl
and Base.REPL_MODULE_REF[]
?
In addition to existing milestone-blocking issues with
Base.active_module
function being broken and thread-unsafe, it can also outright crash the session if it gets into a slightly bad state: