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

Doesn't work on Julia 1.6 #149

Closed
PallHaraldsson opened this issue May 12, 2020 · 1 comment
Closed

Doesn't work on Julia 1.6 #149

PallHaraldsson opened this issue May 12, 2020 · 1 comment

Comments

@PallHaraldsson
Copy link

I submit here (first), as it may be a bug in this package (or dependencies) and/or Julia? Would you rather want it submitted at Julia (only)? For now only here.

With a minimally changed pidigits (from the Benchmark game), to run from the REPL, I get an error profiling it. I doubt it's about the program itself or julia options, as similar works in julia 1.5:

$ ~/julia-1.6.0-DEV-8f512f3f6d/bin/julia -O3 --cpu-target=core2 -p4

julia> @profview (GC.enable(false); pidigits(10000);GC.enable(true););
3141592653      :10
[..]
5525637567	:10000
ERROR: could not load symbol "jl_function_ptr":
/home/pharaldsson_sym/julia-1.6.0-DEV-8f512f3f6d/bin/../lib/libjulia.so.1: undefined symbol: jl_function_ptr
Stacktrace:
 [1] cfunction_(::Any, ::Any, ::Any) at /home/pharaldsson_sym/.julia/packages/Gtk/X3A4U/src/GLib/GLib.jl:35
 [2] cfunction_ at /home/pharaldsson_sym/.julia/packages/Gtk/X3A4U/src/GLib/GLib.jl:32 [inlined]
 [3] signal_connect_generic(::Function, ::Gtk.GtkCanvas, ::String, ::Type{Nothing}, ::Tuple{}, ::Bool, ::Gtk.GtkCanvas) at /home/pharaldsson_sym/.julia/packages/Gtk/X3A4U/src/GLib/signals.jl:11
 [4] signal_connect at /home/pharaldsson_sym/.julia/packages/Gtk/X3A4U/src/GLib/signals.jl:6 [inlined] (repeats 2 times)
 [5] Gtk.GtkCanvas(::Int64, ::Int64) at /home/pharaldsson_sym/.julia/packages/Gtk/X3A4U/src/cairo.jl:20
 [6] GtkReactive.Canvas{GtkReactive.UserUnit}(::Int64, ::Int64; own::Bool) at /home/pharaldsson_sym/.julia/packages/GtkReactive/lAPT0/src/graphics_interaction.jl:235
 [7] Canvas at /home/pharaldsson_sym/.julia/packages/GtkReactive/lAPT0/src/graphics_interaction.jl:235 [inlined]
 [8] canvas at /home/pharaldsson_sym/.julia/packages/GtkReactive/lAPT0/src/graphics_interaction.jl:259 [inlined] (repeats 2 times)
 [9] view(::FlameGraphs.FlameColors, ::LeftChildRightSiblingTrees.Node{FlameGraphs.NodeData}; data::Array{UInt64,1}, lidict::Dict{UInt64,Array{Base.StackTraces.StackFrame,1}}, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/pharaldsson_sym/.julia/packages/ProfileView/1t7it/src/ProfileView.jl:86
 [10] #view#2 at /home/pharaldsson_sym/.julia/packages/ProfileView/1t7it/src/ProfileView.jl:66 [inlined]
 [11] #view#5 at /home/pharaldsson_sym/.julia/packages/ProfileView/1t7it/src/ProfileView.jl:77 [inlined]
 [12] view() at /home/pharaldsson_sym/.julia/packages/ProfileView/1t7it/src/ProfileView.jl:76
 [13] top-level scope at /home/pharaldsson_sym/.julia/packages/ProfileView/1t7it/src/ProfileView.jl:32
@KristofferC
Copy link

Dup of JuliaGraphics/Gtk.jl#511.

@timholy timholy closed this as completed May 26, 2020
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