[Known Build Error] PrintException_TaskExceptionChain missing source-line annotations on Windows ARM64

Đang mở
#6,190 0 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
49/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, csharp
Lĩnh vực
devtools, testing-qa

Hướng nghiên cứu

Start with the failing SOS.Tests.PrintExceptionTests.PrintException_TaskExceptionChain test and compare its expected source annotations with the Windows ARM64 build output. The issue links related bug #5909, but says the ARM64 failures have not been independently root-caused, so first determine whether the same cause applies. Done means the expected source-file and line annotations appear for the affected frames across the reported dump and debugger configurations.

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

Mô tả

Known Build Error

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1664616
Build error leg: Diagnostics Tests Helix win-arm64 Debug
Failing test: SOS.Tests.PrintExceptionTests.PrintException_TaskExceptionChain

Related bug: #5909 (!PrintException -lines drops source-line brackets for unwound exception stack frames in heap minidumps). The symptoms match; the ARM64 failures have not been independently root-caused.

Error Message

{
  "ErrorPattern": "expected: (output to contain \"RandomUserTask[.]cs @ 26\"|frame 'RandomTest[.]RandomUserTask[.]InnerException' to contain source annotation 'RandomUserTask[.]cs @ 38')",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Observed failures

On Windows ARM64, printexception -lines reports exception stack frames without the expected source-file/line annotation. Both CDB and dotnet-dump configurations fail.

.NET 9, Core / Dump / Workstation / Heap:

SOS assertion failed.
expected: output to contain "RandomUserTask.cs @ 26"

The RandomTest.RandomUserTask.<.ctor>b__2_0() frame is present, but its source annotation is missing.

.NET 10, Core / Dump / Workstation / Heap:

SOS assertion failed.
expected: frame 'RandomTest.RandomUserTask.InnerException' to contain source annotation 'RandomUserTask.cs @ 38'

The InnerException() frame is present without its source annotation; the following constructor-lambda frame still resolves to RandomUserTask.cs @ 22.

Independent reproductions

Build Branch / PR Observed failure
1664616 #6188, November 4, 2026 Both signatures: line 26 on .NET 9 and line 38 on .NET 10; CDB and dotnet-dump, Heap dumps.
1664227 main, November 4, 2026 Missing line 26 on .NET 9; CDB and dotnet-dump, Mini dumps.
1662417 #6010, November 3, 2026 Missing line 38 on .NET 9; CDB and dotnet-dump, Heap dumps.

Helix failure consoles:

These signatures predate #6188 and occur on unrelated changes. All eight GcInfo_ReportsEncoding cases passed in that PR's two failing work items.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1664616
Error message validated: [expected: (output to contain "RandomUserTask[.]cs @ 26"|frame 'RandomTest[.]RandomUserTask[.]InnerException' to contain source annotation 'RandomUserTask[.]cs @ 38')]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 11/4/2026 10:21:31 PM UTC

Report
Build Repository Test Pull Request
1676372 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution dotnet/diagnostics#6209
1676182 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution dotnet/diagnostics#6217
1674501 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution dotnet/diagnostics#6210
1673441 dotnet/diagnostics SOS_win-arm64_Release-Net9.WorkItemExecution
1673440 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution dotnet/diagnostics#6208
1671643 dotnet/diagnostics SOS_win-arm64_Release-Net9.WorkItemExecution
1669587 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution
1668259 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution dotnet/diagnostics#6197
1666821 dotnet/diagnostics SOS_win-arm64_Debug-Net10.WorkItemExecution
1666677 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution dotnet/diagnostics#6194
1664784 dotnet/diagnostics SOS_win-arm64_Release-Net9.WorkItemExecution
1664616 dotnet/diagnostics SOS_win-arm64_Debug-Net9.WorkItemExecution dotnet/diagnostics#6188
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 10 12
Ngôn ngữ chính
C++
Star
1.3k
Fork
407
Merge trung bình
21 giờ 5 phút
Pull request đã merge (30 ngày)
78

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 dotnet/diagnostics

Tất cả issue của dotnet/diagnostics

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.