Repository navigation
Description
Note
This issue draft was prepared with GitHub Copilot assistance and reviewed by the submitting developer.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1436900
Build error leg or test failing: android-arm Release AllSubsets_Mono - System.Security.Cryptography.Tests
Pull request: #128438
Error Details
JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: Creating RSA key failed
Caused by: java.lang.RuntimeException: Creating RSA key failed
native: #16 ... libSystem.Security.Cryptography.Native.Android.so (AndroidCryptoNative_SetRsaParameters+362)
Fatal signal 6 (SIGABRT)
Error Message
{
"ErrorMessage": "JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: Creating RSA key failed",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Failure details:
The Helix work item failed with APP_CRASH / exit code 80. The concrete signature comes from adb logcat for the failing Android Mono work item and points at AndroidCryptoNative_SetRsaParameters in libSystem.Security.Cryptography.Native.Android.so.
Affected legs:
- android-arm Release AllSubsets_Mono - System.Security.Cryptography.Tests
Console Log:
- adb logcat artifact from the failing Helix work item for System.Security.Cryptography.Tests
First build in window:
- 1436900 (current PR run; no earlier matching KBE found during this triage)
Recommended action:
Create a KBE only after human review confirms the JNI/conscrypt RSA crash is a stable failure family worth matching on this literal logcat signature. The exact managed test that triggered the crash was not identified from the available logs.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1436900
Error message validated: [JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: Creating RSA key failed]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 5/27/2026 6:50:30 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Activity
dotnet-policy-service commentedon May 27, 2026
Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon May 27, 2026
Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
See info in area-owners.md if you want to be subscribed.
jeffschwMSFT commentedon May 29, 2026
closing as the pattern was not found in the original logs
[Android] Clear pending JNI exceptions in pal_rsa.c to avoid CheckJNI…
[Android] Clear pending JNI exceptions in pal_rsa.c to avoid CheckJNI…