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 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
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.TestsError Details
The tvOS CoreCLR test app crashes during runtime initialization, before test discovery. A generic
Dictionaryconstructor needed byAppContext.Setupwas stripped from the ReadyToRun image:The process terminates with
SIGABRT(Abort trap: 6), and XHarness reportsAPP_CRASHwith 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.csprojcurrently does not disablePublishReadyToRunStripILBodies.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