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

PyPlot and ImageView #86

Closed
Lightjohn opened this issue Oct 5, 2015 · 5 comments
Closed

PyPlot and ImageView #86

Lightjohn opened this issue Oct 5, 2015 · 5 comments

Comments

@Lightjohn
Copy link

Hello, I don't know if it's a known bug, but I could reproduce it on three linux mint 17.2 and julia 0.3.11.

using PyPlot
matshow(rand(10, 10))  //Everything is good
using ImageView
matshow(rand(10, 10))  //Will crash with following message:

The crash error message is (it kills julia):

Fatal Python error: PyEval_RestoreThread: NULL tstate

signal (6): Abandon
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: -1235177474)
PyEval_RestoreThread at /usr/lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
unknown function (ip: -1281970477)
TclInvokeStringCommand at /usr/lib/x86_64-linux-gnu/libtcl8.6.so (unknown line)
TclNRRunCallbacks at /usr/lib/x86_64-linux-gnu/libtcl8.6.so (unknown line)
unknown function (ip: -1095393792)
TclServiceIdle at /usr/lib/x86_64-linux-gnu/libtcl8.6.so (unknown line)
Tcl_DoOneEvent at /usr/lib/x86_64-linux-gnu/libtcl8.6.so (unknown line)
tcl_doevent at /home/light/.julia/v0.3/Tk/src/tkwidget.jl:20
tcl_doevent at /home/light/.julia/v0.3/Tk/src/tkwidget.jl:20
jlcall_tcl_doevent_21657 at  (unknown line)
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
anonymous at task.jl:73
jl_handle_stack_switch at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
julia_trampoline at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 4199613)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 4199667)
unknown function (ip: 0)
[1]    14168 abort      julia

And just the fact to include ImageView is enough !

Do you have an idea ?

@timholy
Copy link
Member

timholy commented Oct 5, 2015

It's probably a Tk-related bug. I'm partway through a rewrite of ImageView based on Gtk, but it's not ready yet.

@giordano
Copy link

I've also been hit by this bug (but I can live with it). Any progress on the work with Gtk?

@timholy
Copy link
Member

timholy commented Aug 31, 2016

I'm completely overwhelmed with JuliaImages/Images.jl#542, which is a predecessor to the ImageView rewrite. Significant progress announced yesterday: JuliaImages/ImageFiltering.jl#5.

@giordano
Copy link

That's fine. As I said, I can live with this problem, no rush ;-)

@timholy
Copy link
Member

timholy commented Aug 28, 2017

Does not crash for me with current ImageView.

@timholy timholy closed this as completed Aug 28, 2017
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