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

[BUG] Intermittent SIGBUS (exit 135) in MTP test hosts on Linux with dynamic instrumentation (dotnet-coverage 18.11.2)

Đang mở
#253 0 bình luận 1 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
45/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ệ
csharp
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start by comparing the dynamic-instrumentation repro with the static and no-coverage modes described in the issue, then review related issues #249, #232, and #238 for context. Reproduce the parallel MTP test-host startup on Linux using the listed .NET and dotnet-coverage versions; done means identifying and fixing the cause so dynamic coverage no longer produces SIGBUS or zero-test runs.

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

Mô tả

  • Linux: MTP test hosts intermittently die at startup with SIGBUS (exit 135) under dotnet-coverage collect with default dynamic instrumentation; dotnet test reports Zero tests ran, module varies
  • Static instrumentation (EnableDynamicManagedInstrumentation=false, EnableStaticManagedInstrumentation=true, --include-files) or no coverage: no crashes
  • Env: GitHub Actions ubuntu-24.04 (8 vCPU), .NET 10.0.12 (also seen on 10.0.11), dotnet-coverage 18.11.2, TUnit 1.70.1 / MTP 2.4.1, --report-trx
  • Repro: 8 MTP test apps started in parallel under one dotnet-coverage collect session, 40 iterations (320 host starts) per mode
Mode Exit 135 Exit 7 (zero tests)
No coverage 0 0
Dynamic (default) 6 10
Static 0 0

Linux counterpart of #249 (this is the isolation run suggested there); possibly related to #232 / #238.

Ngôn ngữ chính
C#
Star
125
Fork
17
Merge trung bình
1 giờ 15 phút
Pull request đã merge (30 ngày)
2

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 microsoft/codecoverage

Tất cả issue của microsoft/codecoverage

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.