System.Xml.CharCheckingReaderTests.CharCheckingReaderTest fails with OutOfMemoryException

Đang mở
#136,776 2 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
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, xml
Lĩnh vực
testing

Hướng nghiên cứu

The failing test is System.Xml.CharCheckingReaderTests.CharCheckingReaderTest.RunTests with the testCase 'ReadBinHex runs into an Overflow' in the System.Private.Xml.Tests project. Start by reading that test case to see how it builds its large input, then check the Helix log in the linked build to confirm the OutOfMemoryException. The issue does not say what to change, so first ask the maintainers whether the fix should reduce memory use or adjust the test. Done means the test passes reliably under parallel execution.

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

Mô tả

area-System.Xml blocking-clean-ci Known Build Error untriaged
  Starting:    System.Private.Xml.Tests (parallel test collections = on [4 threads], stop on fail = off)
    System.Xml.CharCheckingReaderTests.CharCheckingReaderTest.RunTests(testCase: ReadBinHex runs into an Overflow) [FAIL]
      System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown.
    System.Xml.CharCheckingReaderTests.CharCheckingReaderTest.RunTests(testCase: ReadBinHex runs into an Overflow) [FAIL]
      System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown.
  Finished:    System.Private.Xml.Tests

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1657668
Build error leg or test failing: System.Xml.CharCheckingReaderTests.CharCheckingReaderTest.RunTests
Pull request: https://github.com/dotnet/runtime/pull/136699

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["System.Xml.CharCheckingReaderTests.CharCheckingReaderTest.RunTests(testCase: ReadBinHex runs into an Overflow) [FAIL]","OutOfMemoryException"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657668
Error message validated: [System.Xml.CharCheckingReaderTests.CharCheckingReaderTest.RunTests(testCase: ReadBinHex runs into an Overflow) [FAIL] OutOfMemoryException]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/1/2026 3:37:17 AM UTC

Report
Build Repository Test Pull Request
1657668 dotnet/runtime System.Xml.CharCheckingReaderTests.CharCheckingReaderTest.RunTests dotnet/runtime#136699
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 1
Ngôn ngữ chính
C#
Star
18.4k
Fork
5.8k
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
579

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.

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/runtime

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

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.