-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New REPL can't handle as much text as the old console? #115
Comments
Huh. Works without an issue for me with 200k entries (on Windows and Linux). |
Yes, I'm using Atom.jl 0.6.9. I can't detect much of a pattern, but I can trigger the bug reliably with any largish value in the above code. There are two different ways in which the REPL can respond:
ie, it gives up somewhere arbitrarily, but doesn't hang, living to fight another day. It may just be that my relatively old computer isn't handling the Atom system perfectly... |
Can you try
|
Always works properly... :)
REPL hangs. (Although I'm not sure about the difference between all the Stop/Interrupt/Ctrl-C actions...)
I couldn't make it go wrong again, so your magic has worked! |
Belay that - it went wrong again this morning, so the problem hasn't completely gone away. But it is much better with Atom master... |
Can you try again with latest master? Might be better (or not)... Also, one observation I made: If you do something in the editor that requires interaction with Julia (searching in the docpane, switching editor so Julia needs to find out the current module etc) then the printing/execution of the loop will stall until that request has been handled. It does resume afterwards for me though, and I have never seen a simple loop not finish printing. In your case it is possible that some silent error occurs that kills julia and is unrelated to printing, although that would be pretty weird. |
Just FYI, I could pretty reliably reproduce this on my linux box last night. It's definitely some issue with deadlocking when reading from one pipe and writing to another, but I'm not sure why that happens :/ |
I was just trying to get it to go wrong this morning... (I'm not working hard enough yet, it seems, to make Atom-ic fission happen. Will keep at it... :) |
What worked for me is to use Cycler mode, immediately kill the first session and try to print in the second one. |
Possibly caused by JuliaLang/julia#22832 and fixed by JuliaLang/julia#22886. |
I htink I've finally squashed this one with JunoLab/Atom.jl@8ed0264 and JunoLab/atom-julia-client@78fb03d. Handling things like this also has the benefit of speeding up printing by a factor of 2-5; on the other hand, it makes the REPL more noisy since the |
I've been having some Atom/Juno hangs with the REPL. I think the new REPL may not be as robust as the old (Legacy) one, but I've only scratched the surface so far.
This code either gets truncated, or hangs the REPL. Can't spot a pattern yet.
In this screen shot the cursor is stuck on the last line and I'll probably have to force-quit Atom/Juno now to get the REPL or Console back.
julia-client version 0.6.8, Atom 1.23.3, macOS High Sierra
The text was updated successfully, but these errors were encountered: