gridap / gridap/Tutorials

Segmentation fault when loading mesh

Ouverte
#199 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
144
Forks
50
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the failure with models/elasticFlag.jl and the GmshDiscreteModel("models/elasticFlag.msh") call on the stated Julia and macOS environment. Inspect the loading path reached from line 5 and compare it with a clean environment; the issue is done when the mesh loads without a segmentation fault on the reported setup.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia
Domaine
data
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.