Repository navigation
Description
Note
This issue was drafted with assistance from GitHub Copilot.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1409468
Build error leg or test failing: Build ios-arm64 Release AllSubsets_CoreCLR_Smoke → Helix work item System.Runtime.Tests
Pull Request: N/A (also reproduced on main)
Error Message
Work item System.Runtime.Tests in job <guid> has failed.
xharness exit code: 80 (APP_CRASH)
Application test run crashed
App terminated due to signal 9
Crash report (from .ips)
"exception": {
"type": "EXC_BAD_ACCESS",
"signal": "SIGKILL",
"subtype": "KERN_PROTECTION_FAILURE at 0x0000000000000000",
"codes": "0x0000000000000002, 0x0000000000000000"
},
"termination": {
"namespace": "CODESIGNING",
"indicator": "Invalid Page",
"code": 2
},
"os_version": "iPhone OS 26.1 (23B85)"
The app prints test runner header / configured filters / loaded assembly, then is killed within ~50ms by the kernel for a CODESIGNING / Invalid Page violation. This signature is consistent with the kernel killing the process when CoreCLR tries to execute freshly mapped JIT memory under the iOS 26 jit-restrict regime.
Reproductions
- main: build 1409468 (commit
0f84a105b01), machineDNCENGMAC128 - PR [mobile] Enable NativeAOT library tests on Apple mobile platforms #125437: build 1410238, machine
DNCENGMAC017
Helix queue: osx.15.amd64.iphone.open
Test asset: System.Runtime.Tests (CoreCLR Smoke on iOS device)
Failure category
InfrastructureError reported by Helix; the iOS device kernel kills the app on launch with CODESIGNING / Invalid Page.
Proposed fix
- Investigate JIT memory protection on iOS 26.1: confirm whether CoreCLR is using
MAP_JIT/ W^X correctly when allocating executable pages on this OS version.dotnet/runtime#108423already tracks adopting the new Apple JIT APIs. - If a runtime fix is not immediate, add
[ActiveIssue]for the affected tests onIsAppleMobile && IsCoreCLR(currently CoreCLR Smoke is the only set running) until JIT page handling is fixed. - Re-evaluate after Helix queue and Apple SDK updates land (
dotnet/runtime#119808).
Related
- Investigate use of new Apple JIT APIs #108423 Investigate use of new Apple JIT APIs
- [Test][iOS] iOS.Device.Aot.Test fails with APP_LAUNCH_FAILURE #119665 [Test][iOS] iOS.Device.Aot.Test fails with APP_LAUNCH_FAILURE (different mode)
- APP_CRASH SIGABRT during coreclr_initialize on tvOS device (vm_map_enter allocation failure) #123396 APP_CRASH SIGABRT during coreclr_initialize on tvOS device (different signal)
Error column (for Build Analysis matching)
System.Runtime.Tests
Known issue core information
{
"ErrorMessage": "Application test run crashed",
"BuildRetry": false,
"ErrorPattern": "CODESIGNING.*Invalid Page",
"ExcludeConsoleLog": false
}Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1409468
Error message validated: [CODESIGNING.*Invalid Page]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 5/6/2026 1:01:51 PM UTC
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon May 6, 2026
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon May 6, 2026
Tagging subscribers to this area: @agocke
See info in area-owners.md if you want to be subscribed.
Fix iOS arm64 CoreCLR crash from shared MethodDesc::CalliCookie slot (#…