Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Segmentation fault when loading mesh

Đang mở
#199 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
julia
Lĩnh vực
data

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.

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)

Ngôn ngữ chính
Julia
Star
145
Fork
50
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của gridap/Tutorials

Tất cả issue của gridap/Tutorials

Issue tương tự

Thêm issue về Julia

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.