Skip to content

Segmentation fault when loading mesh #199

@macmyn

Description

@macmyn

Trying to run GmshDiscreteModel on a .msh files results in segmentation fault using

julia> VERSION
v"1.12.2"

and the Tutorials repo as cloned from the current repo. I have also tried ] update which results in the same error:

julia> include("models/elasticFlag.jl")
Info    : Reading 'models/elasticFlag.msh'...
Info    : 21 entities
Info    : 1199 nodes
Info    : 2447 elements
Info    : Done reading 'models/elasticFlag.msh'

[53623] signal 11 (1): Segmentation fault: 11
in expression starting at /Users/me/Tutorials/models/elasticFlag.jl:5
_platform_memmove$VARIANT$Haswell at /usr/lib/system/libsystem_platform.dylib (unknown line)
Allocations: 30061901 (Pool: 30057673; Big: 4228); GC: 19
zsh: segmentation fault  julia --project=.

I did have a combination of environments, packages which make this work (the GmshDiscreteModel("models/elasticFlag.msh") is the problem), but I have since lost that setup! Certainly, when using a clean installation of this repo and following the instructions here https://gridap.github.io/Tutorials/stable/, GmshDiscreteModel results in this error.

Any help much appreciated!

Thanks

Julia Version 1.12.2
Commit ca9b6662be4 (2025-11-20 16:25 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: macOS (x86_64-apple-darwin24.0.0)
  CPU: 8 × Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, icelake-client)
  GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions