-
Notifications
You must be signed in to change notification settings - Fork 370
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
Julia hangs on DataFrame creation #216
Comments
I'm seeing this as well. Working on it now. |
Still trying to figure this out. The problem is pretty endemic. The following also fails:
Sometimes it seems the failure lies in how inference is used to call |
Hangs for me too df = read_table(Pkg.dir("TimeSeries/test/data/GSPC.csv")); I didn't have this problem this weekend so I'm checking out Julia commits to track it down. |
The problem goes away when using the 12c51d7a8da702b4a25c1774b7bebbd2aae2e21d commit. #before this commit
c3418cb11833480138a5c476568b3eb56ed07ce7 fix #2562
#after this commit
12c51d7a8da702b4a25c1774b7bebbd2aae2e21d Rename known-mean variants to stdm and varm. |
So, it doesn't work on JuliaLang/julia@d74ad66? |
Not sure. It does work on |
I see. You are |
Brute force |
As @blakejohnson suggested, |
So, since this is also affecting me, I went through This means it could be an upstream bug, but not necessarily. |
s/upstream/julia/ |
Thanks for looking into this, Kevin. I haven't had time to work out the source of our troubles. I believe it lies in |
This is being caused by one of the DataArray constructor definitions, which seems to be causing julia's inference to go into an infinite loop (see JuliaLang/julia#2607 (comment)). Simple fix is to comment out this constructor (https://github.com/HarlanH/DataFrames.jl/blob/master/src/dataarray.jl#L74), but someone with more familiarity with the code could probably come up with a better fix, at least until @JeffBezanson comes up with a fix on the julia side. |
Thanks for tracking this down, Kevin. I guess it's not surprising that the catch-all |
Also: really fix ambiguity warning.
It's only my problem; type inference should terminate for all julia code no matter what. |
This is fixed in the latest Julia/DataFrames. |
Indeed. Closing. |
Thanks for handling this, everyone! |
On 9199a9e3f3521946dda82418dd1e041945787f74,
causes Julia to spin out into an infinite loop in inference.jl.
Anyone else seeing this?
The text was updated successfully, but these errors were encountered: