Segmentation Fault when using Plots

using Plots
[ Info: Recompiling stale cache file /home/arnau/.julia/compiled/v1.1/Plots/ld3vC.ji for Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]

signal (11): Segmentation fault
in expression starting at /home/arnau/.julia/packages/PlotThemes/4DCOG/src/juno_smart.jl:3
jl_compile_linfo at /buildworker/worker/package_linux64/build/src/codegen.cpp:1176
emit_invoke at /buildworker/worker/package_linux64/build/src/codegen.cpp:3145
emit_expr at /buildworker/worker/package_linux64/build/src/codegen.cpp:3948
emit_ssaval_assign at /buildworker/worker/package_linux64/build/src/codegen.cpp:3662
emit_function at /buildworker/worker/package_linux64/build/src/codegen.cpp:3854
jl_compile_linfo at /buildworker/worker/package_linux64/build/src/codegen.cpp:1144
emit_invoke at /buildworker/worker/package_linux64/build/src/codegen.cpp:3145
emit_expr at /buildworker/worker/package_linux64/build/src/codegen.cpp:3948
emit_ssaval_assign at /buildworker/worker/package_linux64/build/src/codegen.cpp:3662
emit_function at /buildworker/worker/package_linux64/build/src/codegen.cpp:3854
jl_compile_linfo at /buildworker/worker/package_linux64/build/src/codegen.cpp:1144
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1807
jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2348
cconvert at /home/arnau/.julia/packages/ColorTypes/iN6Cn/src/conversions.jl:76 [inlined]
convert at /home/arnau/.julia/packages/ColorTypes/iN6Cn/src/conversions.jl:73 [inlined]
#distinguishable_colors#16 at /home/arnau/.julia/packages/Colors/gfDkX/src/colormaps.jl:59
unknown function (ip: 0x7f1f1411435b)
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2348
#distinguishable_colors at ./none:0
unknown function (ip: 0x7f1f1411323e)
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
#expand_palette#3 at /home/arnau/.julia/packages/PlotThemes/4DCOG/src/PlotThemes.jl:14
#expand_palette at ./none:0
unknown function (ip: 0x7f1f1411129d)
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:323
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:411
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:362 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:773
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:885
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f1f19901c7f)
unknown function (ip: 0x72)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:894
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:883
jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:826
include at ./boot.jl:326 [inlined]
include_relative at ./loading.jl:1038
include at ./sysimg.jl:29 [inlined]
include at /home/arnau/.julia/packages/PlotThemes/4DCOG/src/PlotThemes.jl:3
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:323
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:411
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:362 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:773
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:885
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f1f196bb48f)
unknown function (ip: 0x7)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:894
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:793
eval at ./boot.jl:328 [inlined]
eval at /home/arnau/.julia/packages/PlotThemes/4DCOG/src/PlotThemes.jl:3 [inlined]
#16 at /home/arnau/.julia/packages/Requires/qy6zC/src/require.jl:85
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
err at /home/arnau/.julia/packages/Requires/qy6zC/src/require.jl:42
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2348
#15 at /home/arnau/.julia/packages/Requires/qy6zC/src/require.jl:84
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
withpath at /home/arnau/.julia/packages/Requires/qy6zC/src/require.jl:32
#14 at /home/arnau/.julia/packages/Requires/qy6zC/src/require.jl:83
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
listenpkg at /home/arnau/.julia/packages/Requires/qy6zC/src/require.jl:15
macro expansion at /home/arnau/.julia/packages/Requires/qy6zC/src/require.jl:81 [inlined]
__init__ at /home/arnau/.julia/packages/PlotThemes/4DCOG/src/PlotThemes.jl:62
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1571 [inlined]
jl_module_run_initializer at /buildworker/worker/package_linux64/build/src/toplevel.c:72
jl_init_restored_modules at /buildworker/worker/package_linux64/build/src/dump.c:2418
_include_from_serialized at ./loading.jl:633
_require_search_from_serialized at ./loading.jl:713
_tryrequire_from_serialized at ./loading.jl:648
_require_from_serialized at ./loading.jl:679
_require at ./loading.jl:967
require at ./loading.jl:858
require at ./loading.jl:853
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1571 [inlined]
call_require at /buildworker/worker/package_linux64/build/src/toplevel.c:397 [inlined]
eval_import_path at /buildworker/worker/package_linux64/build/src/toplevel.c:432
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:630
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:793
eval at ./boot.jl:328 [inlined]
repleval at /home/arnau/.julia/packages/Atom/ipSjf/src/repl.jl:196
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
#242 at /home/arnau/.julia/packages/Atom/ipSjf/src/repl.jl:223
with_logstate at ./logging.jl:395
with_logger at ./logging.jl:491 [inlined]
evalrepl at /home/arnau/.julia/packages/Atom/ipSjf/src/repl.jl:214
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:323
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:411
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:362 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:773
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:885
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f1eeb0d339f)
unknown function (ip: 0xffffffffffffffff)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:894
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:793
eval at ./boot.jl:328
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
eval_user_input at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:85
macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:117 [inlined]
#26 at ./task.jl:259
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1571 [inlined]
start_task at /buildworker/worker/package_linux64/build/src/task.c:572
unknown function (ip: 0xffffffffffffffff)
Allocations: 75510154 (Pool: 75497239; Big: 12915); GC: 150
julia> versioninfo(verbose=true)
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
      Ubuntu 18.04.5 LTS
  uname: Linux 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64
  CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz: 
              speed         user         nice          sys         idle          irq
       #1  4000 MHz       8653 s         66 s       1642 s      97177 s          0 s
       #2  4005 MHz      10871 s          6 s       1671 s      95049 s          0 s
       #3  4008 MHz       9107 s         10 s       1602 s      96894 s          0 s
       #4  4005 MHz      10513 s          4 s       1650 s      95448 s          0 s
       #5  4003 MHz       8403 s         43 s       1710 s      97398 s          0 s
       #6  4006 MHz       6405 s        155 s       1522 s      99306 s          0 s
       #7  4034 MHz      14338 s          5 s       2395 s      88770 s          0 s
       #8  4007 MHz       8343 s         92 s       1709 s      97345 s          0 s
       
  Memory: 31.29623794555664 GB (22128.52734375 MB free)
  Uptime: 1083.0 sec
  Load Avg:  0.94970703125  1.09033203125  0.9208984375
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = atom  -a
  JULIA_NUM_THREADS = 4
  ATOM_HOME = /home/arnau/.atom
  NODE_PATH = /snap/atom/259/usr/share/atom/resources/app.asar/exports
  MANDATORY_PATH = /usr/share/gconf/ubuntu.mandatory.path
  DEFAULTS_PATH = /usr/share/gconf/ubuntu.default.path
  HOME = /home/arnau
  WINDOWPATH = 2
  PATH = /home/arnau/.local/bin:/home/arnau/.local/bin:/home/arnau/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
  SNAP_LIBRARY_PATH = /var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
  TERM = xterm-256color

You are using a very old version of Julia. Please install the current stable release, 1.5.0, from the downloads page.

4 Likes

Thank you @dpsanders. I’ve done that.

However, would I have similar issues if I switch to the latest LTS version?

For this particular issue, yes, unfortunately (because the current LTS is a 1.0.x).

1 Like