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
{{ message }}
Repository navigation
[Android] Out of memory crashes in System.Security.Cryptography and System.IO.Pipelines.Tests tests #62547
In the past, we've seen occasional out of memory crashes in this suite only on emulator runs. However, routine emulator and devices OOM crashes have started happening on the rolling build.
Test method: SSystem.Security.Cryptography.EcDsa.Tests.ECDsaArraySignatureFormatTests.SignDataVerifyHash_SHA1
Callstack
04-05 10:18:40.120 5519 5622 I DOTNET : Test case: System.Security.Cryptography.EcDsa.Tests.ECDsaArraySignatureFormatTests.SignDataVerifyHash_SHA1
04-05 10:18:40.120 5519 5622 I DOTNET : Execution time: 0.0004269
04-05 10:18:40.120 5519 5622 I DOTNET : Test case finished executing
04-05 10:18:40.462 1717 1717 I lowmemorykiller: Reclaimed 0kB, cache(115168kB) and free(76104kB)-reserved(80816kB) below min(129024kB) for oom_adj 250
04-05 10:18:40.462 1717 1717 I lowmemorykiller: Suppressed 77 failed kill reports
04-05 10:18:40.482 1717 1717 E lowmemorykiller: Kill 'com.android.inputmethod.latin' (2405), uid 10115, oom_adj 200 to free 67460kB
04-05 10:18:40.482 1717 1717 I lowmemorykiller: Reclaimed 67460kB, cache(106848kB) and free(70156kB)-reserved(80816kB) below min(110592kB) for oom_adj 200
04-05 10:18:40.482 1717 1717 I lowmemorykiller: Suppressed 2 failed kill reports
04-05 10:18:40.505 1917 2730 I ActivityManager: Process com.android.inputmethod.latin (pid 2405) has died: prcp IMPB
04-05 10:18:40.512 1672 1672 I Zygote : Process 2405 exited due to signal 9 (Killed)
04-05 10:18:40.514 1917 2730 W ActivityManager: Scheduling restart of crashed service com.android.inputmethod.latin/.LatinIME in 1000ms
04-05 10:18:40.514 1717 1717 I lowmemorykiller: 2 memory pressure events were skipped after a kill!
04-05 10:18:40.545 1917 1944 I libprocessgroup: Successfully killed process cgroup uid 10115 pid 2405 in 39ms
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: Session failed to close due to remote exception
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: android.os.DeadObjectException
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at android.os.BinderProxy.transactNative(Native Method)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at android.os.BinderProxy.transact(BinderProxy.java:510)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:419)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.server.inputmethod.InputMethodManagerService.finishSessionLocked(InputMethodManagerService.java:2333)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.server.inputmethod.InputMethodManagerService.clearClientSessionLocked(InputMethodManagerService.java:2324)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.server.inputmethod.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:2351)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.server.inputmethod.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:2378)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1967)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1982)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at android.os.Handler.handleCallback(Handler.java:883)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at android.os.Handler.dispatchMessage(Handler.java:100)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at android.os.Looper.loop(Looper.java:214)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.server.SystemServer.run(SystemServer.java:541)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.server.SystemServer.main(SystemServer.java:349)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at java.lang.reflect.Method.invoke(Native Method)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
04-05 10:18:40.561 1917 1917 W InputMethodManagerService: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)
04-05 10:18:40.575 1717 1717 E lowmemorykiller: Kill 'com.android.smspush' (2672), uid 10079, oom_adj 100 to free 53848kB
04-05 10:18:40.575 1717 1717 I lowmemorykiller: Reclaimed 53848kB, cache(89944kB) and free(56096kB)-reserved(80816kB) below min(92160kB) for oom_adj 100
04-05 10:18:40.575 1717 1717 I lowmemorykiller: Suppressed 6 failed kill reports
04-05 10:18:40.592 1672 1672 I Zygote : Process 2672 exited due to signal 9 (Killed)
changed the title [-][Android] Out of memory crashes in System.Security.Cryptography tests[/-][+][Android] Out of memory crashes in System.Security.Cryptography and System.IO.Pipelines.Tests tests[/+]on Jul 18, 2025
Activity
Disable some suspicious tests which might lead to OOM crashes on Andr…
MaximLipnin commentedon Feb 22, 2022
It's hit again on the rolling build:
net7.0-Android-Release-arm-Mono_Release-Windows.10.Amd64.Android.Open- build, console lognet7.0-Android-Release-x64-Mono_Release-Ubuntu.1804.Amd64.Android.29.Open- build, console log11 remaining items
[Android] Re-enable System.Security.Cryptography tests (dotnet#67057)
carlossanlop commentedon Apr 5, 2022
Hit again in:
Pipeline: Build Android x64 Release AllSubsets_Mono
System.Security.Cryptography.Rsa.Tests.RSAKeyFileTests.ReadEncryptedRsa16384Callstack
Pipeline: Build Android x86 Release AllSubsets_Mono
SSystem.Security.Cryptography.EcDsa.Tests.ECDsaArraySignatureFormatTests.SignDataVerifyHash_SHA1Callstack
[Android] Disable System.Security.Cryptography tests on x64 and x86 E…
steveisok commentedon Apr 6, 2022
/cc @SamMonoRT
While it doesn't happen all the time, we are able to reproduce locally. On bad runs, the memory usage seems to unusually spike high.
carlossanlop commentedon Apr 6, 2022
Happened once again in runtime-extra-platforms rolling build from early morning:
Build Android x64 Release AllSubsets_Mono[Android] Disable System.Security.Cryptography tests on x64 and x86 E…
Squashed commit of the following:
danmoseley commentedon Apr 23, 2022
Removed blocking label as it's disabled again
steveisok commentedon Jul 27, 2022
It's unlikely we'll be able to determine why emulators are impacted in the 7.0 timeframe.
[-][Android] Out of memory crashes in System.Security.Cryptography tests[/-][+][Android] Out of memory crashes in System.Security.Cryptography and System.IO.Pipelines.Tests tests[/+]