Makie.jl
Makie.jl copied to clipboard
Segmentation fault
Hi, I'm afraid this isn't a terribly useful bug report since I'm not sure who's to blame (Me, GLMake, some other dependency, Julia itself) but every now and then I seem to run into segfaults like this:
signal (11): Segmentation fault
in expression starting at none:0
unknown function (ip: 0x7fa3a2021da2)
unknown function (ip: 0x7fa3a1cc874a)
unknown function (ip: 0x7fa3a1bbb5ec)
unknown function (ip: 0x7fa3a1bbbd1e)
unknown function (ip: 0x7fa3a1fe4da8)
unknown function (ip: 0x7fa3a1fe5927)
unknown function (ip: 0x7fa3a1bca4cf)
glDrawArrays at /home/tec/.julia/packages/ModernGL/BV4qY/src/functionloading.jl:64
render at /home/tec/.julia/packages/GLMakie/pGVtE/src/GLAbstraction/GLRender.jl:107
unknown function (ip: 0x7fa40c7f1fb8)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
StandardPostrender at /home/tec/.julia/packages/GLMakie/pGVtE/src/GLAbstraction/GLRenderObject.jl:77
unknown function (ip: 0x7fa40c7f0e9f)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
render at /home/tec/.julia/packages/GLMakie/pGVtE/src/GLAbstraction/GLRender.jl:75
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
render at /home/tec/.julia/packages/GLMakie/pGVtE/src/GLAbstraction/GLRender.jl:58
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
render at /home/tec/.julia/packages/GLMakie/pGVtE/src/rendering.jl:242
unknown function (ip: 0x7fa40d3e7859)
#render_frame#137 at /home/tec/.julia/packages/GLMakie/pGVtE/src/rendering.jl:177
render_frame at /home/tec/.julia/packages/GLMakie/pGVtE/src/rendering.jl:120 [inlined]
fps_renderloop at /home/tec/.julia/packages/GLMakie/pGVtE/src/rendering.jl:25
#renderloop#135 at /home/tec/.julia/packages/GLMakie/pGVtE/src/rendering.jl:46
renderloop at /home/tec/.julia/packages/GLMakie/pGVtE/src/rendering.jl:39
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
#126 at ./task.jl:423
unknown function (ip: 0x7fa40c7ea9af)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
start_task at /buildworker/worker/package_linux64/build/src/task.c:877
Allocations: 2719212909 (Pool: 2718379502; Big: 833407); GC: 783
[1] 15867 segmentation fault (core dumped) julia -J/home/tec/.local/lib/julia.so --project=@.
This issue is just to let you know, and in case you might have any thoughts/suggestions.
Which platform are you on? (Windows, Mac, etc)
I'm afraid this isn't a terribly useful bug report since I'm not sure who's to blame
You could at least try to give some context about what you've done before the segfault happened, to narrow things down. Also version of GLMakie etc would be nice!
Ah, sorry :sweat_smile: here's some more info:
This seems to occur when (rapidly, perhaps?) updating an observable via an IntervalSlider, which affects a whole set of plots (density, scatter, contour).
I'm using Makie 0.17.7 / GLMakie 0.6.7 on Linux.
Can you try pre [email protected]? E.g. 0.16? How reliable does it happen?
I'll see about trying 0.16 tomorrow. I can usually reproduce this with 5-10 minutes of fiddling with the plot.
Are you by chance on an ARM system? I experienced a similar error with Julia 1.7 on Mac m1. Also, what's your Julia version?
I'm on x86_64 with Julia 1.7.3.
If it helps, I could share the GLMakie widget that I've made triggering this issue, but I'd need to do so privately as it's to do with my work.
Offhand thought - have you tried using Julia 1.8? That fixed the bug on my end, might help some.
I have not, that should be released in the near future shouldn't it.