Skip to content

Display inside the internal Julia REPL in the debugger hangs indefinitely #384

@vyudu

Description

@vyudu

Recently the debugger has started hanging indefinitely any time I try to print something in the julia repl inside of it. The stack trace when I cut it is below:

1|julia> 1
^CERROR: InterruptException:
Stacktrace:
  [1] poptask(W::Base.IntrusiveLinkedListSynchronized{Task})
    @ Base ./task.jl:1012
  [2] wait()
    @ Base ./task.jl:1021
  [3] wait(c::Base.GenericCondition{ReentrantLock}; first::Bool)
    @ Base ./condition.jl:130
  [4] wait
    @ ./condition.jl:125 [inlined]
  [5] put_buffered(c::Channel{Any}, v::Tuple{REPL.var"#72#74", Int64})
    @ Base ./channels.jl:380
  [6] put!
    @ ./channels.jl:358 [inlined]
  [7] call_on_backend
    @ ~/.julia/juliaup/julia-1.11.6+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1006 [inlined]
  [8] print_response(errio::IO, response::Any, backend::Union{…}, show_value::Bool, have_color::Bool, specialdisplay::Union{…})
    @ REPL ~/.julia/juliaup/julia-1.11.6+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/REPL.jl:436
  [9] (::REPL.var"#70#71"{REPL.LineEditREPL, Tuple{Int64, Bool}, Bool, Bool})(io::Any)
    @ REPL ~/.julia/juliaup/julia-1.11.6+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/REPL.jl:405
 [10] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
    @ REPL ~/.julia/juliaup/julia-1.11.6+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/REPL.jl:678
 [11] print_response(repl::REPL.AbstractREPL, response::Any, show_value::Bool, have_color::Bool)
    @ REPL ~/.julia/juliaup/julia-1.11.6+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/REPL.jl:403
 [12] (::Debugger.var"#28#31"{Tuple{Int64, Bool}, Debugger.DebuggerState})()
    @ Debugger ~/.julia/packages/Debugger/wueAn/src/repl.jl:196
Some type information was truncated. Use `show(err)` to see complete types.

I'm also using it inside tmux, not sure if that could be causing something here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions