GLMakie.jl crashed when building the scene

When I just imported the package and built a scene on my manjaro machine, crash occured(segfault):

julia> using Makie

julia> scene = Scene()

signal (11): 段错误
in expression starting at none:0
_ZN4llvm16TargetPassConfig7addPassEPNS_4PassEbb at /usr/lib/libLLVM-10.so (unknown line)
unknown function (ip: 0x22)
Allocations: 68353624 (Pool: 68336181; Big: 17443); GC: 64
[1]    11725 segmentation fault (core dumped)  julia

And here’s my versioninfo

julia> versioninfo()
Julia Version 1.5.2
Commit 539f3ce943 (2020-09-23 23:17 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 4
  JULIA_PKG_SERVER = https://mirrors.sjtug.sjtu.edu.cn/julia

And openGL version:

❯ glxinfo -B                                                                               
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 10.0.1, 256 bits) (0xffffffff)
    Version: 20.2.1
    Accelerated: no
    Video memory: 7838MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 10.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.2.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 20.2.1
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

This is because the system llvm used by graphics driver is clashing with julia`s llvm. I do not know if there is a fix for that.

1 Like