Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyCall together with ImageView crashes #865

Open
roflmaostc opened this issue Nov 18, 2020 · 2 comments
Open

PyCall together with ImageView crashes #865

roflmaostc opened this issue Nov 18, 2020 · 2 comments

Comments

@roflmaostc
Copy link

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

@petvana
Copy link

petvana commented Nov 11, 2021

Xrefs
JuliaLang/julia#42896
#942

@nlw0
Copy link

nlw0 commented Dec 17, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants