I get this segmentation fault on Linux (Ubuntu) when using the combination of PyPlot v2.6.0 and PyCall v1.18.1. If I downgrade PyCall to v1.18.0 everything seems to work fine.
My code:
using PyPlot
plot([1,2,3])
Start of the error:
signal (11): Segmentation fault
in expression starting at no file:0
function_call.lto_priv.350 at /home/jmg/.julia/packages/Conda/m7vem/deps/usr/lib/libpython3.6m.so (unknown line)
PyObject_Call at /home/jmg/.julia/packages/Conda/m7vem/deps/usr/lib/libpython3.6m.so (unknown line)
macro expansion at /home/jmg/.julia/packages/PyCall/uX707/src/exception.jl:81 [inlined]
__pycall! at /home/jmg/.julia/packages/PyCall/uX707/src/pyfncall.jl:117
_pycall! at /home/jmg/.julia/packages/PyCall/uX707/src/pyfncall.jl:30
#pycall#88 at /home/jmg/.julia/packages/PyCall/uX707/src/pyfncall.jl:16 [inlined]
pycall at /home/jmg/.julia/packages/PyCall/uX707/src/pyfncall.jl:160 [inlined]
#figure#7 at /home/jmg/.julia/packages/PyPlot/jXCXB/src/PyPlot.jl:142
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1829
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
figure at /home/jmg/.julia/packages/PyPlot/jXCXB/src/PyPlot.jl:141
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1829
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1538 [inlined]
jl_f__apply at /buildworker/worker/package_linux64/build/src/builtins.c:563
jl_f__apply_latest at /buildworker/worker/package_linux64/build/src/builtins.c:601
#invokelatest#1 at ./essentials.jl:691 [inlined]
invokelatest at ./essentials.jl:690
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1538 [inlined]
jl_f__apply at /buildworker/worker/package_linux64/build/src/builtins.c:563
_pyjlwrap_call at /home/jmg/.julia/packages/PyCall/uX707/src/callback.jl:28
unknown function (ip: 0x7fcb18179384)
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
pyjlwrap_call at /home/jmg/.julia/packages/PyCall/uX707/src/callback.jl:49
unknown function (ip: 0x7fcb18142884)
_PyObject_FastCallDict at /home/jmg/.julia/packages/Conda/m7vem/deps/usr/lib/libpython3.6m.so (unknown line)
call_function at /home/jmg/.julia/packages/Conda/m7vem/deps/usr/lib/libpython3.6
and more...
I get this segmentation fault on Linux (Ubuntu) when using the combination of PyPlot v2.6.0 and PyCall v1.18.1. If I downgrade PyCall to v1.18.0 everything seems to work fine.
My code:
Start of the error: