gridap / gridap/Tutorials

Segmentation fault when loading mesh

オープン
#199 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
144
フォーク
50
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia
領域
data
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。