Closed caseykneale closed 4 years ago
I also started to see strange hangs after latest updates (Atom.jl v0.12.5, Atom itself is 1.44.0). In the last hour I had to force quit juno 4 or 5 times, so its pretty frequent.
But they seem to happen randomly and only when executing code in file, not in the REPL. Though not 100% sure about this.
Hitting ctrl + c one time in the REPL while hanging yields:
ERROR: InterruptException:
Stacktrace:
[1] try_yieldto(::typeof(Base.ensure_rescheduled), ::Base.RefValue{Task}) at ./task.jl:611
[2] wait() at ./task.jl:668
[3] wait(::Base.GenericCondition{Base.AlwaysLockedST}) at ./condition.jl:106
[4] blockinput() at ~/.julia/packages/Atom/QOKyk/src/repl.jl:97
[5] evalrepl(::Module, ::String) at ~/.julia/packages/Atom/QOKyk/src/repl.jl:204
[6] top-level scope at ~/.julia/packages/Atom/QOKyk/src/repl.jl:260
And than hitting it again:
ERROR: InterruptException:
Stacktrace:
[1] poptaskref(::Base.InvasiveLinkedListSynchronized{Task}) at ./task.jl:660
[2] wait() at ./task.jl:667
[3] wait(::Base.GenericCondition{Base.Threads.SpinLock}) at ./condition.jl:106
[4] wait_readnb(::Base.TTY, ::Int64) at ./stream.jl:355
[5] eof(::Base.TTY) at ./stream.jl:48
[6] eof(::REPL.Terminals.TTYTerminal) at ./io.jl:361
[7] match_input(::Dict, ::Any, ::Any, ::Any, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:1342 (repeats 2 times)
[8] prompt!(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2390
[9] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2301
[10] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
[11] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
[12] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
[13] #invokelatest#1 at ./essentials.jl:709 [inlined]
[14] invokelatest at ./essentials.jl:708 [inlined]
[15] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
[16] exec_options(::Base.JLOptions) at ./client.jl:304
[17] _start() at ./client.jl:460
Julia has exited.
Press Enter to start a new session.
Hope that helps.
Same bug as the issue above, and same behaviour when interrupted. Maybe the new Atom.jl is the smoking gun?
I have experienced similar hangs since updating Atom to the latest version, which prompted Juno to update my Julia packages to interact with it. I tried reinstalling my Julia packages, reinstalling and updating Julia, reinstalling and updating the Atom packages and reinstalling Julia and Atom from the ground up; nothing of this helped.
Following @caseykneale's hunch, I downgraded my Atom.jl package to version v0.12.3 and so far it seems the hangs have stopped.
What I did was, using the REPL:
] pin Atom@v0.12.3
Then I restarted Atom and julia and tried again.
Hope this is useful.
I haven't had a chance to dig further yet, but I can confirm that if you pin 0.12.3 this minimum not working example works! Nice find! This is a suitable work around for the time being. Good contribution
Should be fixed by https://github.com/JunoLab/Atom.jl/pull/290.
So far I have used Atom@v0.12.6 (the one that incorporates @pfitzseb's fixes and have experienced no hangups.
Thanks!
same story here I am closing this!
Please search existing issues to avoid duplicates.
Details
Steps to reproduce
either run these two lines 3x
or the following
it seems to hang forever on the third repetition on the
a[:]