PyCall.jl
PyCall.jl copied to clipboard
PyCall together with ImageView crashes
Hey,
I encountered the following crash:
julia> begin
using ImageView
using PyCall
end
julia> begin
pygui_start(:qt5)
qapp_obj = pyimport("qtpy.QtWidgets").QApplication([""])
end
signal (11): Segmentation fault
in expression starting at none:0
unknown function (ip: 0x7f8adcc04bce)
pydecref_ at /home/fxw/.julia/packages/PyCall/BcTLp/src/PyCall.jl:118
pydecref at /home/fxw/.julia/packages/PyCall/BcTLp/src/PyCall.jl:123
unknown function (ip: 0x7f8b2eadb0e4)
unknown function (ip: 0x7f8b2eadbcf1)
unknown function (ip: 0x7f8b2eadc052)
jl_gc_enable_finalizers at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f8b2eb1405a)
unknown function (ip: 0x7f8b2ea948ef)
jl_apply_generic at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f8b2eaa23e4)
jl_f__apply_latest at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f8b1d835054)
print_response at /build/julia/src/julia-1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:223
unknown function (ip: 0x7f8add2c7f15)
do_respond at /build/julia/src/julia-1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:822
unknown function (ip: 0x7f8add2be980)
unknown function (ip: 0x7f8b2eaa23e4)
jl_f__apply_latest at /usr/bin/../lib/libjulia.so.1 (unknown line)
unknown function (ip: 0x7f8b1d88cbb2)
unknown function (ip: 0x7f8b1d88d01c)
unknown function (ip: 0x7f8b1d8937fc)
unknown function (ip: 0x7f8b1d89394f)
unknown function (ip: 0x7f8b1d893965)
unknown function (ip: 0x7f8b2eab0589)
unknown function (ip: (nil))
Allocations: 44020164 (Pool: 44009379; Big: 10785); GC: 43
[1] 137527 segmentation fault (core dumped) julia
I'm using Julia 1.5.3 on Arch Linux with PyCall v1.92.1 and ImageView v0.10.12.
Any ideas what's going on?
Thanks,
Felix
Xrefs JuliaLang/julia#42896 #942
The two packages I use the most!... I have noticed that for me I may get an error loading ImageView after pyplot, but if I load ImageView before it seems to be fine?