I am using git for windows, which installs a bash shell (MINGW64). I can start Julia 1.9.1 in this shell, but then the input gets stuck. I cannot enter anything on the Julia prompt.
Bash and Julia are working if I use it in vscode, though.
$ git --version
git version 2.40.1.windows.1
If I start Julia, it hangs, and then press <ctrl>+<c> I get:
julia> Unhandled Task ERROR: InterruptException:
Stacktrace:
[1] poptask(W::Base.IntrusiveLinkedListSynchronized{Task})
@ Base .\task.jl:974
[2] wait()
@ Base .\task.jl:983
[3] wait(c::Base.GenericCondition{Base.Threads.SpinLock}; first::Bool)
@ Base .\condition.jl:130
[4] wait
@ .\condition.jl:125 [inlined]
[5] wait_readnb(x::Base.TTY, nb::Int64)
@ Base .\stream.jl:416
[6] eof(s::Base.TTY)
@ Base .\stream.jl:106
[7] eof(io::REPL.Terminals.TTYTerminal)
@ Base .\io.jl:450
[8] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer}, cs::Vector{Char}, keymap::Dict{Char})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[9] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer}, cs::Vector{Char})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[10] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[11] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[12] prompt!(term::REPL.Terminals.TextTerminal, prompt::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:2732
[13] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:2642
[14] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\REPL.jl:1300
[15] (::REPL.var"#62#68"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL .\task.jl:514
ERROR: TaskFailedException
Stacktrace:
[1] try_yieldto(undo::typeof(Base.ensure_rescheduled))
@ Base .\task.jl:920
[2] wait()
@ Base .\task.jl:984
[3] wait(c::Base.GenericCondition{ReentrantLock}; first::Bool)
@ Base .\condition.jl:130
[4] wait
@ .\condition.jl:125 [inlined]
[5] take_buffered(c::Channel{Any})
@ Base .\channels.jl:457
[6] take!
@ .\channels.jl:451 [inlined]
[7] repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
@ REPL C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\REPL.jl:244
[8] start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
@ REPL C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\REPL.jl:234
[9] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool, backend::Any)
@ REPL C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\REPL.jl:379
[10] run_repl(repl::REPL.AbstractREPL, consumer::Any)
@ REPL C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\REPL.jl:365
[11] (::Base.var"#1017#1019"{Bool, Bool, Bool})(REPL::Module)
@ Base .\client.jl:421
[12] #invokelatest#2
@ .\essentials.jl:816 [inlined]
[13] invokelatest
@ .\essentials.jl:813 [inlined]
[14] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
@ Base .\client.jl:405
[15] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:322
[16] _start()
@ Base .\client.jl:522
nested task error: InterruptException:
Stacktrace:
[1] poptask(W::Base.IntrusiveLinkedListSynchronized{Task})
@ Base .\task.jl:974
[2] wait()
@ Base .\task.jl:983
[3] wait(c::Base.GenericCondition{Base.Threads.SpinLock}; first::Bool)
@ Base .\condition.jl:130
[4] wait
@ .\condition.jl:125 [inlined]
[5] wait_readnb(x::Base.TTY, nb::Int64)
@ Base .\stream.jl:416
[6] eof(s::Base.TTY)
@ Base .\stream.jl:106
[7] eof(io::REPL.Terminals.TTYTerminal)
@ Base .\io.jl:450
[8] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer}, cs::Vector{Char}, keymap::Dict{Char})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[9] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer}, cs::Vector{Char})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[10] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState}, term::Union{REPL.Terminals.AbstractTerminal, IOBuffer})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[11] match_input(k::Dict{Char}, s::Union{Nothing, REPL.LineEdit.MIState})
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:1619
[12] prompt!(term::REPL.Terminals.TextTerminal, prompt::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:2732
[13] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\LineEdit.jl:2642
[14] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL C:\Users\uwefechner\.julia\juliaup\julia-1.9.1+0.x64.w64.mingw32\share\julia\stdlib\v1.9\REPL\src\REPL.jl:1300
[15] (::REPL.var"#62#68"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL .\task.jl:514
(base)
uwefechner@TUD262682 MINGW64 /
Is this a known problem? Is there a bash shell (terminal) that works together with Windows and Julia?