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

Crash when using Immerse and PyPlot #60

Open
mfalt opened this issue Mar 9, 2016 · 3 comments
Open

Crash when using Immerse and PyPlot #60

mfalt opened this issue Mar 9, 2016 · 3 comments

Comments

@mfalt
Copy link

mfalt commented Mar 9, 2016

Julia crashes when using PyPlot with Immerse, PyPlot however seems to work fine with for example Gadfly. I'm running Julia v0.4.2. (I updated julia to 0.4.4 and all the packages, and problem persists). Minimum example:

import PyPlot
import Immerse
Immerse.plot(y=1:10)

The same problem occurs with using. I get the following trace

/work/mattiasf/julia/julia: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenType

I have also experience the following error

GLib:ERROR:gmain.c:3078:g_main_dispatch: assertion failed: (source)

signal (6): Aborted
gsignal at /lib64/libc.so.6 (unknown line)
abort at /lib64/libc.so.6 (unknown line)
g_assertion_message at /lib64/libglib-2.0.so.0 (unknown line)
g_assertion_message_expr at /lib64/libglib-2.0.so.0 (unknown line)
g_main_context_dispatch at /lib64/libglib-2.0.so.0 (unknown line)
unknown function (ip: 0x7f6aae542e20)
g_main_loop_run at /lib64/libglib-2.0.so.0 (unknown line)
gtk_main at /lib64/libgtk-3.so (unknown line)
anonymous at /local/home/mattiasf/.julia/v0.4/Gtk/src/events.jl:2
g_sigatom at /local/home/mattiasf/.julia/v0.4/Gtk/src/GLib/signals.jl:168
gtk_main at /local/home/mattiasf/.julia/v0.4/Gtk/src/events.jl:1
jlcall_gtk_main_22812 at  (unknown line)
jl_apply_generic at /work/mattiasf/julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x7f6cdca7c944)
unknown function (ip: (nil))
Aborted (core dumped)
@mfalt mfalt changed the title Crash when using Plots and PyPlot Crash when using Immerse and PyPlot Mar 9, 2016
@tbreloff
Copy link
Member

tbreloff commented Mar 9, 2016

I'm pretty sure this is a problem far out of the control of either Immerse or PyPlot. It's what happens when you have multiple monolithic gui frameworks messing with program memory. Just out of curiosity... What backend is PyPlot using? (PyPlot.backend) Immerse is using Gtk.

On Mar 9, 2016, at 7:58 AM, Mattias Fält [email protected] wrote:

Julia crashes when using PyPlot with Immerse, PyPlot however seems to work fine with for example Gadfly. I'm running Julia v0.4.2. Minimum example:

import PyPlot
import Immerse
Immerse.plot(y=1:10)
The same problem occurs with using. I get the following trace

/work/mattiasf/julia/julia: symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenType
I have also experience the following error

GLib:ERROR:gmain.c:3078:g_main_dispatch: assertion failed: (source)

signal (6): Aborted
gsignal at /lib64/libc.so.6 (unknown line)
abort at /lib64/libc.so.6 (unknown line)
g_assertion_message at /lib64/libglib-2.0.so.0 (unknown line)
g_assertion_message_expr at /lib64/libglib-2.0.so.0 (unknown line)
g_main_context_dispatch at /lib64/libglib-2.0.so.0 (unknown line)
unknown function (ip: 0x7f6aae542e20)
g_main_loop_run at /lib64/libglib-2.0.so.0 (unknown line)
gtk_main at /lib64/libgtk-3.so (unknown line)
anonymous at /local/home/mattiasf/.julia/v0.4/Gtk/src/events.jl:2
g_sigatom at /local/home/mattiasf/.julia/v0.4/Gtk/src/GLib/signals.jl:168
gtk_main at /local/home/mattiasf/.julia/v0.4/Gtk/src/events.jl:1
jlcall_gtk_main_22812 at (unknown line)
jl_apply_generic at /work/mattiasf/julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x7f6cdca7c944)
unknown function (ip: (nil))
Aborted (core dumped)

Reply to this email directly or view it on GitHub.

@mfalt
Copy link
Author

mfalt commented Mar 9, 2016

It says

julia> PyPlot.backend
"qt4agg"

@bjarthur
Copy link
Member

the Immerse README clearly states support for Gadfly, and has no mention of PyPlot.

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