- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.7k
 
Closed
Labels
REPLJulia's REPL (Read Eval Print Loop)Julia's REPL (Read Eval Print Loop)
Milestone
Description
Just as an example:
(Base) julia> Base.explicit_loadUnhandled Task ERROR: TaskFailedException
    nested task error: ArgumentError: IOBuffer not marked
    Stacktrace:
     [1] reset
       @ ./io.jl:1429 [inlined]
     [2] reset
       @ ./stream.jl:1489 [inlined]
     [3] peek(s::TTY, ::Type{Char})
       @ Base ./stream.jl:1496
     [4] peek(t::REPL.Terminals.TTYTerminal, ::Type{Char})
       @ REPL.Terminals ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/Terminals.jl:161
     [5] (::REPL.LineEdit.var"#281#283"{REPL.Terminals.TTYTerminal})()
       @ REPL.LineEdit ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2834
Stacktrace:
 [1] _wait_multiple(waiting_tasks::Tuple{Task, Task}, throwexc::Bool, all::Bool, failfast::Bool)
   @ Base ./task.jl:513
 [2] _wait_multiple
   @ ./task.jl:417 [inlined]
 [3] waitany
   @ ./task.jl:397 [inlined]
 [4] prompt!(term::REPL.Terminals.TextTerminal, prompt::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
   @ REPL.LineEdit ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2833
 [5] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
   @ REPL.LineEdit ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2743
 [6] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
   @ REPL ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:1504
 [7] (::REPL.var"#75#81"{REPL.LineEditREPL, REPL.REPLBackendRef})()
   @ REPL ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:496
ERROR: TaskFailedException
Stacktrace:
  [1] try_yieldto(undo::typeof(ensure_rescheduled))
    @ Base ./task.jl:1100
  [2] wait()
    @ Base ./task.jl:1164
  [3] wait(c::GenericCondition{ReentrantLock}; first::Bool)
    @ Base ./condition.jl:139
  [4] wait
    @ ./condition.jl:134 [inlined]
  [5] take_buffered(c::Channel{Any})
    @ Base ./channels.jl:493
  [6] take!
    @ ./channels.jl:487 [inlined]
  [7] repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
    @ REPL ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:353
  [8] start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
    @ REPL ~/julia/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:343
  [9] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_
Probably related to #54674 looking at the blame.
Metadata
Metadata
Assignees
Labels
REPLJulia's REPL (Read Eval Print Loop)Julia's REPL (Read Eval Print Loop)
