Skip to content

[ci-scan] Known Build Error: stackoverflowtester assert m_crawl.GetCodeInfo()->IsValid() in runtime-interpreter #127899

@github-actions

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1410560
Build error leg or test failing: windows x64 Checked-baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd

Error Message

{
  "ErrorMessage": "m_crawl.GetCodeInfo()->IsValid()",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

stackoverflowtester fails in runtime-interpreter (def 316) on Windows under CoreCLR interpreter mode. After a stack overflow is raised, the runtime walks the stack to unwind/report it; the StackFrameIterator encounters an interpreter frame whose CodeInfo is invalid, triggering the m_crawl.GetCodeInfo()->IsValid() assertion. This is an interpreter-mode stack-walker incompatibility when handling stack overflows.

Affected pipelines (2 confirmed failing builds):

  • runtime-interpreter (def 316): windows-x64 Checked and windows-arm64 Checked — builds 1410560, 1407440

Errors log:

Running stackoverflow test(smallframe main)
"Stack overflow."
"Assert failure(PID 6972 [0x00001b3c], Thread: 4060 [0x0fdc]): m_crawl.GetCodeInfo()->IsValid()"
"CORECLR! StackFrameIterator::NextRaw + 0x724"
"CORECLR! StackFrameIterator::Filter + 0xBB0"
"CORECLR! StackFrameIterator::Init + 0x258"
END EXECUTION - FAILED

First build it occurred: Build 1407440 (May 4, 2026) is the earliest in the scanned window. Occurrence count in window: 2.

Recommended action:

  • Owner: @dotnet/coreclr-interpreter (interpreter area)
  • Root cause: StackFrameIterator encounters an interpreter frame during stack overflow handling where the CodeInfo is null or invalid. The interpreter needs to ensure that frames it creates have valid CodeInfo, or the stack walker needs to handle null CodeInfo gracefully in the interpreter-frame case.
  • Investigate src/coreclr/vm/stackwalk.cpp and interpreter frame creation.
  • Short-term: add [SkipOnCoreClr("Stack overflow handling crashes under interpreter", RuntimeTestModes.InterpreterActive)] to the stackoverflowtester test once this KBE issue number is known.

Note

🤖 This issue was generated by the CI Outer-Loop Failure Scanner.

Note

🔒 Integrity filter blocked 1 item

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

  • #110173 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 · ● 16.2M ·

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=1410560
Error message validated: [m_crawl.GetCodeInfo()->IsValid()]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/7/2026 8:27:50 AM UTC

Report

Build Definition Test Pull Request
1410560 dotnet/runtime baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd

Summary

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

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1410560
Error message validated: [m_crawl.GetCodeInfo()->IsValid()]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/7/2026 8:27:50 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions