You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PInvokeUnhandled test fails in runtime-interpreter (def 316) on Windows under CoreCLR interpreter mode. When the unhandled exception path triggers a stack walk, the StackFrameIterator encounters a frame where the internal consistency check (GetRegdisplaySP(m_crawl.pRD) == (TADDR)pICF->GetCallSiteSP()) || (GetFP(m_crawl.pRD->pCurrentContext) == pICF->GetCalleeSavedFP()) fails. This is an interpreter-mode stack-walker incompatibility when handling unhandled exceptions via P/Invoke.
Affected pipelines:
runtime-interpreter (def 316): windows x64 Checked, windows arm64 Checked
Confirmed in builds: 1434343 (2026-05-25), 1431519 (2026-05-22), 1428137 (2026-05-20) — persistent across the entire scanned window (10 consecutive failures).
Related KBE: dotnet#127899 (similar interpreter stack-walk issue with m_crawl.GetCodeInfo()->IsValid() assertion in stackoverflow handling).
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1434343
Build error leg or test failing: windows x64 Checked interpreter - baseservices/exceptions/UnhandledExceptionHandler/PInvoke/PInvokeUnhandled/PInvokeUnhandled.cmd
Error Details
The
PInvokeUnhandledtest fails inruntime-interpreter(def 316) on Windows under CoreCLR interpreter mode. When the unhandled exception path triggers a stack walk, theStackFrameIteratorencounters a frame where the internal consistency check(GetRegdisplaySP(m_crawl.pRD) == (TADDR)pICF->GetCallSiteSP()) || (GetFP(m_crawl.pRD->pCurrentContext) == pICF->GetCalleeSavedFP())fails. This is an interpreter-mode stack-walker incompatibility when handling unhandled exceptions via P/Invoke.Affected pipelines:
Related KBE: dotnet#127899 (similar interpreter stack-walk issue with
m_crawl.GetCodeInfo()->IsValid()assertion in stackoverflow handling).Error Message
{ "ErrorMessage": ["PInvokeUnhandled", "Consistency check failed", "GetRegdisplaySP(m_crawl.pRD) == (TADDR)pICF->GetCallSiteSP()"], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }First build it occurred
Note
This issue was generated by the CI Outer-Loop Failure Scanner.
Note
🔒 Integrity filter blocked 1 item
The following item was blocked because it doesn't meet the GitHub integrity level.
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: