I am using Julia 1.8.5 on Windows. I wanted to use the package Plots, which I was able to do in another PC, but in my current one the kernel dies whenever I try to plot anything. After reinstalling Plots and Julia, and precompiling Plots I get the following error:
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x16017f1b – length at .\array.jl:215 [inlined]
iterate at .\array.jl:898 [inlined]
load_libs at C:\Users\Ricardo Martinho.julia\packages\GR\NJIU3\src\funcptrs.jl:57
in expression starting at none:1
length at .\array.jl:215 [inlined]
iterate at .\array.jl:898 [inlined]
load_libs at C:\Users\Ricardo Martinho.julia\packages\GR\NJIU3\src\funcptrs.jl:57
get_func_ptr at C:\Users\Ricardo Martinho.julia\packages\GR\NJIU3\src\funcptrs.jl:75 [inlined]
get_func_ptr at C:\Users\Ricardo Martinho.julia\packages\GR\NJIU3\src\funcptrs.jl:75 [inlined]
libGR_ptr at C:\Users\Ricardo Martinho.julia\packages\GR\NJIU3\src\funcptrs.jl:84 [inlined]
setcharheight at C:\Users\Ricardo Martinho.julia\packages\GR\NJIU3\src\GR.jl:1534
unknown function (ip: 26a07a1c)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
#gr_set_font#529 at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\backends\gr.jl:431
gr_set_font##kw at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\backends\gr.jl:422
unknown function (ip: 26a074b3)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
#gr_set_tickfont#534 at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\backends\gr.jl:694
gr_set_tickfont at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\backends\gr.jl:694
unknown function (ip: 269fe8ec)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
_update_min_padding! at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\backends\gr.jl:870
unknown function (ip: 269cb325)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
iterate at .\generator.jl:47 [inlined]
_collect at .\array.jl:807
collect_similar at .\array.jl:716 [inlined]
map at .\abstractarray.jl:2933 [inlined]
_update_min_padding! at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\layouts.jl:277
unknown function (ip: 269c6695)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
prepare_output at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\plot.jl:239
show at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\output.jl:231 [inlined]
#340 at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\output.jl:6 [inlined]
#open#378 at .\io.jl:384
open at .\io.jl:381 [inlined]
png at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\output.jl:6
unknown function (ip: 269c474c)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
savefig at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\output.jl:149
unknown function (ip: 269c3ccc)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
##1#313 at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\init.jl:111
unknown function (ip: 15fc068d)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:215
eval_stmt_value at C:/workdir/src\interpreter.c:166 [inlined]
eval_body at C:/workdir/src\interpreter.c:594
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:750
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:906
ijl_toplevel_eval at C:/workdir/src\toplevel.c:915 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:965
eval at .\boot.jl:368 [inlined]
eval at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\Plots.jl:1 [inlined]
_broadcast_getindex_evalf at .\broadcast.jl:670 [inlined]
_broadcast_getindex at .\broadcast.jl:643 [inlined]
getindex at .\broadcast.jl:597 [inlined]
copy at .\broadcast.jl:899
unknown function (ip: 15fb08f5)
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
materialize at .\broadcast.jl:860 [inlined]
macro expansion at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\init.jl:126 [inlined]
macro expansion at C:\Users\Ricardo Martinho.julia\packages\SnoopPrecompile\1XXT1\src\SnoopPrecompile.jl:62 [inlined]
#581 at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\init.jl:123
withenv at .\env.jl:172
unknown function (ip: 15faff37)
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
macro expansion at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\init.jl:122 [inlined]
top-level scope at C:\Users\Ricardo Martinho.julia\packages\SnoopPrecompile\1XXT1\src\SnoopPrecompile.jl:119
jl_fptr_args at C:/workdir/src\gf.c:2138
_jl_invoke at C:/workdir/src\gf.c:2377 [inlined]
ijl_invoke at C:/workdir/src\gf.c:2384
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:897
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:850
ijl_toplevel_eval at C:/workdir/src\toplevel.c:915 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:965
eval at .\boot.jl:368 [inlined]
include_string at .\loading.jl:1428
jl_fptr_args at C:/workdir/src\gf.c:2138
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
_include at .\loading.jl:1488
include at .\Base.jl:419
jfptr_include_45962.clone_1 at C:\Users\Ricardo Martinho\AppData\Local\Programs\Julia-1.8.5\lib\julia\sys.dll (unknown line)
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:774
include at C:\Users\Ricardo Martinho.julia\packages\Plots\p3KMq\src\Plots.jl:1
unknown function (ip: 15f26325)
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:215
eval_stmt_value at C:/workdir/src\interpreter.c:166 [inlined]
eval_body at C:/workdir/src\interpreter.c:594
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:750
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:906
jl_eval_module_expr at C:/workdir/src\toplevel.c:203 [inlined]
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:709
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:850
ijl_toplevel_eval at C:/workdir/src\toplevel.c:915 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:965
eval at .\boot.jl:368 [inlined]
include_string at .\loading.jl:1428
jl_fptr_args at C:/workdir/src\gf.c:2138
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
_include at .\loading.jl:1488
include at .\Base.jl:419 [inlined]
include_package_for_output at .\loading.jl:1554
jfptr_include_package_for_output_46740.clone_1 at C:\Users\Ricardo Martinho\AppData\Local\Programs\Julia-1.8.5\lib\julia\sys.dll (unknown line)
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:215
eval_stmt_value at C:/workdir/src\interpreter.c:166 [inlined]
eval_body at C:/workdir/src\interpreter.c:594
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:750
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:906
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:850
ijl_toplevel_eval at C:/workdir/src\toplevel.c:915 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:965
eval at .\boot.jl:368 [inlined]
include_string at .\loading.jl:1428
include_string at .\loading.jl:1438
jl_fptr_args at C:/workdir/src\gf.c:2138
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
exec_options at .\client.jl:301
_start at .\client.jl:522
jfptr__start_41558.clone_1 at C:\Users\Ricardo Martinho\AppData\Local\Programs\Julia-1.8.5\lib\julia\sys.dll (unknown line)
_jl_invoke at C:/workdir/src\gf.c:2358 [inlined]
ijl_apply_generic at C:/workdir/src\gf.c:2559
jl_apply at C:/workdir/src\julia.h:1843 [inlined]
true_main at C:/workdir/src\jlapi.c:575
jl_repl_entrypoint at C:/workdir/src\jlapi.c:719
jl_load_repl at C:/workdir/cli\loader_lib.c:471
mainCRTStartup at C:/workdir/cli\loader_exe.c:59
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlGetAppContainerNamedObjectPath at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
RtlGetAppContainerNamedObjectPath at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Allocations: 51547929 (Pool: 51538719; Big: 9210); GC: 41
ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\Ricardo Martinho.julia\compiled\v1.8\Plots\jl_D0EF.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base .\loading.jl:1707
[3] compilecache
@ .\loading.jl:1651 [inlined]
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1337
[5] _require_prelocked(uuidkey::Base.PkgId)
@ Base .\loading.jl:1200
[6] macro expansion
@ .\loading.jl:1180 [inlined]
[7] macro expansion
@ .\lock.jl:223 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1144
Trying to update plots I get that the following 3 packages are outdated
⌅ [e9f186c6] + Libffi_jll v3.2.2+1
⌅ [458c3c95] + OpenSSL_jll v1.1.20+0
⌅ [214eeab7] + fzf_jll v0.29.0+0
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use status --outdated -m
.
What should I do?