Skip to content

[ci-scan] Known Build Error: NativeAOT MethodTable::Validate assertion failure in System.Threading.Tasks.Parallel.Tests #128060

@github-actions

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1415421
Build error leg or test failing: linux-x64 Release NativeAOT_Checked_Libs_SizeOpt - System.Threading.Tasks.Parallel.Tests

Error Message

{
  "ErrorMessage": "MethodTable::Validate check failed",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Reasoning

System.Threading.Tasks.Parallel.Tests crashes with a native debug assertion MethodTable::Validate check failed (SIGABRT, exit code 134) when running under NativeAOT on linux-x64. The assertion fires in src/coreclr/nativeaot/Runtime/MethodTable.cpp:83. This is a NativeAOT runtime product bug, not a test issue.

Impact on platforms

  • runtime-nativeaot-outerloop (def 265) · linux-x64 Release NativeAOT_Checked_Libs_SizeOpt · Debian.13.Amd64.Open · exit code 134 (SIGABRT)
  • runtime-nativeaot-outerloop (def 265) · windows-x86 Release NativeAOT_Libs · exit code failure (same test)

Errors log

Debug Assertion Violation

Message: MethodTable::Validate check failed

Expression: 'ASSERT_UNCONDITIONALLY'

File: /__w/1/s/src/coreclr/nativeaot/Runtime/MethodTable.cpp, Line: 83

DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: ./createdump
./RunTests.sh: line 173:    18 Aborted                 (core dumped) ./System.Threading.Tasks.Parallel.Tests -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing -xml testResults.xml
exit code 134 means SIGABRT Abort.

First build it occurred

First seen in build 1414978 (2026-05-10) within the scanned window. Also present in build 1415421 (2026-05-11). 2 occurrences in the scanned window. This is within the scanned window and may not be the true origin.

Recommended action

This is a NativeAOT runtime bug in MethodTable validation. The crash occurs early in test execution (before any test results are produced), suggesting the issue may be in type initialization or GC scanning of MethodTable structures. Investigation should focus on src/coreclr/nativeaot/Runtime/MethodTable.cpp and recent changes to type layout or GC interaction in the NativeAOT runtime. cc @MichalStrehovsky @dotnet/ilc-contrib

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • dotnet.github.io

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "dotnet.github.io"

See Network Configuration for more information.

Note

🔒 Integrity filter blocked 4 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #116358 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #86273 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #125436 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #128019 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 56.5M ·

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1415421
Error message validated: [MethodTable::Validate check failed]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/12/2026 11:31:54 AM UTC

Report

Build Definition Test Pull Request
1417036 dotnet/runtime System.Threading.Tasks.Parallel.Tests.WorkItemExecution
1415421 dotnet/runtime System.Threading.Tasks.Parallel.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 2 2

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1415421
Error message validated: [MethodTable::Validate check failed]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/12/2026 11:31:54 AM UTC

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions