Skip to content

[ci-scan] Skip PInvokeUnhandled under interpreter (refs #128899)#128930

Draft
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/disable-pinvokeunhandled-interpreter-0cd2ee19fae76282
Draft

[ci-scan] Skip PInvokeUnhandled under interpreter (refs #128899)#128930
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/disable-pinvokeunhandled-interpreter-0cd2ee19fae76282

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 3, 2026

Reasoning

The PInvokeUnhandled test consistently hits a native assert (GetRegdisplaySP(m_crawl.pRD) == (TADDR)pICF->GetCallSiteSP()) in the runtime-interpreter pipeline (definition 316). This is a consistency check in the stack walker that fires when running under the interpreter because the interpreter's frame layout differs from JIT-compiled code. Marking the test InterpreterIncompatible is the correct fix as the test exercises P/Invoke exception handling which is not compatible with the interpreter's stack frame representation.

Linked KBE: #128899

Match verification (from Step 4.8):

  1. Same test/family: yes — PInvokeUnhandled in baseservices/exceptions
  2. Same failure signature: yes — GetRegdisplaySP consistency assert
  3. Same OS: yes — windows
  4. Same architecture: yes — x64

Impact on platforms

  • runtime-interpreter (def 316) windows-x64 checked, exit code -1073740286 (STATUS_FAIL_FAST_EXCEPTION)

Errors log

Assert failure: Consistency check failed:
FAILED: (GetRegdisplaySP(m_crawl.pRD) == (TADDR)pICF->GetCallSiteSP()) || (GetFP(m_crawl.pRD->pCurrentContext) == pICF->GetCalleeSavedFP())
Failed test: baseservices/exceptions/UnhandledExceptionHandler/PInvoke/PInvokeUnhandled/PInvokeUnhandled.cmd
Expected: 100
Actual: -1073740286

First build it occurred

Linked issue


Filed by ci-failure-scan, which scans dnceng-public outer-loop pipelines on main and converts stable failures into KBEs and test-disable PRs.

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

The PInvokeUnhandled test consistently hits a native assert
(GetRegdisplaySP consistency check) in the runtime-interpreter pipeline.
Mark it InterpreterIncompatible to unblock CI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants