Comments (3)
Seems like this is a problem in Julia natively on ARM/MacOS. I can reproduce the segfault with
using Pkg; Pkg.activate(temp=true)
Pkg.add("GLMakie")
using GLMakie
plot([1,2,3])
but only in native Julia. Works fine in Julia-1.7rc1 under rosetta.
EDIT: Oh i just realized the segfault looks slightly differnet for this MWE
signal (11): Segmentation fault: 11
in expression starting at none:0
ntuple at ./ntuple.jl:0 [inlined]
uniform_name_type at /Users/hw/.julia/packages/GLMakie/TViqo/src/GLAbstraction/GLUniforms.jl:139
compile_program at /Users/hw/.julia/packages/GLMakie/TViqo/src/GLAbstraction/GLShader.jl:190
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
#63 at /Users/hw/.julia/packages/GLMakie/TViqo/src/GLAbstraction/GLShader.jl:247
get! at ./dict.jl:464
unknown function (ip: 0x117c71c6b)
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
gl_convert at /Users/hw/.julia/packages/GLMakie/TViqo/src/GLAbstraction/GLShader.jl:239
RenderObject at /Users/hw/.julia/packages/GLMakie/TViqo/src/GLAbstraction/GLTypes.jl:341
RenderObject at /Users/hw/.julia/packages/GLMakie/TViqo/src/GLAbstraction/GLTypes.jl:309 [inlined]
fxaa_postprocessor at /Users/hw/.julia/packages/GLMakie/TViqo/src/postprocessing.jl:191
#Screen#48 at /Users/hw/.julia/packages/GLMakie/TViqo/src/screen.jl:357
Screen at /Users/hw/.julia/packages/GLMakie/TViqo/src/screen.jl:301 [inlined]
global_gl_screen at /Users/hw/.julia/packages/GLMakie/TViqo/src/screen.jl:247 [inlined]
global_gl_screen at /Users/hw/.julia/packages/GLMakie/TViqo/src/screen.jl:394
global_gl_screen at /Users/hw/.julia/packages/GLMakie/TViqo/src/screen.jl:393 [inlined]
backend_display at /Users/hw/.julia/packages/GLMakie/TViqo/src/display.jl:2 [inlined]
#display#903 at /Users/hw/.julia/packages/Makie/PFSZS/src/display.jl:60
display at /Users/hw/.julia/packages/Makie/PFSZS/src/display.jl:56 [inlined]
#display#902 at /Users/hw/.julia/packages/Makie/PFSZS/src/display.jl:52 [inlined]
display at /Users/hw/.julia/packages/Makie/PFSZS/src/display.jl:52 [inlined]
#display#901 at /Users/hw/.julia/packages/Makie/PFSZS/src/display.jl:51 [inlined]
display at /Users/hw/.julia/packages/Makie/PFSZS/src/display.jl:51
unknown function (ip: 0x117c41e9f)
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
jl_apply at /Users/hw/bin/julia/src/./julia.h:1790 [inlined]
jl_f__call_latest at /Users/hw/bin/julia/src/builtins.c:757
print_response at /Users/hw/bin/julia/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:0
#45 at /Users/hw/bin/julia/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:275
jfptr_YY.45_47447 at /Users/hw/bin/julia/usr/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
with_repl_linfo at /Users/hw/bin/julia/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:508
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
print_response at /Users/hw/bin/julia/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:273
do_respond at /Users/hw/bin/julia/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:844
unknown function (ip: 0x117a828cf)
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
jl_apply at /Users/hw/bin/julia/src/./julia.h:1790 [inlined]
jl_f__call_latest at /Users/hw/bin/julia/src/builtins.c:757
#invokelatest#2 at ./essentials.jl:716 [inlined]
invokelatest at ./essentials.jl:714 [inlined]
run_interface at /Users/hw/bin/julia/usr/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:2493
jfptr_run_interface_46167 at /Users/hw/bin/julia/usr/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
run_frontend at /Users/hw/bin/julia/usr/share/julia/stdlib/v1.7/REPL/src/REPL.jl:1230
#49 at ./task.jl:411
jfptr_YY.49_47452 at /Users/hw/bin/julia/usr/lib/julia/sys.dylib (unknown line)
_jl_invoke at /Users/hw/bin/julia/src/gf.c:0 [inlined]
jl_apply_generic at /Users/hw/bin/julia/src/gf.c:2427
jl_apply at /Users/hw/bin/julia/src/./julia.h:1790 [inlined]
start_task at /Users/hw/bin/julia/src/task.c:881
Allocations: 146437108 (Pool: 146403706; Big: 33402); GC: 91
from graphmakie.jl.
The above ntuple
issue is sort of well known about JuliaLang/julia#41440
I think mine may be different though, since I don't see ntuple in my trace.
from graphmakie.jl.
fixed on Julia master
from graphmakie.jl.
Related Issues (20)
- curve_distance & curve_distance_usage observable not updating figure
- Precompilation stuck on Julia 1.9 HOT 6
- handle overlapping `nlabels` HOT 6
- node_color and node_marker only accept Symbol HOT 5
- Performant graph plotting and benchmarking HOT 4
- Element-wise `automatic` configuration HOT 1
- Deleting a plot doesn't remove all listeners HOT 2
- Mixing directed and undirected edges HOT 2
- Add padding around graphplot to accommodate node size. HOT 2
- `node_attr` broken using Makie v0.19.11 HOT 1
- Slow start HOT 2
- Setting node size with ilabel
- Improve Reftests HOT 1
- provide convenience function for MetaGraphsNext HOT 7
- KeyError: key :textsize not found when running doc examples HOT 2
- UndefVarError: `mouse_selection` not defined HOT 5
- arrow_shift = :end works poorly with larger edge width HOT 6
- bounding box cuts off nodes HOT 3
- `pick` one `LineSegments` returns odd index HOT 2
- Dynamic Layout + Interaction. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphmakie.jl.