DataFrames precompiling error

Hi Everyone, I’m new to Julia (and also coding). I started to use 1.5.3 on my ubuntu 18.04. I would like to use DataFrames, but I couldn’t. I tried to use it on 1.6.0rc1, but I’ve got the same troubles.

Firstly I added the package with Pkg.add(“DataFrames”). When I try to use with “using DataFrames” command I got the following message:

[ Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
ERROR: Failed to precompile DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] to /home/jnp/.julia/compiled/v1.6/DataFrames/jl_8Jhaaf.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
@ Base ./loading.jl:1356
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1302
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1017
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:910
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:897

OK, I’m not worried. Try to remove and reinstall:
Pkg.rm(“DataFrames”)
Pkg.resolve()
Pkg.add(“DataFrames”)
It has been installed successfully with all of its depedencies.
After tried again:
julia> using DataFrames

[ Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
Internal error: encountered unexpected error in runtime:
StackOverflowError()
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1256
forall_exists_equal at /buildworker/worker/package_linux64/build/src/subtype.c:1402
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1337
with_tvar at /buildworker/worker/package_linux64/build/src/subtype.c:714
subtype_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:839 [inlined]
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1282
with_tvar at /buildworker/worker/package_linux64/build/src/subtype.c:714
subtype_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:839 [inlined]
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1282
with_tvar at /buildworker/worker/package_linux64/build/src/subtype.c:714
subtype_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:839 [inlined]
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1282
with_tvar at /buildworker/worker/package_linux64/build/src/subtype.c:714
subtype_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:839 [inlined]
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1282
with_tvar at /buildworker/worker/package_linux64/build/src/subtype.c:714
subtype_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:839 [inlined]
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1282
with_tvar at /buildworker/worker/package_linux64/build/src/subtype.c:714
subtype_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:839 [inlined]
subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1282
exists_subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1426 [inlined]
forall_exists_subtype at /buildworker/worker/package_linux64/build/src/subtype.c:1454
subtype_in_env_ at /buildworker/worker/package_linux64/build/src/subtype.c:1909
subtype_in_env at /buildworker/worker/package_linux64/build/src/subtype.c:1914 [inlined]
intersect_sub_datatype at /buildworker/worker/package_linux64/build/src/subtype.c:2790
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3155
intersect_sub_datatype at /buildworker/worker/package_linux64/build/src/subtype.c:2772
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3155
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2571
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3077
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2571
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3077
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_all at /buildworker/worker/package_linux64/build/src/subtype.c:3172
intersect_aside at /buildworker/worker/package_linux64/build/src/subtype.c:2149
intersect_var at /buildworker/worker/package_linux64/build/src/subtype.c:2280
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3025
intersect_invariant at /buildworker/worker/package_linux64/build/src/subtype.c:2823
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3127
intersect_tuple at /buildworker/worker/package_linux64/build/src/subtype.c:2723 [inlined]
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3091
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2571
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3077
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_unionall_ at /buildworker/worker/package_linux64/build/src/subtype.c:2575
intersect_unionall at /buildworker/worker/package_linux64/build/src/subtype.c:2620
intersect at /buildworker/worker/package_linux64/build/src/subtype.c:3051
intersect_all at /buildworker/worker/package_linux64/build/src/subtype.c:3172
intersect_types at /buildworker/worker/package_linux64/build/src/subtype.c:3243
jl_has_empty_intersection at /buildworker/worker/package_linux64/build/src/subtype.c:3254
ml_matches at /buildworker/worker/package_linux64/build/src/gf.c:2867
jl_matching_methods at /buildworker/worker/package_linux64/build/src/gf.c:1886
_methods_by_ftype at ./reflection.jl:867 [inlined]
#findall#218 at ./compiler/methodtable.jl:57 [inlined]
findall##kw at ./compiler/methodtable.jl:54
jfptr_findallYY.YY.kw_13185.clone_1 at /home/jnp/julia-1.6.0-rc1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
#220 at ./compiler/methodtable.jl:67
get! at ./iddict.jl:163 [inlined]
#findall#219 at ./compiler/methodtable.jl:66 [inlined]
findall##kw at ./compiler/methodtable.jl:65
jfptr_findallYY.YY.kw_13180.clone_1 at /home/jnp/julia-1.6.0-rc1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:84
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call at ./compiler/abstractinterpretation.jl:1058
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_apply at ./compiler/abstractinterpretation.jl:739
abstract_call_known at ./compiler/abstractinterpretation.jl:956
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call at ./compiler/abstractinterpretation.jl:1058
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_edge at ./compiler/typeinfer.jl:806
abstract_call_method at ./compiler/abstractinterpretation.jl:490
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:143
abstract_call_known at ./compiler/abstractinterpretation.jl:1037
abstract_call at ./compiler/abstractinterpretation.jl:1060
abstract_call at ./compiler/abstractinterpretation.jl:1044
abstract_eval_statement at ./compiler/abstractinterpretation.jl:1171
typeinf_local at ./compiler/abstractinterpretation.jl:1449
typeinf_nocycle at ./compiler/abstractinterpretation.jl:1507
_typeinf at ./compiler/typeinfer.jl:214
typeinf at ./compiler/typeinfer.jl:209
typeinf_ext at ./compiler/typeinfer.jl:892
typeinf_ext_toplevel at ./compiler/typeinfer.jl:925
typeinf_ext_toplevel at ./compiler/typeinfer.jl:921
jfptr_typeinf_ext_toplevel_14033.clone_1 at /home/jnp/julia-1.6.0-rc1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
jl_type_infer at /buildworker/worker/package_linux64/build/src/gf.c:298
_generate_from_hint at /buildworker/worker/package_linux64/build/src/gf.c:2108 [inlined]
jl_compile_now at /buildworker/worker/package_linux64/build/src/gf.c:2122 [inlined]
jl_compile_hint at /buildworker/worker/package_linux64/build/src/gf.c:2140
precompile at ./essentials.jl:470 [inlined]
precompile at /home/jnp/.julia/packages/DataFrames/oQ5c7/src/other/precompile.jl:24
precompile at /home/jnp/.julia/packages/DataFrames/oQ5c7/src/other/precompile.jl:16
unknown function (ip: 0x7fa85188d9ad)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:115
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:204
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:155 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:561
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:669
top-level scope at /home/jnp/.julia/packages/DataFrames/oQ5c7/src/DataFrames.jl:130
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:879
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:197 [inlined]
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:670
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:827
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:931
eval at ./boot.jl:360 [inlined]
include_string at ./loading.jl:1090
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
_include at ./loading.jl:1144
include at ./Base.jl:386 [inlined]
include_package_for_output at ./loading.jl:1209
jfptr_include_package_for_output_35833.clone_1 at /home/jnp/julia-1.6.0-rc1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:115
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:204
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:155 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:561
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:669
top-level scope at none:1
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:879
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:931
eval at ./boot.jl:360 [inlined]
eval at ./client.jl:446
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:115
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:204
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:155 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:561
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:669
top-level scope at none:1
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:879
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:827
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:931
eval at ./boot.jl:360
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
exec_options at ./client.jl:261
_start at ./client.jl:485
jfptr__start_50107.clone_1 at /home/jnp/julia-1.6.0-rc1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2238 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2420
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
true_main at /buildworker/worker/package_linux64/build/src/jlapi.c:557
repl_entrypoint at /buildworker/worker/package_linux64/build/src/jlapi.c:699
main at /buildworker/worker/package_linux64/build/cli/loader_exe.c:51
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /home/jnp/julia-1.6.0-rc1/bin/julia (unknown line)
ERROR: Failed to precompile DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] to /home/jnp/.julia/compiled/v1.6/DataFrames/jl_lPBXl3.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
@ Base ./loading.jl:1356
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1302
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1017
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:910
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:897

