Segmentation fault when loading mesh
- Ngôn ngữ chính
- Julia
- Star
- 144
- Fork
- 50
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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)
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi với models/elasticFlag.jl và lệnh gọi GmshDiscreteModel("models/elasticFlag.msh") trong môi trường Julia và macOS đã nêu. Kiểm tra đường dẫn tải được tiếp cận từ dòng 5 và so sánh với một môi trường sạch; issue được hoàn tất khi mesh tải thành công mà không xảy ra segmentation fault trên thiết lập được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- julia
- Lĩnh vực
- data
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100