Repository navigation
[ci-scan] Test failure: System.IO.Hashing Crc64 InitializeVectorized stripped from ReadyToRun image on iOS simulator #130570
Description
Activity
- addedblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tab
on Jul 12, 2026 - addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Jul 12, 2026 github-actions commented
on Jul 12, 2026 on Jul 12, 2026 – with GitHub ActionsContributorAuthorMore actionsCaution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #130570Note
AI/Copilot-generated triage note (
ci-failure-fix). No automated code change was produced: this is a crossgen2 / ReadyToRun IL-body-stripping product bug on the mobile R2R path, well outside small-fix bounds, so I am looping in owners rather than muting the test.Root cause (read-only analysis)
On the iOS-simulator
AllSubsets_CoreCLR(ReadyToRun / crossgen2 mobile) leg,System.IO.Hashing.Testscrashes the whole app at startup:Fatal error. A method body required at runtime was stripped from the ReadyToRun image. at System.IO.Hashing.Crc64ParameterSet+ForwardCrc64.InitializeVectorized(Boolean ByRef) at System.IO.Hashing.Tests.Crc64WEDriver.get_ParameterSet()The diagnostic
A method body required at runtime was stripped from the ReadyToRun imageis exactly the failure mode of crossgen2 IL-body stripping (--strip-il-bodies): the IL body ofCrc64ParameterSet+ForwardCrc64.InitializeVectorizedwas removed from the R2R image on the assumption it was fully precompiled to native, but at runtime that native body is not present (the method is reached and its body is required).InitializeVectorizedis a hardware-intrinsics vectorized path; on the mobile crossgen2 target the intrinsic path is likely not R2R-compiled (or is deferred to a runtime code path), yet its IL was still stripped, leaving no usable body and aborting the process.This is a crossgen2/R2R compiler+stripping consistency bug (a body that is not native-compiled for the target must not have its IL stripped), not a test defect and not a hashing-library bug. It reproduces on both the source build (finished 2026-07-10T09:02Z) and follow-up 1504386 (2026-07-11T09:01Z).
Evidence
- Failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1502636 ; follow-up 1504386.
- Stripped method:
System.IO.Hashing.Crc64ParameterSet+ForwardCrc64.InitializeVectorized(Boolean ByRef). - Failure mode: crossgen2 IL-body stripping removed a body still required at runtime on the mobile R2R target.
Suggested reviewers / area contacts
- Area owners (
area-CodeGen-coreclr, crossgen2 / R2R IL-body stripping):@JulieLeeMSFT,@dotnet/jit-contrib.
A fix would likely make crossgen2's IL-body stripping conservative for methods whose native code is not emitted for the target (e.g. intrinsic/vectorized paths on mobile), so their IL bodies are retained and available at runtime.
Generated by CI Outer-Loop Failure Fixer · 299.1 AIC · ⊞ 18K · ◷
dotnet-policy-service commented
on Jul 14, 2026 ContributorMore actionsTagging subscribers to this area: @dotnet/area-system-io-hashing, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.dotnet-policy-service commented
on Jul 15, 2026 ContributorMore actionsTagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.- addedarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIand removed
on Jul 15, 2026 dotnet-policy-service commented
on Jul 15, 2026 ContributorMore actionsTagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.I've moved this issue to codegen area as the managed implementation was not changed in the last few months (#124832) and based on #130570 (comment) it seems to be related to R2R
@tannergooding, PTAL.
- removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Jul 15, 2026 Should be fixed in #124860
Should be fixed in #124860
[Edit] I don't see a failure since 7/13 after the PR is merged. Closing as fixed.
- Reacted by Milos Kotlar
- locked and limited conversation to collaborators
on Aug 29, 2026
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
The threat detection results could not be parsed.
Review the workflow run logs for details.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1502636
Build error leg or test failing: iossimulator Release AllSubsets_CoreCLR - System.IO.Hashing.Tests
In the
runtime-extra-platformspipeline (definition 154), theSystem.IO.Hashing.Testswork item crashes on the iOS simulator (ReadyToRun / crossgen2 mobile leg) with a fatal error: a method body required at runtime —System.IO.Hashing.Crc64ParameterSet+ForwardCrc64.InitializeVectorized— was stripped from the ReadyToRun image. The crash aborts the whole test app (APP_CRASH, exitCode 80).This reproduces in both the source build (finished 2026-07-10T09:02Z) and the follow-up build 1504386 (finished 2026-07-11T09:01Z), so it is a stable signature.
Error Details
Error Message
{ "ErrorMessage": [ "A method body required at runtime was stripped from the ReadyToRun image.", "at System.IO.Hashing.Crc64ParameterSet+ForwardCrc64.InitializeVectorized(Boolean ByRef)" ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Filed by
ci-failure-scan(detection only).ci-failure-fixwalks open[ci-scan]KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.Note
This issue was generated by an AI/Copilot CI triage workflow.
Report
Summary