I’m a pro googler, but I cannot find solution for my problem. Can anybody help me?

I would restart Julia and try again (shot in the dark).

Thank you Tamas. I tried several times, but it isn’t solve this problem.

Tamas Papp via JuliaLang <julialang@discoursemail.com> ezt írta (időpont: 2021. márc. 11., Csü 14:14):

Welcome to the Julia community, and I can see how this gives a bad impression.

Please try for me pressing ] for pkg mode, then do:

(@v1.6) pkg> st DataFrames

then copy the output and post here on discourse, if different version from the next command:

(@v1.6) pkg> add DataFrames@v0.22.5

julia> @time using DataFrames
  1.471782 seconds (1.52 M allocations: 110.252 MiB, 2.71% gc time, 5.94% compilation time)

That’s to make sure you have the latest (current) version. Actually it also has dependencies, and it should make sure you have versions of them that should work (otherwise the package has a bug). For now we assume that’s not the problem.

You shouldn’t usually need to add a version that way (I’m trying to expose what happened, if you get an error that would be a hint), and should get the latest (e.g. if you did nothing else than install this package), but I’ve had a problem were adding a package downgrades another (or upgrades; that could in theory also be a problem).

If this doesn’t work I would (temporarily) move out of the way the “julia” folder, in Linux done as:

$ mv ~/.julia ~/.julia_bak

and try again. Or possibly do (to get the development version, shouldn’t be needed, the above SHOULD work, but it’s known to be faster):

(@v1.6) pkg> add DataFrames#main

julia> @time using DataFrames
  1.150629 seconds (986.15 k allocations: 71.547 MiB, 2.20% gc time, 7.72% compilation time)

For other packages you might need rather #master but for that package, it’s no longer used, and you WILL get an old version.

This version has e.g. faster inner joins, and until a new version is tagged you don’t get it in the stable version.

1 Like

Should be fixed in 1.6-RC2 which will be out soon. Things like this is why 1.6 is not fully released yet :slight_smile:

1 Like

I’m confused, I’m on rc1 and ok for me, and he also tried 1.5.3, so what makes you think related to rc1? Still great rc2 is coming, I noticed you setting the version.

I thought it might have to do with this Infinite loop in subtyping on 1.6 · Issue #39948 · JuliaLang/julia · GitHub. But maybe not.

Thank you for your very detailed answer. I put here the status of the DataFrame, but it is the latest 0.22.5 as you waited:

  Status `~/.julia/environments/v1.6/Project.toml`

[a93c6f00] DataFrames v0.22.5

I’ve tried the add command too, but it doesn’t make any changes:

(@v1.6) pkg> add DataFrames@v0.22.5
Updating registry at ~/.julia/registries/General
Resolving package versions…
No Changes to ~/.julia/environments/v1.6/Project.toml
No Changes to ~/.julia/environments/v1.6/Manifest.toml

I have also tried the @time using DataFrames, but it has similar troubles as the original:

julia> @time using DataFrames
[ Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
ERROR: Failed to precompile DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] to /home/jnp/.julia/compiled/v1.6/DataFrames/jl_Q7vUJD.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
@ Base ./loading.jl:1356
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1302
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1017
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:910
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:897
[7] top-level scope
@ timing.jl:206

After these I tried to move the folder, remove DataFrames, and install an older version (v0.22.2) with your method (I didn’t know for now, thank you!), but it also get stucked:

Precompiling project…
Progress [====================================> ] 8/9
◑ DataFrames

**It frozen for 10 minutes, and after I’ve got this message:
ERROR: TaskFailedException
Stacktrace:
[1] wait
@ ./task.jl:317 [inlined]
[2] precompile(ctx::Pkg.Types.Context; internal_call::Bool, strict::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1184
[3] _auto_precompile(ctx::Pkg.Types.Context)
@ Pkg /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Pkg.jl:591
[4] add(pkgs::Vector{Pkg.Types.PackageSpec}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:74
[5] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:72
[6] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
@ Pkg.REPLMode /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:408
[7] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
@ Pkg.REPLMode /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:386
[8] do_cmd
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:377 [inlined]
[9] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
@ Pkg.REPLMode /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/REPLMode/REPLMode.jl:550
[10] #invokelatest#2
@ ./essentials.jl:707 [inlined]
[11] invokelatest
@ ./essentials.jl:706 [inlined]
[12] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/LineEdit.jl:2441
[13] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:1126
[14] (::REPL.var"#44#49"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL ./task.jl:406

nested task error: InterruptException:
Stacktrace:
 [1] macro expansion
   @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1080 [inlined]
 [2] (::Pkg.API.var"#204#229"{Pkg.API.var"#handle_interrupt#227"{Base.Event, ReentrantLock, Base.TTY}, String, String, String, String, Pkg.API.var"#ansi_moveup#226", Pkg.API.var"#color_string#225", Base.Event, Base.Event, ReentrantLock, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Vector{Base.PkgId}}, Vector{Base.PkgId}, Bool, Base.TTY})()
   @ Pkg.API ./task.jl:406

caused by: InterruptException:
Stacktrace:
  [1] _growend!
    @ ./array.jl:884 [inlined]
  [2] ensureroom
    @ ./iobuffer.jl:330 [inlined]
  [3] unsafe_write(to::IOBuffer, p::Ptr{UInt8}, nb::UInt64)
    @ Base ./iobuffer.jl:419
  [4] write
    @ ./strings/io.jl:185 [inlined]
  [5] print(io::IOBuffer, s::String)
    @ Base ./strings/io.jl:187
  [6] print(::IOBuffer, ::String, ::SubString{String}, ::Vararg{Any, N} where N)
    @ Base ./strings/io.jl:46
  [7] with_output_color(f::Function, color::Symbol, io::IOContext{IOBuffer}, args::String; bold::Bool)
    @ Base ./util.jl:89
  [8] #printstyled#819
    @ ./util.jl:105 [inlined]
  [9] show_progress(io::IOContext{IOBuffer}, p::Pkg.MiniProgressBars.MiniProgressBar)
    @ Pkg.MiniProgressBars /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/MiniProgressBars.jl:73
 [10] (::Pkg.API.var"#207#232"{Pkg.MiniProgressBars.MiniProgressBar})(io::IOContext{IOBuffer})
    @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1047
 [11] sprint(::Function; context::Base.TTY, sizehint::Int64)
    @ Base ./strings/io.jl:103
 [12] (::Pkg.API.var"#206#231"{Int64, Pkg.MiniProgressBars.MiniProgressBar, Vector{String}, String, String, Pkg.API.var"#ansi_moveup#226", Pkg.API.var"#color_string#225", Base.Event, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Bool}, Vector{Base.PkgId}, Base.TTY})()
    @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1047
 [13] lock(f::Pkg.API.var"#206#231"{Int64, Pkg.MiniProgressBars.MiniProgressBar, Vector{String}, String, String, Pkg.API.var"#ansi_moveup#226", Pkg.API.var"#color_string#225", Base.Event, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Bool}, Vector{Base.PkgId}, Base.TTY}, l::ReentrantLock)
    @ Base ./lock.jl:187
 [14] macro expansion
    @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1033 [inlined]
 [15] (::Pkg.API.var"#204#229"{Pkg.API.var"#handle_interrupt#227"{Base.Event, ReentrantLock, Base.TTY}, String, String, String, String, Pkg.API.var"#ansi_moveup#226", Pkg.API.var"#color_string#225", Base.Event, Base.Event, ReentrantLock, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Vector{Base.PkgId}}, Vector{Base.PkgId}, Bool, Base.TTY})()
    @ Pkg.API ./task.jl:406

So I still away from the solution, but I very appreciate your answer.

Thank you Kristoffer, but az Palli sad, I tried on 1.5.3 first :slight_smile:

Did you get Julia by downloading a binary? Or are you installing from an apt repository or similar? It seems like there’s something busted.

Could it be e.g. because of an ARM platform (I know this the user is using an unusual platform, from private conversation, just didn’t get ARM confirmed)? Since it’s rc1 is it likely to be from apt?

Dear All,

I’ve found the main problem. I using DigitalOcean droplet for my Julia dev project as Palli mentioned. It has only 1GB of RAM. I upgraded my droplet to 4GB of RAM, and now finally works the precompiling well. Thank you everyone for the replies (especially for Palli). I would advise a much more understandable error message for this trouble for the Julia developers :slight_smile:

3 Likes