Hello,
after update my plot function hangs. Simply typing
using Plots
plot(rand(10))
the REPL hangs and I can only recover with an explicitely kill of julia.
I have done an Pkg.update(), there has been an update of one Package, I don’t know what and I don’t know which package (maybe GR). Simply looking for the dates in .julia/Packages doesn’t resolve this problem.
Is there any log where I can look what has happened?
plot worked 12 hours before.
No, unfortunately not. Here is the output of build:
Building TimeZones → ~/.julia/packages/TimeZones/X323b/deps/build.log
Building GR ───────→ ~/.julia/packages/GR/cRdXQ/deps/build.log
Building Plots ────→ ~/.julia/packages/Plots/V8QVi/deps/build.log
Building NNlib ────→ ~/.julia/packages/NNlib/FAI3o/deps/build.log
Building FFTW ─────→ ~/.julia/packages/FFTW/5DZuu/deps/build.log
Building Libtask ──→ ~/.julia/packages/Libtask/GQPaW/deps/build.log
┌ Error: Error building Libtask:
│ ERROR: LoadError: LibraryProduct(nothing, [“libtask_v1_3”], :libtask_v1_3, “Prefix(/home/ad08/.julia/packages/Libtask/GQPaW/deps/usr)”) is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}; verbose::Bool, isolate::Bool) at /home/ad08/.julia/packages/BinaryProvider/GeAtj/src/Products.jl:419
│ [3] top-level scope at /home/ad08/.julia/packages/Libtask/GQPaW/deps/build.jl:58
│ [4] include(::String) at ./client.jl:439
│ [5] top-level scope at none:5
│ in expression starting at /home/ad08/.julia/packages/Libtask/GQPaW/deps/build.jl:58
└ @ Pkg.Operations /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:892
Building Dierckx ──→ ~/.julia/packages/Dierckx/9SY4A/deps/build.log
┌ Error: Error building Dierckx:
│ ERROR: LoadError: LibraryProduct(nothing, [“libddierckx”], :libddierckx, “Prefix(/home/ad08/.julia/packages/Dierckx/9SY4A/deps/usr)”) is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}; verbose::Bool, isolate::Bool) at /home/ad08/.julia/packages/BinaryProvider/GeAtj/src/Products.jl:419
│ [3] top-level scope at /home/ad08/.julia/packages/Dierckx/9SY4A/deps/build.jl:55
│ [4] include(::String) at ./client.jl:439
│ [5] top-level scope at none:5
│ in expression starting at /home/ad08/.julia/packages/Dierckx/9SY4A/deps/build.jl:55
└ @ Pkg.Operations /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:892
Building SymEngine → ~/.julia/packages/SymEngine/RK5Ks/deps/build.log
┌ Error: Error building SymEngine:
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libgmp.so
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libmpfr.so
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libmpc.so
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libsymengine.so
│ [ Info: Found a valid dl path libgmp.so while looking for libgmp
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libgmp.so matches our search criteria of libgmp
│ [ Info: Found a valid dl path libgmp.so while looking for libmpfr
│ [ Info: Found a valid dl path libgmp.so.10 while looking for libmpfr
│ [ Info: Found a valid dl path libgmp.so.10.3.2 while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx.so while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx.so.4 while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx.so.4.5.2 while looking for libmpfr
│ [ Info: Found a valid dl path libmpc.so while looking for libmpfr
│ [ Info: Found a valid dl path libmpc.so.3 while looking for libmpfr
│ [ Info: Found a valid dl path libmpc.so.3.1.0 while looking for libmpfr
│ [ Info: Found a valid dl path libmpfr.so while looking for libmpfr
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libmpfr.so matches our search criteria of libmpfr
│ [ Info: Found a valid dl path libgmp.so while looking for libmpc
│ [ Info: Found a valid dl path libgmp.so.10 while looking for libmpc
│ [ Info: Found a valid dl path libgmp.so.10.3.2 while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx.so while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx.so.4 while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx.so.4.5.2 while looking for libmpc
│ [ Info: Found a valid dl path libmpc.so while looking for libmpc
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libmpc.so matches our search criteria of libmpc
│ [ Info: Found a valid dl path libgmp.so while looking for libsymengine
│ [ Info: Found a valid dl path libgmp.so.10 while looking for libsymengine
│ [ Info: Found a valid dl path libgmp.so.10.3.2 while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx.so while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx.so.4 while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx.so.4.5.2 while looking for libsymengine
│ [ Info: Found a valid dl path libmpc.so while looking for libsymengine
│ [ Info: Found a valid dl path libmpc.so.3 while looking for libsymengine
│ [ Info: Found a valid dl path libmpc.so.3.1.0 while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr.so while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr.so.6 while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr.so.6.0.2 while looking for libsymengine
│ [ Info: Found a valid dl path libsymengine.so while looking for libsymengine
│ [ Info: /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib/libsymengine.so matches our search criteria of libsymengine
│ ERROR: LoadError: LibraryProduct(“/home/ad08/.julia/packages/SymEngine/RK5Ks/deps/libsymengine-0.4/lib”, [“libgmp”], :libgmp, nothing) is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}; verbose::Bool, isolate::Bool) at /home/ad08/.julia/packages/BinaryProvider/GeAtj/src/Products.jl:419
│ [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/ad08/.julia/packages/BinaryProvider/GeAtj/src/Products.jl:400
│ [4] top-level scope at /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/build.jl:60
│ [5] include(::String) at ./client.jl:439
│ [6] top-level scope at none:5
│ in expression starting at /home/ad08/.julia/packages/SymEngine/RK5Ks/deps/build.jl:60
└ @ Pkg.Operations /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:892
I don’t know if this is relevant, but in ~/.julia/packages/Libtask/GQPaW/deps/usr/lib I only find libtask_v1_0.so libtask_v1_1.so libtask_v1_2.so libtask_v1_3.so
Is libtask_v1.4.so missing?
Similarly if the following is relevant: After killing the REPL with kill I get the following error messages:
signal (15): Beendet
in expression starting at REPL[2]:0
recv at /lib64/libpthread.so.0 (unknown line)
read_socket at /home/ad08/.julia/packages/GR/cRdXQ/src/…/deps/gr/lib/libGR.so (unknown line)
gks_drv_socket at /home/ad08/.julia/packages/GR/cRdXQ/src/…/deps/gr/lib/libGR.so (unknown line)
gks_ddlk at /home/ad08/.julia/packages/GR/cRdXQ/src/…/deps/gr/lib/libGR.so (unknown line)
gks_open_ws at /home/ad08/.julia/packages/GR/cRdXQ/src/…/deps/gr/lib/libGR.so (unknown line)
initgks at /home/ad08/.julia/packages/GR/cRdXQ/src/…/deps/gr/lib/libGR.so (unknown line)
gr_setcharheight at /home/ad08/.julia/packages/GR/cRdXQ/src/…/deps/gr/lib/libGR.so (unknown line)
setcharheight at /home/ad08/.julia/packages/GR/cRdXQ/src/GR.jl:1395
unknown function (ip: 0x7f463c2381b3) #gr_set_font#339 at /home/ad08/.julia/packages/Plots/V8QVi/src/backends/gr.jl:392
unknown function (ip: 0x7f463c2366ac)
gr_set_font##kw at /home/ad08/.julia/packages/Plots/V8QVi/src/backends/gr.jl:391
gr_set_xticks_font at /home/ad08/.julia/packages/Plots/V8QVi/src/backends/gr.jl:691
_update_min_padding! at /home/ad08/.julia/packages/Plots/V8QVi/src/backends/gr.jl:900
iterate at ./generator.jl:47 [inlined]
_collect at ./array.jl:678
collect_similar at ./array.jl:607
map at ./abstractarray.jl:2072
_update_min_padding! at /home/ad08/.julia/packages/Plots/V8QVi/src/layouts.jl:310
prepare_output at /home/ad08/.julia/packages/Plots/V8QVi/src/plot.jl:184
display at /home/ad08/.julia/packages/Plots/V8QVi/src/output.jl:149
display at ./multimedia.jl:323
jl_apply at /giga/opt/julia-1.4.1/src/julia.h:1700 [inlined]
do_apply at /giga/opt/julia-1.4.1/src/builtins.c:643
jl_f__apply_latest at /giga/opt/julia-1.4.1/src/builtins.c:693 #invokelatest#1 at ./essentials.jl:712 [inlined]
invokelatest at ./essentials.jl:711 [inlined]
print_response at /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:161
print_response at /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:146
unknown function (ip: 0x7f463c226a55)
do_respond at /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:729
unknown function (ip: 0x7f463c1d4683)
jl_apply at /giga/opt/julia-1.4.1/src/julia.h:1700 [inlined]
do_apply at /giga/opt/julia-1.4.1/src/builtins.c:643
jl_f__apply_latest at /giga/opt/julia-1.4.1/src/builtins.c:693 #invokelatest#1 at ./essentials.jl:712 [inlined]
invokelatest at ./essentials.jl:711 [inlined]
run_interface at /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/REPL/src/LineEdit.jl:2354
run_frontend at /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:1055
run_repl at /giga/opt/julia-1.4.1/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:206 #764 at ./client.jl:383
unknown function (ip: 0x7f463c13edbf)
jl_apply at /giga/opt/julia-1.4.1/src/julia.h:1700 [inlined]
do_apply at /giga/opt/julia-1.4.1/src/builtins.c:643
jl_f__apply_latest at /giga/opt/julia-1.4.1/src/builtins.c:693 #invokelatest#1 at ./essentials.jl:712 [inlined]
invokelatest at ./essentials.jl:711 [inlined]
run_main_repl at ./client.jl:367
exec_options at ./client.jl:305
_start at ./client.jl:484
jfptr__start_2075 at /giga/opt/julia-1.4.1/usr/lib/julia/sys.so (unknown line)
unknown function (ip: 0x4026e2)
unknown function (ip: 0x402312)
__libc_start_main at /lib64/libc.so.6 (unknown line)
unknown function (ip: 0x4023b9)
unknown function (ip: (nil))
Allocations: 43267540 (Pool: 43256155; Big: 11385); GC: 40
Now I started with a fresh .julia directory. After add Plots I noticed the following inconsistency:
GR v0.49.1 was loaded, in ~/.julia/packages/GR/cRdXQ/deps/ I find
[ Info: Downloading pre-compiled GR 0.49.0 Linux binary
plot(rand(10)) doesn’t work