Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1540423
Build error leg or test failing: tvos-arm64 Release AllSubsets_CoreCLR — System.Net.Security.Unit.Tests
- Azure DevOps job: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1540423&view=logs&j=fbbe6d24-ec94-5563-68e4-47df2fb4f886
- Helix console: https://helix.dot.net/api/2019-06-17/jobs/6da4a4f7-5d60-42f0-9059-9fefdf4d91da/workitems/System.Net.Security.Unit.Tests/console
Error Details
The tvOS CoreCLR test app crashes during runtime initialization, before test discovery. A generic Dictionary constructor needed by AppContext.Setup was stripped from the ReadyToRun image:
Fatal error.
A method body required at runtime was stripped from the ReadyToRun image.
at System.Collections.Generic.Dictionary`2[[System.__Canon, System.Private.CoreLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..ctor(Int32, System.Collections.Generic.IEqualityComparer`1<System.__Canon>)
at System.Collections.Generic.Dictionary`2[[System.__Canon, System.Private.CoreLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..ctor(Int32)
at System.AppContext.Setup(Char**, Char**, Int32, System.Exception*)
The process terminates with SIGABRT (Abort trap: 6), and XHarness reports APP_CRASH with exit code 80. No test results are produced.
This is the same Apple-mobile ReadyToRun IL-body-stripping failure class as #130570. That issue was mitigated for specific projects by #130468. System.Net.Security.Unit.Tests.csproj currently does not disable PublishReadyToRunStripILBodies.
The preceding runtime-extra-platforms build, 1538577, passed this tvOS CoreCLR job, so this instance is newly exposed in build 1540423.
Error Message
{
"ErrorMessage": [
"A method body required at runtime was stripped from the ReadyToRun image.",
"at System.AppContext.Setup(Char**, Char**, Int32, System.Exception*)"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Note
This issue was prepared with GitHub Copilot assistance and reviewed by the submitting developer.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1540423
Error message validated: [A method body required at runtime was stripped from the ReadyToRun image. at System.AppContext.Setup(Char**, Char**, Int32, System.Exception*)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/6/2026 7:29:59 AM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 11 | 65 |
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Aug 6, 2026
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Aug 6, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Aug 6, 2026
Tagging subscribers to this area: @dotnet/ncl, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.
6 remaining items
dotnet-policy-service commentedon Aug 19, 2026
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
davidnguyen-tech commentedon Aug 21, 2026
This is an infra bug. Opened a fixing PR #132489.
We should undo #132277 afterwards.
davidnguyen-tech commentedon Aug 26, 2026
Moving to .NET 12 as it's an infra issue.
[Apple mobile] Stage the Helix R2R app payload outside the crossgen2 …