-
-
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
DataFrames hangs when using master commits after #12c51d7... #2607
Comments
More information: This DataArray constructor: https://github.com/HarlanH/DataFrames.jl/blob/master/src/dataarray.jl#L74 seems to be causing julia's inference to get caught in an infinite loop: julia> d = [1,2,3]
3-element Int64 Array:
1
2
3
julia> m = trues(3)
3-element BitArray:
true
true
true
julia> DataArray(d,m)
^C^CError showing value of type DataArray{Int64,1}:
ERROR: interrupt
in abstract_eval_call at inference.jl:694
in abstract_eval at inference.jl:713
in abstract_eval_arg at inference.jl:665
in typeinf at inference.jl:1210
in abstract_call_gf at inference.jl:561
in abstract_call at inference.jl:638
in abstract_eval_call at inference.jl:696
in abstract_eval at inference.jl:713
in abstract_eval_arg at inference.jl:665
in typeinf at inference.jl:1210
in abstract_call_gf at inference.jl:561
in abstract_call at inference.jl:638
in abstract_eval_call at inference.jl:696
in abstract_eval at inference.jl:713
in abstract_eval_arg at inference.jl:665
in typeinf at inference.jl:1210 |
cc: @JeffBezanson As noted above, this worked before commit c3418cb. The problem could still be with the DataArray constructor definition, but it would still be better not to get into an infinite loop. |
Ok, that should fix it. Please try it out. |
That did it, thanks! |
works for me too, using DataFrames 400cb39 before the temp fix commit |
This should also close JuliaData/DataFrames.jl#216 and JuliaStats/RDatasets.jl#9 |
This was first observed here: JuliaData/DataFrames.jl#216
The problem is somewhere between
12c51d7a8da702b4a25c1774b7bebbd2aae2e21d Rename known-mean variants to stdm and varm.
andc3418cb11833480138a5c476568b3eb56ed07ce7 fix #2562
That's a pretty wide range of commits
The text was updated successfully, but these errors were encountered: