Android Game Crashes

The game runs when you first run it, then crashes when you open the game again.

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 14931 (479627193680), pid 14200 (main)
03-21 15:36:27.574 15241 15241 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-21 15:36:27.575 15241 15241 F DEBUG   : Build fingerprint: 'samsung/a70qxx/a70q:10/QP1A.190711.020/A705FNXXU5CUA7:user/release-keys'
03-21 15:36:27.575 15241 15241 F DEBUG   : Revision: '13'
03-21 15:36:27.575 15241 15241 F DEBUG   : ABI: 'arm64'
03-21 15:36:27.583 15241 15241 F DEBUG   : Timestamp: 2021-03-21 15:36:27+0300
03-21 15:36:27.583 15241 15241 F DEBUG   : pid: 14200, tid: 14931, name: 479627193680  >>> com.Frayfield <<<
03-21 15:36:27.583 15241 15241 F DEBUG   : uid: 10336
03-21 15:36:27.583 15241 15241 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
03-21 15:36:27.583 15241 15241 F DEBUG   : Abort message: 'JNI DETECTED ERROR IN APPLICATION: java_class == null
03-21 15:36:27.583 15241 15241 F DEBUG   :     in call to RegisterNatives'
03-21 15:36:27.583 15241 15241 F DEBUG   :     x0  0000000000000000  x1  0000000000003a53  x2  0000000000000006  x3  0000006fac0221c0
03-21 15:36:27.583 15241 15241 F DEBUG   :     x4  fefeff6fa07aaf97  x5  fefeff6fa07aaf97  x6  fefeff6fa07aaf97  x7  7f7f7f7fff7fffff
03-21 15:36:27.583 15241 15241 F DEBUG   :     x8  00000000000000f0  x9  86ca92d84f34473e  x10 0000000000000001  x11 0000000000000000
03-21 15:36:27.583 15241 15241 F DEBUG   :     x12 fffffff0fffffbdf  x13 ffffffffffffffff  x14 0000000000000000  x15 ffffffffffffffff
03-21 15:36:27.584 15241 15241 F DEBUG   :     x16 00000070a1dd28c0  x17 00000070a1daeff0  x18 0000006f854d2000  x19 0000000000003778
03-21 15:36:27.584 15241 15241 F DEBUG   :     x20 0000000000003a53  x21 00000000ffffffff  x22 0000006f9db06000  x23 0000007020a9a185
03-21 15:36:27.584 15241 15241 F DEBUG   :     x24 0000007020abbfe0  x25 0000000000000001  x26 00000070a6a7d258  x27 00000070a6eddf10
03-21 15:36:27.584 15241 15241 F DEBUG   :     x28 0000007020fcd338  x29 0000006fac022260
03-21 15:36:27.584 15241 15241 F DEBUG   :     sp  0000006fac0221a0  lr  00000070a1d6027c  pc  00000070a1d602a8
03-21 15:36:27.677 15241 15241 F DEBUG   :
03-21 15:36:27.677 15241 15241 F DEBUG   : backtrace:
03-21 15:36:27.677 15241 15241 F DEBUG   :       #00 pc 00000000000832a8  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 27147c78d1670fec7bce21c48e84eb70)
03-21 15:36:27.677 15241 15241 F DEBUG   :       #01 pc 00000000004c16f8  /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2388) (BuildId: 3cf8c22e0e5e8cc201d7666e18ab1796)
03-21 15:36:27.677 15241 15241 F DEBUG   :       #02 pc 000000000000b458  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+580) (BuildId: b2d191935e92ad8ead18aacc334b7a7e)
03-21 15:36:27.677 15241 15241 F DEBUG   :       #03 pc 000000000037ff4c  /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1584) (BuildId: 3cf8c22e0e5e8cc201d7666e18ab1796)
03-21 15:36:27.677 15241 15241 F DEBUG   :       #04 pc 00000000003e1c88  /apex/com.android.runtime/lib64/libart.so (art::JNI::RegisterNatives(_JNIEnv*, _jclass*, JNINativeMethod const*, int)+3412) (BuildId: 3cf8c22e0e5e8cc201d7666e18ab1796)
03-21 15:36:27.677 15241 15241 F DEBUG   :       #05 pc 0000000009f8015c  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (gpg::JavaClass::FinishClassRegistration(_JNIEnv*, _jclass*)+136) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.677 15241 15241 F DEBUG   :       #06 pc 0000000009f7f4bc  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (gpg::JavaClass::Register(_JNIEnv*, gpg::JavaReference const&)+400) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #07 pc 0000000009f7fbc8  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (gpg::JavaClass::RegisterEmbeddedDexClassesInternal(gpg::JavaReference const&, bool*, char const*, char const*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::vector<gpg::JavaClass*, std::__ndk1::allocator<gpg::JavaClass*>> const&)+1584) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #08 pc 0000000009f7fe7c  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (gpg::JavaClass::RegisterEmbeddedDexClasses(gpg::JavaReference const&)+92) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #09 pc 0000000009f79f84  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (gpg::AndroidPlatformConfiguration::Valid() const+108) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #10 pc 0000000009fadec4  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (gpg::GameServices::Builder::Create(gpg::AndroidPlatformConfiguration const&)+76) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #11 pc 0000000006765918  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (FOnlineAsyncTaskGooglePlayLogin::Start_OnTaskThread()+480) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #12 pc 00000000067655d8  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (FOnlineAsyncTaskGooglePlayAuthAction::Tick()+44) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #13 pc 0000000005c15f70  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (FOnlineAsyncTaskManager::Tick()+600) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #14 pc 0000000005c15864  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (FOnlineAsyncTaskManager::Run()+116) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #15 pc 0000000006a203ac  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (FRunnableThreadPThread::Run()+96) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #16 pc 00000000069a919c  /data/app/com.Frayfield-LB23WF1PXf_HZ3W9k2GZvQ==/lib/arm64/libUE4.so (FRunnableThreadPThread::_ThreadProc(void*)+68) (BuildId: 4b9031f5a52e5ae6054fb1e9dc0254be05bbe6d4)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #17 pc 00000000000e6f20  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 27147c78d1670fec7bce21c48e84eb70)
03-21 15:36:27.678 15241 15241 F DEBUG   :       #18 pc 00000000000850c8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 27147c78d1670fec7bce21c48e84eb70)

Anyone for help?

Sorry for the necro.

Did you manage to fix this issue?

We’re running into the same problem in production, affecting ~1% of our users (in the hundreds of thousands)

It only started occurring after our last update and seems to be related to GooglePlayGames login.

Based on docs for AndroidPlatformConfiguration::Valid(), it looks like android_app* GNativeAndroidApp might be invalid, but I’m not sure why.

And I have no idea how RegisterEmbeddedDexClasses() comes into it as I can’t see the source for AndroidPlatformConfiguration::Valid().

Thanks!

Hello Almax27, did you find anything by any chance?

I face a crash (Crashes/ANRs on android devices (mostly samsung/android 14)) and I am not sure it is related to yours, but who knows.