-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
REPL hangs at startup on windows #9242
Comments
My usual suspect here is |
Hmm I do not have any network drives. But the variables looks weird:
My guess is |
That looks normal, those are set by your Windows configuration (and some corporate setups have them set to network drives which can cause issues). Looks like that's not the problem here. When you watch in task manager is there any CPU usage, does the memory use stay constant or change over time? |
It uses one threads CPU=12%. I haven't observed the memory, I will try to look at it when it happens next time. |
I am experiencing the same problem since I started using julia months ago. I am running Version 0.4.0-dev+2249 (x86_64-w64-mingw32) on Windows 8. It occurs when starting from cygwin as well as from the native cmd shell. |
@axsk is this while you're running some calculation, or immediately on startup? |
immediately on startup, as in the screenshot above |
Hmm, thanks. @dhoegh has this happened to you recently? Are you also on Windows 8 by any chance? |
It has happened recently, but I would probably say 1/20 startups. I am on Windows 7. |
If it's always on x86_64, then this could potentially be an alternate manifestation of #7942, not sure. |
I and my colleagues have only x86_64 so it is possible. |
32-bit Julia runs just fine in 64 bit Windows. If you have the disk space and the time and wouldn't mind trying out 32-bit Julia for a little while, it would be interesting to see whether or not you ever encounter the same issue there. You can install both 32 and 64 bit Julia in parallel to different locations, you may need to do |
I am now trying the 32-bit version, and had no freeze so far (around 20 starts so far). Interestingely the REPL starts up around 7 times so fast:
Should I open a new issue for this? Also I am not able to reproduce the 64bit freeze/hang with |
Thanks for collecting that info. Are you using the nightlies or release? Is there a sys.dll file under lib/julia?
I think @ihnorton had a theory that there might be some race condition somewhere between libuv and codegen, so possibly. |
I am now using the nightlies from today. Yes there is that sys.dll. |
Oh right, I never reverted Jameson's commit that put sys.dll back into the 32-bit nightlies, only on release-0.3. So you'll get faster startup with sys.dll, but backtraces will probably be missing line numbers and file names. If you want line numbers and file names in your backtraces, you can delete or rename sys.dll. Hopefully we'll fix all this before 0.4.0 gets released, so you don't have to choose one or the other. |
I have experienced this on 0.3 and master too. Very rarely and only on Haswell in my experience. I have not experienced it on my Ivy-Bridge box at all. |
I feel like this might be the same underlying issue as #7942 and probably not REPL-related at all. |
closing as dupe of #7942 |
I have noticed that Julia 0.3.3 REPL sometimes hangs at startup on windows se:
I have seen this on my own computer and some of my colleagues.
The text was updated successfully, but these errors were encountered: