[Fire HD 8 and HD 10 Original Android Development] Thomas131:
Hi,

THANKS for all your work and this awesome ROM!!!

EDIT: My fault - setprop is not enough, edit build.prop+reboot is - works perfectly now!! But I think the sed-command is faulty - would generate "dalvik.vm.heapgrowthlimit=256mm", wouldn't it? So I would change the command to:

adb shell "sed -i 's|dalvik.vm.heapgrowthlimit=20m|dalvik.vm.heapgrowthlimit=256m|g' /system/build.prop"

original post:

For me, NewPipe works, but NextCloud Deck and F-Droid crashes (F-Droid while syncing package repositories). I am debugging F-Droid. The progressbar slows down at ~24.5 MB and crashes at 26.1 MB. I have closed all other apps and nearly all background tasks. I also have done "setprop heapgrowlimit 256MB":

douglas:/ # setprop dalvik.vm.heapgrowthlimit 256M
douglas:/ # getprop | grep dalvik.vm.
[dalvik.vm.appimageformat]: [lz4]
[dalvik.vm.dex2oat-Xms]: [64m]
[dalvik.vm.dex2oat-Xmx]: [512m]
[dalvik.vm.dex2oat-max-image-block-size]: [524288]
[dalvik.vm.dex2oat-minidebuginfo]: [true]
[dalvik.vm.dex2oat-resolve-startup-strings]: [true]
[dalvik.vm.dex2oat64.enabled]: [true]
[dalvik.vm.dexopt.secondary]: [true]
[dalvik.vm.heapgrowthlimit]: [256M]
[dalvik.vm.heapmaxfree]: [512k]
[dalvik.vm.heapminfree]: [128k]
[dalvik.vm.heapsize]: [256m]
[dalvik.vm.heapstartsize]: [8m]
[dalvik.vm.heaptargetutilization]: [0.85]
[dalvik.vm.image-dex2oat-Xms]: [64m]
[dalvik.vm.image-dex2oat-Xmx]: [64m]
[dalvik.vm.isa.arm.features]: [default]
[dalvik.vm.isa.arm.variant]: [cortex-a53]
[dalvik.vm.isa.arm64.features]: [default]
[dalvik.vm.isa.arm64.variant]: [cortex-a53]
[dalvik.vm.lockprof.threshold]: [500]
[dalvik.vm.madvise-random]: [true]
[dalvik.vm.minidebuginfo]: [true]
[dalvik.vm.systemservercompilerfilter]: [speed-profile]
[dalvik.vm.usejit]: [true]
[dalvik.vm.usejitprofiles]: [true]
[persist.debug.dalvik.vm.core_platform_api_policy]: [just-warn]
[persist.sys.dalvik.vm.lib.2]: [libart.so]
[ro.dalvik.vm.native.bridge]: [0]

top immideately before the crash:

Tasks: 209 total, 1 running, 208 sleeping, 0 stopped, 0 zombie
Mem: 1.3G total, 1.3G used, 29M free, 15M buffers
Swap: 1.0G total, 188M used, 842M free, 626M cached
400%cpu 17%user 105%nice 10%sys 268%idle 0%iow 0%irq 0%sirq 0%host

So there should definitly be enough SWAP and I assume that also summe caches should be able to be cleared (why aren't they?).

Logcat:

2373 2373 I mali-hist-dump: type=1400 audit(0.0:4660): avc: denied { ioctl } for path="/dev/mali0" dev="tmpfs" ino=7576 ioctlcmd=821b scontext=u:r:untrusted_app:s0:c117,c256,c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 app=org.schabi.newpipe
491 491 W AS.AudioService: couldn't find receiver package for effect intent
491 491 W TelecomManager: Telecom Service not found.
2299 2299 W ExoPlayerImplInternal: Ignoring messages sent after release.
658 673 W droid.bluetoot: Reducing the number of considered missed Gc histogram windows from 13478 to 100
3549 4438 W g.fdroid.fdroi: native: #02 pc 00000000004f4364 /apex/com.android.runtime/lib64/libart.so (art::Thread::ThrowOutOfMemoryError(char const*)+148)
3549 4438 W g.fdroid.fdroi: native: #03 pc 0000000000246c00 /apex/com.android.runtime/lib64/libart.so (art::gc::Heap::ThrowOutOfMemoryError(art::Thread*, unsigned long, art::gc::AllocatorType)+632)
3549 4438 W g.fdroid.fdroi: native: #04 pc 000000000024e4dc /apex/com.android.runtime/lib64/libart.so (art::gc::Heap::AllocateInternalWithGc(art::Thread*, art::gc::AllocatorType, bool, unsigned long, unsigned long*, unsigned long*, unsigned long*, art::ObjPtr<art::mirror::Class>*)+8484)
3549 4438 W g.fdroid.fdroi: native: #05 pc 000000000018b7b8 /apex/com.android.runtime/lib64/libart.so (art::mirror::Object* art::gc::Heap::AllocObjectWithAllocator<true, true, art::mirror::SetLengthVisitor>(art::Thread*, art::ObjPtr<art::mirror::Class>, unsigned long, art::gc::AllocatorType, art::mirror::SetLengthVisitor const&)+768)
3549 4438 W g.fdroid.fdroi: native: #06 pc 00000000004ef638 /apex/com.android.runtime/lib64/libart.so (art::BuildInternalStackTraceVisitor<false>::Init(int)+216)
3549 4438 W g.fdroid.fdroi: native: #07 pc 00000000004ef4bc /apex/com.android.runtime/lib64/libart.so (_jobject* art::Thread::CreateInternalStackTrace<false>(art::ScopedObjectAccessAlreadyRunnable const&) const+548)
3549 4438 W g.fdroid.fdroi: native: #08 pc 0000000000431008 /apex/com.android.runtime/lib64/libart.so (art::Throwable_nativeFillInStackTrace(_JNIEnv*, _jclass*)+48)
3549 4438 W g.fdroid.fdroi: native: #09 pc 00000000000be2b0 /system/framework/arm64/boot.oat (art_jni_trampoline+144)
3549 4438 W g.fdroid.fdroi: native: #10 pc 00000000001a6508 /system/framework/arm64/boot.oat (java.lang.Throwable.fillInStackTrace+88)
3549 4438 W g.fdroid.fdroi: native: #11 pc 0000000000245880 /system/framework/arm64/boot.oat (java.lang.Error.<init> [DEDUPED]+144)
3549 4438 W g.fdroid.fdroi: native: #12 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
3549 4438 W g.fdroid.fdroi: native: #13 pc 00000000001450ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
3549 4438 W g.fdroid.fdroi: native: #14 pc 00000000002e1f98 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
3549 4438 W g.fdroid.fdroi: native: #15 pc 00000000002dd024 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900)
3549 4438 W g.fdroid.fdroi: native: #16 pc 00000000005a29f0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+400)
3549 4438 W g.fdroid.fdroi: native: #17 pc 0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
3549 4438 W g.fdroid.fdroi: native: #18 pc 00000000000e62d4 /apex/com.android.runtime/javalib/core-oj.jar (java.lang.VirtualMachineError.<init>)
3549 4438 W g.fdroid.fdroi: native: #19 pc 00000000005a2cf0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
3549 4438 W g.fdroid.fdroi: native: #20 pc 0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
3549 4438 W g.fdroid.fdroi: native: #21 pc 00000000000d9608 /apex/com.android.runtime/javalib/core-oj.jar (java.lang.OutOfMemoryError.<init>)
3549 4438 W g.fdroid.fdroi: native: #22 pc 00000000002b28c8 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.4044226333105874476+240)
3549 4438 W g.fdroid.fdroi: native: #23 pc 0000000000591b38 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
3549 4438 W g.fdroid.fdroi: native: #24 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
3549 4438 W g.fdroid.fdroi: native: #25 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
3549 4438 W g.fdroid.fdroi: native: #26 pc 00000000001450ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
3549 4438 W g.fdroid.fdroi: native: #27 pc 00000000004b0b80 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
3549 4438 W g.fdroid.fdroi: native: #28 pc 00000000004b1840 /apex/com.android.runtime/lib64/libart.so (art::InvokeWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+400)
3549 4438 W g.fdroid.fdroi: native: #29 pc 000000000050367c /apex/com.android.runtime/lib64/libart.so (art::Thread::ThrowNewWrappedException(char const*, char const*)+1684)
3549 4438 W g.fdroid.fdroi: native: #30 pc 00000000004f44d0 /apex/com.android.runtime/lib64/libart.so (art::Thread::ThrowOutOfMemoryError(char const*)+512)
3549 4438 W g.fdroid.fdroi: native: #31 pc 0000000000246c00 /apex/com.android.runtime/lib64/libart.so (art::gc::Heap::ThrowOutOfMemoryError(art::Thread*, unsigned long, art::gc::AllocatorType)+632)
3549 4438 W g.fdroid.fdroi: native: #32 pc 000000000024e4dc /apex/com.android.runtime/lib64/libart.so (art::gc::Heap::AllocateInternalWithGc(art::Thread*, art::gc::AllocatorType, bool, unsigned long, unsigned long*, unsigned long*, unsigned long*, art::ObjPtr<art::mirror::Class>*)+8484)
3549 4438 W g.fdroid.fdroi: native: #33 pc 0000000000582374 /apex/com.android.runtime/lib64/libart.so (artAllocStringFromCharsFromCodeRegionTLAB+1100)
3549 4438 W g.fdroid.fdroi: native: #34 pc 000000000013d864 /apex/com.android.runtime/lib64/libart.so (art_quick_alloc_string_from_chars_region_tlab+52)
3549 4438 W g.fdroid.fdroi: native: #35 pc 00000000000b9f28 /system/framework/arm64/boot-core-libart.oat (java.lang.StringFactory.newStringFromChars+72)
3549 4438 W g.fdroid.fdroi: native: #36 pc 000000000011c174 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString+420)
3549 4438 W g.fdroid.fdroi: native: #37 pc 0000000000125a28 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize+808)
3549 4438 W g.fdroid.fdroi: native: #38 pc 00000000001230d4 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet+628)
3549 4438 W g.fdroid.fdroi: native: #39 pc 0000000000122c7c /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject+1180)
3549 4438 W g.fdroid.fdroi: native: #40 pc 0000000000122720 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize+384)
3549 4438 W g.fdroid.fdroi: native: #41 pc 0000000000123b74 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize+500)
3549 4438 W g.fdroid.fdroi: native: #42 pc 0000000000123920 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize+480)
3549 4438 W g.fdroid.fdroi: native: #43 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
3549 4438 W g.fdroid.fdroi: native: #44 pc 00000000001450ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
3549 4438 W g.fdroid.fdroi: native: #45 pc 00000000002e1f98 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
3549 4438 W g.fdroid.fdroi: native: #46 pc 00000000002dd024 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900)
3549 4438 W g.fdroid.fdroi: native: #47 pc 00000000005a687c /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualQuick+596)
3549 4438 W g.fdroid.fdroi: native: #48 pc 0000000000134594 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_quick+20)
3549 4438 W g.fdroid.fdroi: native: #49 pc 00000000002629b0 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.vdex (com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize)
3549 4438 W g.fdroid.fdroi: native: #50 pc 00000000002b28c8 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.4044226333105874476+240)
3549 4438 W g.fdroid.fdroi: native: #51 pc 0000000000591b38 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
3549 4438 W g.fdroid.fdroi: native: #52 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
3549 4438 W g.fdroid.fdroi: native: #53 pc 000000000012463c /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap+1212)
3549 4438 W g.fdroid.fdroi: native: #54 pc 0000000000124e34 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize+1524)
3549 4438 W g.fdroid.fdroi: native: #55 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
3549 4438 W g.fdroid.fdroi: native: #56 pc 00000000001450ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
3549 4438 W g.fdroid.fdroi: native: #57 pc 00000000002e1f98 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
3549 4438 W g.fdroid.fdroi: native: #58 pc 00000000002dd024 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900)
3549 4438 W g.fdroid.fdroi: native: #59 pc 00000000005a687c /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualQuick+596)
3549 4438 W g.fdroid.fdroi: native: #60 pc 0000000000134594 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_quick+20)
3549 4438 W g.fdroid.fdroi: native: #61 pc 0000000000262fa4 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.vdex (com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize)
3549 4438 W g.fdroid.fdroi: native: #62 pc 00000000005a6b80 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualQuick+1368)
3549 4438 W g.fdroid.fdroi: native: #63 pc 0000000000134594 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_quick+20)
3549 4438 W g.fdroid.fdroi: native: #64 pc 000000000025d9ca /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.vdex (com.fasterxml.jackson.databind.ObjectMapper._readValue+100)
3549 4438 W g.fdroid.fdroi: native: #65 pc 00000000005a6b80 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualQuick+1368)
3549 4438 W g.fdroid.fdroi: native: #66 pc 0000000000134594 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_quick+20)
3549 4438 W g.fdroid.fdroi: native: #67 pc 000000000025da16 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.vdex (com.fasterxml.jackson.databind.ObjectMapper.readValue+30)
3549 4438 W g.fdroid.fdroi: native: #68 pc 00000000005a6b80 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualQuick+1368)
3549 4438 W g.fdroid.fdroi: native: #69 pc 0000000000134594 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_quick+20)
3549 4438 W g.fdroid.fdroi: native: #70 pc 00000000008f013e /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.vdex (org.fdroid.fdroid.IndexV1Updater.parsePackages+16)
3549 4438 W g.fdroid.fdroi: native: #71 pc 00000000005a2cf0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
3549 4438 W g.fdroid.fdroi: native: #72 pc 0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
3549 4438 W g.fdroid.fdroi: native: #73 pc 00000000008f0704 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.vdex (org.fdroid.fdroid.IndexV1Updater.processIndexV1+1312)
3549 4438 W g.fdroid.fdroi: native: #74 pc 00000000005a6b80 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualQuick+1368)
3549 4438 W g.fdroid.fdroi: native: #75 pc 0000000000134594 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_quick+20)
3549 4438 W g.fdroid.fdroi: native: #76 pc 00000000008f01d0 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.vdex (org.fdroid.fdroid.IndexV1Updater.processDownloadedIndex+60)
3549 4438 W g.fdroid.fdroi: native: #77 pc 00000000002b28c8 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.4044226333105874476+240)
3549 4438 W g.fdroid.fdroi: native: #78 pc 0000000000591b38 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
3549 4438 W g.fdroid.fdroi: native: #79 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
3549 4438 W g.fdroid.fdroi: native: #80 pc 0000000000427ab4 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (org.fdroid.fdroid.IndexV1Updater.update+868)
3549 4438 W g.fdroid.fdroi: native: #81 pc 000000000042a998 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (org.fdroid.fdroid.UpdateService.onHandleWork+2952)
3549 4438 W g.fdroid.fdroi: native: #82 pc 0000000000151fa4 /data/app/org.fdroid.fdroid-bfG72eudiKfz8tRjekWPDQ==/oat/arm64/base.odex (androidx.core.app.JobIntentService$CommandProcessor.doInBackground+180)
3549 4438 W g.fdroid.fdroi: native: #83 pc 000000000083703c /system/framework/arm64/boot-framework.oat (android.os.AsyncTask$3.call+172)
3549 4438 W g.fdroid.fdroi: native: #84 pc 00000000002999b4 /system/framework/arm64/boot.oat (java.util.concurrent.FutureTask.run+196)
3549 4438 W g.fdroid.fdroi: native: #85 pc 00000000002fc514 /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+980)
3549 4438 W g.fdroid.fdroi: native: #86 pc 00000000002f9bc0 /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+64)
3549 4438 W g.fdroid.fdroi: native: #87 pc 00000000001a3088 /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
3549 4438 W g.fdroid.fdroi: native: #88 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
3549 4438 W g.fdroid.fdroi: native: #89 pc 00000000001450ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
3549 4438 W g.fdroid.fdroi: native: #90 pc 00000000004b0b80 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
3549 4438 W g.fdroid.fdroi: native: #91 pc 00000000004b1c30 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
3549 4438 W g.fdroid.fdroi: native: #92 pc 00000000004f2178 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176)
3549 4438 W g.fdroid.fdroi: native: #93 pc 00000000000dfef4 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
3549 4438 W g.fdroid.fdroi: native: #94 pc 0000000000083760 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
3549 4438 W g.fdroid.fdroi: at java.lang.Throwable.nativeFillInStackTrace(Native method)
3549 4438 W g.fdroid.fdroi: at java.lang.Throwable.fillInStackTrace(Throwable.java:799)
3549 4438 W g.fdroid.fdroi: at java.lang.Throwable.<init>(Throwable.java:277)
3549 4438 W g.fdroid.fdroi: at java.lang.Error.<init>(Error.java:70)
3549 4438 W g.fdroid.fdroi: at java.lang.VirtualMachineError.<init>(VirtualMachineError.java:53)
3549 4438 W g.fdroid.fdroi: at java.lang.OutOfMemoryError.<init>(OutOfMemoryError.java:58)
3549 4438 W g.fdroid.fdroi: at java.lang.StringFactory.newStringFromChars(StringFactory.java:260)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.core.util.TextBuffer.setCurrentAndReturn(TextBuffer.java:733)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2458)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:297)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:35)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:10)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:138)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:371)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:164)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:290)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:249)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:26)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:540)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:377)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:4497)
3549 4438 W g.fdroid.fdroi: at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2755)
3549 4438 W g.fdroid.fdroi: at org.fdroid.fdroid.IndexV1Updater.parsePackages(IndexV1Updater.java:377)
3549 4438 W g.fdroid.fdroi: at org.fdroid.fdroid.IndexV1Updater.processIndexV1(IndexV1Updater.java:212)
3549 4438 W g.fdroid.fdroi: at org.fdroid.fdroid.IndexV1Updater.processDownloadedIndex(IndexV1Updater.java:147)
3549 4438 W g.fdroid.fdroi: at org.fdroid.fdroid.IndexV1Updater.update(IndexV1Updater.java:128)
3549 4438 W g.fdroid.fdroi: at org.fdroid.fdroid.UpdateService.onHandleWork(UpdateService.java:483)
3549 4438 W g.fdroid.fdroi: at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:391)
3549 4438 W g.fdroid.fdroi: at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:382)
3549 4438 W g.fdroid.fdroi: at android.os.AsyncTask$3.call(AsyncTask.java:378)
3549 4438 W g.fdroid.fdroi: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
3549 4438 W g.fdroid.fdroi: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
3549 4438 W g.fdroid.fdroi: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
3549 4438 W g.fdroid.fdroi: at java.lang.Thread.run(Thread.java:919)
3549 4438 W g.fdroid.fdroi:
3549 4438 I g.fdroid.fdroi: Waiting for a blocking GC Alloc
3549 3575 I g.fdroid.fdroi: Alloc concurrent copying GC freed 105254(8646KB) AllocSpace objects, 1(40KB) LOS objects, 11% free, 11MB/13MB, paused 81us total 684.511ms
3549 3564 I g.fdroid.fdroi: WaitForGcToComplete blocked Alloc on HeapTrim for 899.038ms
3549 3564 I g.fdroid.fdroi: Starting a blocking GC Alloc
3549 4438 I g.fdroid.fdroi: Waiting for a blocking GC Alloc
3549 3564 I g.fdroid.fdroi: Alloc concurrent copying GC freed 9(16KB) AllocSpace objects, 0(0B) LOS objects, 11% free, 11MB/13MB, paused 82us total 131.174ms
3549 3562 I g.fdroid.fdroi: WaitForGcToComplete blocked Background on HeapTrim for 260.706ms
3549 4438 I g.fdroid.fdroi: WaitForGcToComplete blocked Alloc on HeapTrim for 260.753ms
3549 4438 I g.fdroid.fdroi: Starting a blocking GC Alloc
3549 3564 E System : java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available
3549 3564 W System : A resource failed to call close.
--------- beginning of crash
3549 4438 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
3549 4438 E AndroidRuntime: Process: org.fdroid.fdroid, PID: 3549
3549 4438 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
3549 4438 E AndroidRuntime: at android.os.AsyncTask$4.done(AsyncTask.java:399)
3549 4438 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
3549 4438 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
3549 4438 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:271)
3549 4438 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
3549 4438 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
3549 4438 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
3549 4438 E AndroidRuntime: Caused by: java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available
3549 4438 E ACRA : ACRA caught a RuntimeException for org.fdroid.fdroid
3549 4438 E ACRA : java.lang.RuntimeException: An error occurred while executing doInBackground()
3549 4438 E ACRA : at android.os.AsyncTask$4.done(AsyncTask.java:399)
3549 4438 E ACRA : at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
3549 4438 E ACRA : at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
3549 4438 E ACRA : at java.util.concurrent.FutureTask.run(FutureTask.java:271)
3549 4438 E ACRA : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
3549 4438 E ACRA : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
3549 4438 E ACRA : at java.lang.Thread.run(Thread.java:919)
3549 4438 E ACRA : Caused by: java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available
260 260 I power@1.3-servi: type=1400 audit(0.0:4661): avc: denied { write } for name="dynamic_boost" dev="sysfs" ino=19284 scontext=u:r:init:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
260 260 I power@1.3-servi: type=1400 audit(0.0:4662): avc: denied { open } for path="/sys/devices/platform/dynamic_boost/dynamic_boost" dev="sysfs" ino=19284 scontext=u:r:init:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
491 574 I ActivityTaskManager: START u0 {flg=0x10000000 cmp=org.fdroid.fdroid/.acra.CrashReportActivity (has extras)} from uid 10132
244 244 I main : type=1400 audit(0.0:4663): avc: denied { getattr } for path="/proc/ged" dev="proc" ino=4026532446 scontext=u:r:zygote:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
3549 4438 I Process : Sending signal. PID: 3549 SIG: 9
491 525 E system_server: Invalid ID 0x00000000.
6117 6117 I main : type=1400 audit(0.0:4664): avc: denied { read } for name="ged" dev="proc" ino=4026532446 scontext=u:r:zygote:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
6117 6117 I main : type=1400 audit(0.0:4665): avc: denied { open } for path="/proc/ged" dev="proc" ino=4026532446 scontext=u:r:zygote:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
6117 6117 I main : type=1400 audit(0.0:4666): avc: denied { write } for name="tasks" dev="tmpfs" ino=1734 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
6117 6117 I main : type=1400 audit(0.0:4667): avc: denied { open } for path="/dev/stune/top-app/tasks" dev="tmpfs" ino=1734 scontext=u:r:zygote:s0 tcontext=u:object_r:device:s0 tclass=file permissive=1
244 244 D Zygote : Forked child process 6117
491 531 I ActivityManager: Start proc 6117:org.fdroid.fdroid:error_report/u0a132 for pre-top-activity {org.fdroid.fdroid/org.fdroid.fdroid.acra.CrashReportActivity}
6117 6117 I Zygote : seccomp disabled by setenforce 0
256 305 I chatty : uid=1000(system) HwBinder:256_2 expire 22 lines
491 525 I [MALI][Gralloc]: [+]r_hnd:0x7e94cc3120, fd:265, ion_hnd(0x4), req_format(0x1), int_fmt(0x1) byte_stride(3200), flags(0x4), usage(0x933), size(4096000), alloc_size(4096000) 800(800)X1280(1280) pid(491) sec (0)
491 1226 W OomAdjuster: Fallback pre-set sched group to default: not expected top priority
271 271 E lowmemorykiller: Error writing /proc/3549/oom_score_adj; errno=22
6117 6117 I id:error_repor: The ClassLoaderContext is a special shared library.
491 3383 I ActivityManager: Process org.fdroid.fdroid (pid 3549) has died: vis TOP
491 574 I WindowManager: WIN DEATH: Window{4580ec5 u0 org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity}
491 3383 W ActivityManager: Scheduling restart of crashed service org.fdroid.fdroid/.UpdateService in 1000ms
491 3383 W ActivityTaskManager: Force removing ActivityRecord{ec1176b u0 org.fdroid.fdroid/.views.main.MainActivity t145}: app died, no saved state
244 244 I Zygote : Process 3549 exited due to signal 9 (Killed)
203 203 I chatty : uid=1000(system) /system/bin/surfaceflinger expire 41 lines
491 524 W ActivityManager: setHasOverlayUi called on unknown pid: 3549
491 532 I libprocessgroup: Successfully killed process cgroup uid 10132 pid 3549 in 38ms
6117 6117 I ACRA : ACRA is enabled for org.fdroid.fdroid, initializing...
244 244 D Zygote : Forked child process 6142
491 531 I ActivityManager: Start proc 6142:org.fdroid.fdroid/u0a132 for content provider {org.fdroid.fdroid/org.fdroid.fdroid.data.InstalledAppProvider}
6142 6142 I Zygote : seccomp disabled by setenforce 0
680 680 D ImageWallpaper: wallpaper visibility changes to: true
6142 6142 I g.fdroid.fdroi: The ClassLoaderContext is a special shared library.
6142 6160 I InstalledAppProvider: selectNotSystemSignature: systemSignature == null, querying for it
6142 6142 I ACRA : ACRA is enabled for org.fdroid.fdroid, initializing...
6142 6160 I InstalledAppProvider: excluding InstalledApps signed by system signatures
6142 6142 I InstalledAppProvider: excluding InstalledApps signed by system signatures
6117 6117 I id:error_repor: Starting a blocking GC Alloc
6117 6117 I id:error_repor: Starting a blocking GC Alloc
6142 6176 I SDCardScannerService: getExternalFilesDirs /storage/emulated/0/Android/data/org.fdroid.fdroid/files
6142 6176 I SDCardScannerService: getExternalFilesDirs /storage/emulated/0/Android/data/org.fdroid.fdroid/files
6142 6176 I SDCardScannerService: sdcard files []
6142 6176 I SDCardScannerService: getExternalFilesDirs /storage/emulated/0/Android/data/org.fdroid.fdroid/files
6142 6176 I SDCardScannerService: getExternalFilesDirs /storage/emulated/0/Android/data/org.fdroid.fdroid/files
6142 6176 I SDCardScannerService: sdcard files []
491 3383 D ConnectivityService: requestNetwork for uid/pid:10132/6142 NetworkRequest [ TRACK_DEFAULT id=250, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10132] ]
491 613 D UntrustedWifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=250, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10132] ] with score 60 and serial -1
491 613 D WifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=250, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10132] ] with score 60 and serial -1
491 649 D Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=250, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10132] ] with score 60 and serial -1
680 680 D ImageWallpaper: wallpaper visibility changes to: false
491 1226 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
491 3383 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
491 616 D ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=250, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10132] ] (release request)
6117 6183 D AMZ-mali_winsys: new_window_surface returns 0x3000
203 285 I chatty : uid=1000(system) Binder:203_2 expire 6 lines
180 180 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
6117 6183 W Gralloc3: mapper 3.x is not supported
6117 6183 E ion : ioctl c0044901 failed with code -1: Invalid argument
6117 6183 I [MALI][Gralloc]: [+]r_hnd:0x7efc4e3bc0, fd:64, ion_hnd(0x1), req_format(0x1), int_fmt(0x1) byte_stride(3456), flags(0x4), usage(0xb00), size(1848960), alloc_size(1848960) 858(864)X535(535) pid(6117) sec (0)
6117 6183 I [MALI][Gralloc]: [+]r_hnd:0x7efc4cba40, fd:67, ion_hnd(0x2), req_format(0x1), int_fmt(0x1) byte_stride(3456), flags(0x4), usage(0xb00), size(1848960), alloc_size(1848960) 858(864)X535(535) pid(6117) sec (0)
6117 6183 D AMZ-mali_winsys: new_window_surface returns 0x3000
6117 6183 I [MALI][Gralloc]: [+]r_hnd:0x7efc4e3f80, fd:68, ion_hnd(0x3), req_format(0x1), int_fmt(0x1) byte_stride(3200), flags(0x4), usage(0xb00), size(4096000), alloc_size(4096000) 800(800)X1280(1280) pid(6117) sec (0)
6117 6183 I [MALI][Gralloc]: [+]r_hnd:0x7efc4e3e40, fd:70, ion_hnd(0x4), req_format(0x1), int_fmt(0x1) byte_stride(3200), flags(0x4), usage(0xb00), size(4096000), alloc_size(4096000) 800(800)X1280(1280) pid(6117) sec (0)
491 529 I ActivityTaskManager: Displayed org.fdroid.fdroid/.acra.CrashReportActivity: +1s129ms
491 525 I [MALI][Gralloc]: [-]r_hnd:0x7e94cc3120, fd:265, ion_hnd(0x4), req_format(0x1), int_fmt(0x1) byte_stride(3200), flags(0x4), usage(0x933), size(4096000), alloc_size(4096000) 800(800)X1280(1280) pid(491) sec (0)
6117 6183 I [MALI][Gralloc]: [+]r_hnd:0x7efc4e3ee0, fd:71, ion_hnd(0x5), req_format(0x1), int_fmt(0x1) byte_stride(3456), flags(0x4), usage(0xb00), size(1848960), alloc_size(1848960) 858(864)X535(535) pid(6117) sec (0)
250 278 D [BT] : mtk_bt_op: BT_VND_OP_LPM_WAKE_SET_STATE

If someone wants to help me debug, I would be very grateful!

Thomas