Giter VIP home page Giter VIP logo

Comments (3)

hexaeder avatar hexaeder commented on July 18, 2024

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.

anandijain avatar anandijain commented on July 18, 2024

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.

hexaeder avatar hexaeder commented on July 18, 2024

fixed on Julia master

from graphmakie.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.