-
Notifications
You must be signed in to change notification settings - Fork 80
Gtk breaks parsing #69
Comments
I had/have similar problems with Gtk and Cairo with different julia versions, also with Ubuntu 12.04. But they were not repeatable, sometimes they vanish after a restart, sometimes after a reboot. |
I have not seen this (just tested a few times on Ubuntu 12.04). It might be worth trying to turn on |
I have also seen this and if I recall correctly did solve this by checking out master of Cairo. But I am not entirely sure |
@aelg Maybe you could test if |
Restart or reboot do not seem to help. Tried enabling
|
@tknopp Works when only using Cairo, also tried with the master branch of Cairo, no change.
|
but on Windows it works well julia> using Gtk julia> 1.0 |
Can you add a line |
I have the same issue on OSX 10.9, current Julia master and Gtk from macports.
|
what should be put above Since this might be more a Julia bug which is only triggered by Gtk.jl @JeffBezanson might be interested. |
I'm currently on vacation and can't access my computer. I'll try what @vtjnash suggested when I'll get back, a week from now. |
@tknopp Yes, |
Ok sorry, I just was confused by the warning that this function is not defined. I have not yet run this in valgrind but maybe the output when I enter julia> 1.0 |
could you post a gist with the remaining parts of that output (i'm also now on IRC)? |
@vtjnash: The output is already complete. The ... means that this line is repeated several times |
Ah OK. I realized that output doesn't help very much since it is not printing the source of the error -- sometime during |
I could also put the output of |
sure. It may be short enough I can work through it |
Its not short ;-) I prepare this. But aren't you also on OSX? Kind of strange that this only happens on some OSX computers |
yeah, i'm not sure why i don't see this. I found the error in the gist/valgrind, but I don't think it's related to the failure we see here |
This makes 2 of 3 OSX users having this bug... We need to increase our user base ;-) (I have to admit that I have done |
how do you install Gtk? which version? |
also, just to confirm, are you compiling from source or using the Julia binaries? this is looking suspiciously similar to JuliaLang/julia#5647 |
Gtk is from macports. Should be 3.10. Julia is compiled from source. I have also removed sys.dylib but this had no influence. |
That sounds very similar to my build. And you've configured it to use |
Yes plus +no_x11. Like on the homepage. And 64bit of course |
would you be willing to allow me to ssh to your machine, or can you run this in lldb with a breakpoint on |
I will try to get a callstack with lldb but if this does not help I can give you a remote login. As I am behind a router I have to figure out how to do that. We could also do a TeamViewer session which is dead simple. You are located at MIT right? This is -6 hours from Germany if I am right. |
thats a good thought -- any sort of VNC / gchat / screen share sounds good. I'm on EST time, but can generally only work in the evenings so we may need to wait for a weekend time to coordinate. |
Ok lets try one more round of debugging through me. My first try was to debug julia from startup. But The next thing I have tried was to attach after At frame 6 In between the symbols seem to be not loaded. I have done |
Maybe more interesting: At frame 19 he tries to execute a |
what is the expr at frame 25? |
This is with JuliaLang/julia:#5912 already applied to master (and fetched) |
if you keep going up the stack frames, can you provide the other |
at frame 28 |
One higher
|
Unfortunately I can't look into |
yes. those are different parts of the same call. perhaps restart and instead of putting the breakpoint on jl_throw, put it in jl_parse_string before executing 1.0 |
(actually, restart not needed, just continue) |
(and the function of interest is actually called jl_parse_input_line not jl_parse_string) |
424 // this is used to parse a line of repl input
|
I mean |
can you find me on IRC, I think it would be helpful to screen share |
I have the following strange thing happening on a newly opened julia repl
The text was updated successfully, but these errors were encountered: