High Crash Rate in latest versions Android

My previous version of my game was built Sept 2020, and the crash rate of 0.02%, almost non-existent. However, in the past month, with a version published April 13, 2021, the crash rate has spiked to 1.82%.

As a result, my organic installs and even my GoogleAds installs have tanked.

Is anyone else seeing this? I have no new functionality or changes to build.settings since last Sept.

There appear to be only a handful of distinct issues, so what follows in each reply will be a specific crash report with detail, in hopes that it will help @vlads to track down the problems.

Crash/ANR
abort


pid: 0, tid: 0 >>> com.gmail.troylyndon.PlayTrivia <<<

backtrace:
#00 pc 000000000002202c /system/lib64/libc.so (abort+116)
#00 pc 000000000046431c /system/lib64/libart.so (art::Runtime::Abort(char const*)+1196)
#00 pc 0000000000008ce0 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
#00 pc 00000000002e4e80 /system/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1640)
#00 pc 000000000036bac4 /system/lib64/libart.so (art::JNI::GetArrayLength(_JNIEnv*, _jarray*)+896)
#00 pc 000000000004af30 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (_JNIEnv::GetArrayLength(_jarray*)) (SourceCode: /Users/runner/Library/Android/sdk/ndk/18.1.5063045/sysroot/usr/include/jni.h:853)
#00 pc 000000000004af30 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (NativeToJavaBridge::GetSafeAreaInsetsPixels(float&, float&, float&, float&)) (SourceCode: /Users/runner/work/corona/corona/platform/android/ndk/jni/NativeToJavaBridge.cpp:963)
#00 pc 00000000000ae528 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::DisplayLibrary::ValueForKey(lua_State*)) (SourceCode: /Users/runner/work/corona/corona/librtt/Display/Rtt_LuaLibDisplay.cpp:494)
#00 pc 000000000001380c /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaD_precall) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/ldo.c:340)
#00 pc 00000000000288f8 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaV_execute) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/lvm.c:595)
#00 pc 0000000000013e14 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaD_call) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/ldo.c:398)
#00 pc 0000000000027350 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (callTMres) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/lvm.c:88)
#00 pc 0000000000027350 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaV_gettable) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/lvm.c:125)
#00 pc 0000000000028708 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaV_execute) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/lvm.c)
#00 pc 0000000000013e14 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaD_call) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/ldo.c:398)
#00 pc 000000000001314c /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaD_rawrunprotected) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/ldo.c:135)
#00 pc 000000000001413c /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (luaD_pcall) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/ldo.c:484)
#00 pc 000000000000a3a4 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/liblua.so (offset 0x3f2000) (lua_pcall) (SourceCode: /Users/runner/work/corona/corona/external/lua-5.1.3/src/lapi.c:821)
#00 pc 00000000000e96dc /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::LuaContext::DoCall(lua_State*, int, int)) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_LuaContext.cpp:896)
#00 pc 000000000009f80c /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::Display::Update()) (SourceCode: /Users/runner/work/corona/corona/librtt/Display/Rtt_Display.cpp:540)
#00 pc 000000000011d55c /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::Runtime::operator()()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_Runtime.cpp:1977)
#00 pc 000000000001d0b8 /data/app/com.gmail.troylyndon.PlayTrivia-EEvOd61p0OsrDiTtwrAmpg==/oat/arm64/base.odex (offset 0x1d000) (com.ansca.corona.JavaToNativeShim.nativeAbortShowingImageProvider [DEDUPED]+152)
#00 pc 00000000000108e8

Crash/ANR
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
org.json.JSONObject.optInt


pid: 0, tid: 0 >>> com.gmail.troylyndon.PlayTrivia <<<

backtrace:
#00 pc 0000000000145034 /system/framework/arm64/boot-core-libart.oat (offset 0x7a000) (org.json.JSONObject.optInt+4)
#00 pc 0000000000144ff4 /system/framework/arm64/boot-core-libart.oat (offset 0x7a000) (org.json.JSONObject.optInt+52)
#00 pc 0000000000558188 /system/lib64/libart.so (art_quick_invoke_stub+584)
#00 pc 00000000000cfcc8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#00 pc 0000000000280438 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
#00 pc 000000000027a440 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
#00 pc 000000000052a134 /system/lib64/libart.so (MterpInvokeVirtualQuick+584)
#00 pc 000000000054e514 /system/lib64/libart.so (ExecuteMterpImpl+29972)
#00 pc 000000000023bf6c /data/app/com.gmail.troylyndon.PlayTrivia-6QPH2ABAvBLTIiFelpZGUA==/oat/arm64/base.vdex (com.facebook.internal.FacebookRequestErrorClassification.parseJSONDefinition+72)
#00 pc 0000000000254144 /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3404100416)+488)
#00 pc 0000000000259c38 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
#00 pc 000000000027a424 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
#00 pc 00000000005285f4 /system/lib64/libart.so (MterpInvokeStatic+204)
#00 pc 000000000054a914 /system/lib64/libart.so (ExecuteMterpImpl+14612)
#00 pc 000000000023bde2 /data/app/com.gmail.troylyndon.PlayTrivia-6QPH2ABAvBLTIiFelpZGUA==/oat/arm64/base.vdex (com.facebook.internal.FacebookRequestErrorClassification.createFromJSON+170)
#00 pc 0000000000254144 /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3404100416)+488)
#00 pc 0000000000517984 /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
#00 pc 00000000005612fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#00 pc 000000000055844c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
#00 pc 00000000000cfce8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
#00 pc 0000000000280438 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
#00 pc 000000000027a440 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
#00 pc 00000000005285f4 /system/lib64/libart.so (MterpInvokeStatic+204)
#00 pc 000000000054a914 /system/lib64/libart.so (ExecuteMterpImpl+14612)
#00 pc 000000000023ddba /data/app/com.gmail.troylyndon.PlayTrivia-6QPH2ABAvBLTIiFelpZGUA==/oat/arm64/base.vdex (com.facebook.internal.FetchedAppSettingsManager.parseAppSettingsFromJSON+30)
#00 pc 0000000000254144 /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3404100416)+488)
#00 pc 0000000000259c38 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
#00 pc 000000000027a424 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
#00 pc 00000000005285f4 /system/lib64/libart.so (MterpInvokeStatic+204)
#00 pc 000000000054a914 /system/lib64/libart.so (ExecuteMterpImpl+14612)
#00 pc 000000000023da84 /data/app/com.gmail.troylyndon.PlayTrivia-6QPH2ABAvBLTIiFelpZGUA==/oat/arm64/base.vdex (com.facebook.internal.FetchedAppSettingsManager$1.run+92)
#00 pc 0000000000254144 /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.3404100416)+488)
#00 pc 0000000000517984 /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
#00 pc 00000000005612fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#00 pc 00000000003daa14 /system/framework/arm64/boot.oat (offset 0x115000) (java.util.concurrent.ThreadPoolExecutor.runWorker+996)
#00 pc 00000000003d7790 /system/framework/arm64/boot.oat (offset 0x115000) (java.util.concurrent.ThreadPoolExecutor$Worker.run+64)
#00 pc 000000000025e1c8 /system/framework/arm64/boot.oat (offset 0x115000) (java.lang.Thread.run+72)
#00 pc 0000000000558188 /system/lib64/libart.so (art_quick_invoke_stub+584)
#00 pc 00000000000cfcc8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#00 pc 000000000045e630 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#00 pc 000000000045f6ec /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
#00 pc 000000000048ab0c /system/lib64/libart.so (art::thread::CreateCallback(void*)+1120)
#00 pc 0000000000091a14 /system/lib64/libc.so (__pthread_start(void*)+36)
#00 pc 0000000000023f78 /system/lib64/libc.so (__start_thread+68)

Crash/ANR
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
split_config.arm64_v8a.apk


pid: 0, tid: 0 >>> com.gmail.troylyndon.PlayTrivia <<<

backtrace:
#00 pc 000000000000aa20 /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/split_config.arm64_v8a.apk
#00 pc 000000000010a948 /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::ALmixerSoundCompletionEvent::~ALmixerSoundCompletionEvent()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformOpenALPlayer.cpp:77)
#00 pc 000000000010a948 /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::ALmixerSoundCompletionEvent::~ALmixerSoundCompletionEvent()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformOpenALPlayer.cpp:76)
#00 pc 000000000010a84c /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::PlatformNotifierTask::~PlatformNotifierTask()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformNotifier.cpp:173)
#00 pc 000000000010a84c /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::PlatformNotifierTask::~PlatformNotifierTask()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformNotifier.cpp:172)
#00 pc 000000000011e2c4 /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::Scheduler::Run()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_Scheduler.cpp:77)
#00 pc 000000000011d534 /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::Runtime::operator()()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_Runtime.cpp:1962)
#00 pc 000000000001d0a8 /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/oat/arm64/base.odex (art_jni_trampoline+152)
#00 pc 0000000002017d98 /memfd:/jit-cache (com.ansca.corona.Controller.updateRuntimeState+1000)
#00 pc 000000000201e8d0 /memfd:/jit-cache (com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun+2944)
#00 pc 000000000013763c /apex/com.android.runtime/lib64/libart.so (art_quick_osr_stub+60)
#00 pc 0000000000338704 /apex/com.android.runtime/lib64/libart.so (art::jit::Jit::MaybeDoOnStackReplacement(art::Thread*, art::ArtMethod*, unsigned int, int, art::JValue*)+1688)
#00 pc 00000000005ac628 /apex/com.android.runtime/lib64/libart.so (MterpMaybeDoOnStackReplacement+212)
#00 pc 0000000000136350 /apex/com.android.runtime/lib64/libart.so (MterpHelpers+240)
#00 pc 0000000000203faa /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/oat/arm64/base.vdex (com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun+954)
#00 pc 00000000005a3e38 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1100)
#00 pc 0000000000131914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#00 pc 00000000002043a0 /data/app/com.gmail.troylyndon.PlayTrivia-gjBZ78HWkC80OcW5jCWC1A==/oat/arm64/base.vdex (com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run+48)
#00 pc 00000000002b5090 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6639132462865986110)+240)
#00 pc 0000000000592dd4 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032)
#00 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#00 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
#00 pc 0000000000145fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
#00 pc 00000000004b141c /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)
#00 pc 00000000004b2530 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
#00 pc 00000000004f34ec /apex/com.android.runtime/lib64/libart.so (art::thread::CreateCallback(void*)+1176)
#00 pc 00000000000e68f0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
#00 pc 0000000000084c54 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Crash/ANR
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
split_config.arm64_v8a.apk (offset 0x3c0000)


pid: 0, tid: 0 >>> com.gmail.troylyndon.PlayTrivia <<<

backtrace:
#00 pc 000000000000aa20 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/split_config.arm64_v8a.apk (offset 0x3c0000)
#00 pc 000000000010a948 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::ALmixerSoundCompletionEvent::~ALmixerSoundCompletionEvent()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformOpenALPlayer.cpp:77)
#00 pc 000000000010a948 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::ALmixerSoundCompletionEvent::~ALmixerSoundCompletionEvent()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformOpenALPlayer.cpp:76)
#00 pc 000000000010a84c /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::PlatformNotifierTask::~PlatformNotifierTask()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformNotifier.cpp:173)
#00 pc 000000000010a84c /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::PlatformNotifierTask::~PlatformNotifierTask()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_PlatformNotifier.cpp:172)
#00 pc 000000000011e2c4 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::Scheduler::Run()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_Scheduler.cpp:77)
#00 pc 000000000011d534 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libcorona.so (offset 0x41000) (Rtt::Runtime::operator()()) (SourceCode: /Users/runner/work/corona/corona/librtt/Rtt_Runtime.cpp:1962)
#00 pc 00000000000570a8 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/oat/arm64/base.odex (art_jni_trampoline+152)
#00 pc 00000000000643e8 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/oat/arm64/base.odex (com.ansca.corona.Controller.updateRuntimeState+856)
#00 pc 0000000000127900 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/oat/arm64/base.odex (com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame+64)
#00 pc 000000000007c994 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/oat/arm64/base.odex (com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun+2644)
#00 pc 000000000007d4d4 /data/app/~~gmBgRs8btxpZJX9TG2Ex4Q==/com.gmail.troylyndon.PlayTrivia-PuiNVQivgshA16MET3zwFA==/oat/arm64/base.odex (com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run+228)
#00 pc 0000000000134564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#00 pc 0000000000198e94 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+204)
#00 pc 00000000005320fc /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#00 pc 00000000005332fc /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValuesart::ArtMethod*(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+440)
#00 pc 000000000058081c /apex/com.android.art/lib64/libart.so (art::thread::CreateCallback(void*)+1272)
#00 pc 00000000000b6234 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#00 pc 0000000000050e64 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Crash/ANR
java.lang.NullPointerException

java.lang.NullPointerException:
at android.app.ActivityThread.updateLocaleListFromAppContext (ActivityThread.java:5642)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:5871)
at android.app.ActivityThread.access$1100 (ActivityThread.java:204)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1658)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:193)
at android.app.ActivityThread.main (ActivityThread.java:6865)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:504)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

Crash/ANR
java.lang.UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError:
at java.lang.Runtime.loadLibrary0 (Runtime.java:1087)
at java.lang.Runtime.loadLibrary0 (Runtime.java:1008)
at java.lang.System.loadLibrary (System.java:1664)
at com.ansca.corona.JavaToNativeShim. (JavaToNativeShim.java:125)
at com.ansca.corona.JavaToNativeShim.useJavaLuaErrorHandler (JavaToNativeShim.java:283)
at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler (CoronaEnvironment.java:400)
at com.ansca.corona.CoronaEnvironment. (CoronaEnvironment.java:59)
at com.ansca.corona.CoronaEnvironment.isNewInstall (Unknown Source)
at com.ansca.corona.CoronaActivity.onCreate (CoronaActivity.java:242)
at android.app.Activity.performCreate (Activity.java:8104)
at android.app.Activity.performCreate (Activity.java:8088)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3480)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3682)
at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2131)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:250)
at android.app.ActivityThread.main (ActivityThread.java:7806)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:958)

Wow. I would have to take a week off from my regular activities to look at all these errors. I did look at the first. This one seems to be returned by a call to GetSafeAreaInsetsPixels. I would try to see what devices are seeing this error and see if you can code around it until Vlad gets a chance to fix it.

I did a second one. This one looks to come from an old bug fix for a race condition. I would make sure you have events for when the audio completes and make sure you don’t have much in them.

@agramonte can you be more specific?

For the safe are one:

  1. I would see if I have alternatives. Maybe go back to the old way of doing this. Put the UI elements where they would be ok regardless if the phone has the notch or not.
  2. Try to figure out if it is a particular set of phones or android os and don’t call the safe are functions on those phones.

For the second:

  1. If you have events when the sound or music finishes playing make sure that you are not doing too much in those functions.
  2. If you don’t have events then add them even if they do nothing.

These are my best guesses based on where the error occurs in the source code. I don’t have your code or more than a single report (would not have the time even if I did) so your mileage might vary.

1 Like

If you are encountering this on a new update that targets “more modern” Android versions, then you may have run into Google Play’s new automatic integrity protection service.

Good feedback. But the crashes are occurring on Android 9,10 and 11.

The integrity protection services run on all Android versions starting from Android 5.0 (API 21), which means that Android version 5 through 11 would all be affected. But, if you aren’t using it, then it shouldn’t be the cause here.

1 Like

@XeduR, how can I determine if I’m already using this? And if I’m not, how do I? The link you sent me describes it but does not provide any instructions.

It’s all explained in the page that I linked.

Check out Step 1: Create and prepare your release under Configure your app for automatic integrity protection

1 Like

Hi, @troylyndon have you managed to find a solution to your problem with android crashes? I am having similar issues.

I’m creating app bundles now, a file with .aab extension.

@troylyndon thank you. So create app bundles solved your crash?
Your crashes are caused by integrity protection services as @XeduR pointed out?

@Nob_Studio I’m sorry, I don’t know. I haven’t had crash issues in so long, because I’ve been using app bundles for over a year.

1 Like