System.Runtime.InteropServices.RuntimeInformation.Tests: tvOS real-device Debug CoreCLR crash in SystemNative_GetOSArchitecture
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
## Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1367026
Leg Name: build_tvos_arm64_Debug_AllSubsets_CoreCLR_Smoke
## Error Details
This reproduces consistently for `System.Runtime.InteropServices.RuntimeInformation.Tests` on real tvOS devices in the `tvos-arm64 Debug AllSubsets_CoreCLR_Smoke` leg. Representative public failures: [Build 1367026](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1367026), [Build 1367268](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1367268), and [Build 1368287](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1368287). The failure signature matches the product fix in [dotnet/runtime#125439](https://github.com/dotnet/runtime/pull/125439).
Representative failing log from [Helix job 1e756bff-cec0-4193-b2dd-0da97a68a9b7 / System.Runtime.InteropServices.RuntimeInformation.Tests](https://helix.dot.net/api/2019-06-17/jobs/1e756bff-cec0-4193-b2dd-0da97a68a9b7/workitems/System.Runtime.InteropServices.RuntimeInformation.Tests/console):
```
Test collection for System.Runtime.InteropServices.RuntimeInformationTests.CheckArchitectureTests
Assertion failed: (result != -1), function SystemNative_GetOSArchitecture, file pal_runtimeinformation.c, line 153.
App terminated due to signal 6.
The app 'net.dot.System.Runtime.InteropServices.RuntimeInformation.Tests' terminated with signal 6
XHarness exit code: 80 (APP_CRASH)
```
## Error Message
```json
{
"ErrorMessage": [
"Test collection for System.Runtime.InteropServices.RuntimeInformationTests.CheckArchitectureTests",
"Assertion failed: (result != -1), function SystemNative_GetOSArchitecture, file pal_runtimeinformation.c, line 153.",
"XHarness exit code: 80 (APP_CRASH)"
],
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```
### Known issue validation
**Build: :mag_right:** https://dev.azure.com/dnceng-public/public/_build/results?buildId=1367026
**Error message validated:** `[Test collection for System.Runtime.InteropServices.RuntimeInformationTests.CheckArchitectureTests Assertion failed: (result != -1), function SystemNative_GetOSArchitecture, file pal_runtimeinformation.c, line 153. XHarness exit code: 80 (APP_CRASH)`]
**Result validation:** :white_check_mark: Known issue matched with the provided build.
**Validation performed at:** 4/10/2026 4:58:46 PM UTC
### Report
#### Summary
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|0|0|
Contributor guide
Assessment
This issue has not been assessed yet.