[bug] Gerber file parsing failed, the software froze, and memory usage reached 100%.

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

Maintainer thường phản hồi trong vòng 1 ngày

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
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
backend

Hướng nghiên cứu

Start by extracting the uploaded Gerber samples and reproducing the import with default settings in KLayout v0.30.7 on Windows. Compare the two samples, including the .art file, and identify whether parsing causes the freeze and memory growth. Done means the files import without runaway memory use and the reported .art extension is supported or its limitation is clarified.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Gerber file parsing failed, the software froze, and memory usage reached 100%.

1.environment
klayout v0.30.7
windows 10 x64
The PC memory size is 48GB

2.read bailu-22sites drill2-3.gbr
Image

Image Image

All parameters are set to default values. Finally, click "Import".
The software may freeze, Windows memory usage may continuously increase, and Gerber files may fail to parse correctly.

3.I have uploaded the Gerber file; please unzip it.
https://github.com/libaineu2004/myepolltest/releases/download/Memory100percent/Memory100percent.rar

4.Additionally, klayout does not support Gerber files with the *.art extension. I have also uploaded a sample file here.
https://github.com/libaineu2004/myepolltest/releases/download/Memory100percent/art.rar

Ngôn ngữ chính
C++
Star
1.2k
Fork
305
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
11

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 KLayout/klayout

Tất cả issue của KLayout/klayout

Issue tương tự

Thêm issue về C++

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.