JNI ERROR (app bug): global reference table overflow (max=51200)global reference table dump:

505 views
Skip to first unread message

Abes Yao

unread,
May 18, 2023, 3:50:06 AM5/18/23
to Google Mobile Ads SDK Developers
unity version 2020.3.38f1
admob sdk 7.3.1

backtrace:
 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+704)
 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80)
 /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352)
 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::AddGlobalRef(art::Thread*, art::ObjPtr<art::mirror::Object>)+1908)
 /apex/com.android.art/lib64/libart.so (art::JNI<false>::NewGlobalRef(_JNIEnv*, _jobject*)+152)
 /data/app/~~nSkpRPLUXzttyc1AVnJlNg==/com.google.android.webview-BccZNYWi_Mvr5zvJnJubzg==/base.apk!libmonochrome.so
 /data/app/~~nSkpRPLUXzttyc1AVnJlNg==/com.google.android.webview-BccZNYWi_Mvr5zvJnJubzg==/base.apk!libmonochrome.so
 /data/app/~~nSkpRPLUXzttyc1AVnJlNg==/com.google.android.webview-BccZNYWi_Mvr5zvJnJubzg==/base.apk!libmonochrome.so
 /data/app/~~nSkpRPLUXzttyc1AVnJlNg==/com.google.android.webview-BccZNYWi_Mvr5zvJnJubzg==/base.apk!libmonochrome.so (Java_J_N_MLlibBXh+56)
 /data/app/~~nSkpRPLUXzttyc1AVnJlNg==/com.google.android.webview-BccZNYWi_Mvr5zvJnJubzg==/oat/arm64/base.odex (art_jni_trampoline+132)
 /apex/com.android.art/lib64/libart.so (nterp_helper+152)
 /data/app/~~nSkpRPLUXzttyc1AVnJlNg==/com.google.android.webview-BccZNYWi_Mvr5zvJnJubzg==/base.apk (org.chromium.base.JavaExceptionReporter.uncaughtException+18)
 /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
 /apex/com.android.art/javalib/core-oj.jar (java.lang.ThreadGroup.uncaughtException+28)
 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
 /apex/com.android.art/javalib/core-oj.jar (java.lang.ThreadGroup.uncaughtException+8)
 /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
 /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.dispatchUncaughtException+30)
 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+556)
 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+828)
 /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+184)
 /apex/com.android.art/lib64/libart.so (_JNIEnv::CallVoidMethod(_jobject*, _jmethodID*, ...)+120)
 /apex/com.android.art/lib64/libart.so (art::Thread::HandleUncaughtExceptions(art::ScopedObjectAccessAlreadyRunnable&)+300)
 /apex/com.android.art/lib64/libart.so (art::Thread::Destroy()+312)
 /apex/com.android.art/lib64/libart.so (art::ThreadList::Unregister(art::Thread*)+128)
 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1712)
 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

Mobile Ads SDK Forum Advisor

unread,
May 19, 2023, 2:21:28 AM5/19/23
to ch.lo...@gmail.com, google-adm...@googlegroups.com
Hello Abes,

Thank you for reaching out to us.

Upon checking the stack trace you provided, there appears to be no symbols for AdMob that causes the crash. However, so we may investigate this further, kindly provide us the following information below privately:
  • Sample App
  • Steps to replicate
  • App ID
  • SDK Version
  • Complete Stack Trace Error
  • Device name and versions affected
You can provide the following details via reply privately to author option or directly provide it to the link below.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002lJA8pQAG&entry.80707362=00179699

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Regards,
 
Google Logo Mobile Ads SDK Team


ref:_00D1U1174p._5004Q2lJA8p:ref
Reply all
Reply to author
Forward
0 new messages