Repository navigation
Description
Build Information
Build: 20260803.2
Build error leg or test failing: android-arm Release AllSubsets_CoreCLR - System.Security.Cryptography.Pkcs.Tests
- Pipeline:
runtime-extra-platforms - Branch:
main - Commit:
10c04f707d28097296d509a66c6123ee848361e0 - Helix queue:
Windows.11.Amd64.Android-armel.Open - Helix work item: System.Security.Cryptography.Pkcs.Tests
- Console log
Error Details
The Android arm32 test process crashes while Pkcs12InfoTests.ReadEmptyPfx(Int32) verifies a PKCS#12 MAC. XHarness reports exit code 80 (APP_CRASH).
Fatal error.
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the runtime or one of the native libraries
used by your application.
at Interop+Crypto.<HmacCreate>g____PInvoke|96_0(Byte*, Int32, IntPtr)
at System.Security.Cryptography.HMACCommon.ChangeKeyImpl(System.ReadOnlySpan`1<Byte>)
at System.Security.Cryptography.IncrementalHash.CreateHMAC(System.Security.Cryptography.HashAlgorithmName, System.ReadOnlySpan`1<Byte>)
at System.Security.Cryptography.Asn1.Pkcs12.PfxAsn.VerifyMac(System.ReadOnlySpan`1<Char>, System.ReadOnlySpan`1<Byte>)
at System.Security.Cryptography.Pkcs.Pkcs12Info.VerifyMac(System.ReadOnlySpan`1<Char>)
at System.Security.Cryptography.Pkcs.Pkcs12Info.VerifyMac(System.String)
at System.Security.Cryptography.Pkcs.Tests.Pkcs12.Pkcs12InfoTests.ReadEmptyPfx(Int32)
XHarness exit code: 80 (APP_CRASH)
Error Message
{
"ErrorMessage": [
"Got a SIGSEGV while executing native code.",
"at Interop+Crypto.<HmacCreate>",
"at System.Security.Cryptography.Pkcs.Tests.Pkcs12.Pkcs12InfoTests.ReadEmptyPfx(Int32)"
],
"BuildRetry": false,
"ExcludeConsoleLog": false
}Duplicate Search
No existing issue was found for this HmacCreate / ReadEmptyPfx Android SIGSEGV signature. #37094 is a closed historical issue for different PKCS failures on Android.
Note
This issue was drafted with GitHub Copilot assistance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1538577
Error message validated: [Got a SIGSEGV while executing native code. at Interop+Crypto.<HmacCreate> at System.Security.Cryptography.Pkcs.Tests.Pkcs12.Pkcs12InfoTests.ReadEmptyPfx(Int32)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/5/2026 6:51:18 AM UTC
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1694266 | dotnet/runtime | System.Security.Cryptography.Pkcs.Tests.WorkItemExecution | |
| 1684837 | dotnet/runtime | System.Security.Cryptography.Pkcs.Tests.WorkItemExecution | |
| 1665174 | dotnet/runtime | System.Security.Cryptography.Pkcs.Tests.WorkItemExecution |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 1 | 3 |
Activity
dotnet-policy-service commentedon Aug 5, 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 Aug 5, 2026
Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
See info in area-owners.md if you want to be subscribed.
vcsjones commentedon Aug 5, 2026
Posting what Copilot makes of the crash:
Conclusion: We can pinpoint the immediate crash mechanism, but not why ART reaches that invalid entrypoint.
XHarness reports exit 80 ( APP_CRASH ); Android reports SIGSEGV , SEGV_ACCERR .
ART attempts to execute QuickImtConflictTrampoline from a boot.oat mapping that is rw- , not executable.
Native stack is identical in both occurrences:
This occurs while CryptoNative_HmacCreate calls Java Mac.getInstance .
BrzVlad commentedon Aug 10, 2026
@vcsjones Are you targeting .net 11 fix for this ? So we can triage it accordingly
jeffschwMSFT commentedon Sep 17, 2026
removing blocking-clean-ci as it has not failed in 30 days
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0