Open jmxpearson opened 9 years ago
Btw, this is now fixed on my mac for Julia 4.1 and PyPlot, PyCall, and IJulia on master.
Oh, great....I guess. Maybe it was a bug in Julia? It's a little disturbing that we never figured out the source of the error.
Please re-open if the problem re-appears.
I think some of the GC bug fixes probably took care of it. Works on my Linux machine as well.
I am running into the same problem on Julia v0.4.0 so if for op the problem is gone with 0.4.1 then there was a regression there.
I'm seeing this issue too, running Julia 0.4.5 in Arch Linux.
Can you try Pkg.checkout("PyCall"); Pkg.build("PyCall")
to see if the latest master
of PyCall fixes the problem?
This seems to fix it. I could call matshow
hundreds of times without an issue. If I revert to PyCall 1.4.0 it crashes again almost immediately.
Great! I'm planning to tag a new PyCall version pretty soon, so at that point we can close this again.
Systems: Ubuntu 14.10 and OSX Libs: IJulia, PyCall, PyPlot all even with master
works from the Julia REPL but segfaults intermittently in the notebook. That is to say, it sometimes works once on recompilation of cache files but fails thereafter.
Here's the error output:
Note that some other plots work just fine, and matshow works after some other plots. For instance
returns (in the notebook) the first plot, followed by
Putting the two plot calls in different cells works just fine.
Important: This error goes away if I remove the
finalizer
fromPyObject
, which is why I suspect it's gc-related. I've spent more time than I'd like to admit working on this, so I figured I report it.