Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug [Android] JNI ERROR (app bug): global reference table overflow (max=51200)

Discussion in 'Unity Ads & User Acquisition' started by YUTA-LEQUIOS, Jul 31, 2022.

  1. YUTA-LEQUIOS

    YUTA-LEQUIOS

    Joined:
    Apr 8, 2016
    Posts:
    11
    I have a crash on Android.

    Environment :
    Unity : 2021.3.6f1
    Device : Pixel 3a Android 11
    Unity Ads : com.unity3d.ads:unity-ads:4.2.1 (Admob mediation)
    Admob : com.google.android.gms:play-services-ads:21.0.0
    Adapter : com.google.ads.mediation:unity:4.2.1.1

    Stack Trace :
    JNI ERROR (app bug): global reference table overflow (max=51200)global reference table dump:
    Last 10 entries (of 51199):
    51198: 0x15c17228 android.view.MotionEvent
    51197: 0x15c11cc8 android.view.MotionEvent
    51196: 0x12f34b60 java.lang.Long
    51195: 0x15c11cc8 android.view.MotionEvent
    51194: 0x15c16620 android.view.MotionEvent
    51193: 0x15c11cc8 android.view.MotionEvent
    51192: 0x15c16620 android.view.MotionEvent
    51191: 0x15c11cc8 android.view.MotionEvent
    51190: 0x15c17248 android.view.MotionEvent
    51189: 0x15c11cc8 android.view.MotionEvent
    Summary:
    49811 of android.view.MotionEvent (52 unique instances)
    664 of java.lang.Class (445 unique instances)
    317 of java.nio.DirectByteBuffer (317 unique instances)
    32 of com.google.unity.ads.UnityRewardedAd (32 unique instances)
    32 of android.os.VibrationEffect$OneShot (32 unique instances)
    29 of android.database.ContentObserver$Transport (29 unique instances)
    26 of Si0 (26 unique instances)
    20 of java.lang.String (19 unique instances)
    20 of android.view.KeyEvent (20 unique instances)
    18 of android.app.LoadedApk$ReceiverDispatcher$InnerReceiver (18 unique instances)
    17 of android.app.LoadedApk$ServiceDispatcher$InnerConnection (17 unique instances)
    13 of android.view.ViewRootImpl$W (13 unique instances)
    11 of android.os.Binder (11 unique instances)
    7 of android.os.Handler$MessengerImpl (7 unique instances)
    6 of com.unity3d.player.UnityPlayerActivity (1 unique instances)
    6 of android.os.Handler (6 unique instances)
    6 of android.content.ContentProvider$Transport (6 unique instances)
    5 of dalvik.system.PathClassLoader (3 unique instances)
    5 of org.chromium.content.browser.framehost.NavigationControllerImpl (5 unique instances)
    5 of org.chromium.content.browser.webcontents.WebContentsImpl (5 unique instances)
    5 of org.chromium.content.browser.webcontents.WebContentsObserverProxy (5 unique instances)
    5 of java.lang.ref.WeakReference (5 unique instances)
    5 of android.app.LoadedApk$ServiceDispatcher$DeathMonitor (5 unique instances)
    5 of android.media.PlayerBase$IPlayerWrapper (5 unique instances)
    4 of java.lang.reflect.Method (4 unique instances)
    3 of android.opengl.EGLContext (2 unique instances)
    3 of android.opengl.EGLDisplay (2 unique instances)
    3 of android.opengl.EGLSurface (2 unique instances)
    3 of org.chromium.ui.base.WindowAndroid (3 unique instances)
    3 of org.chromium.mojo.system.impl.WatcherImpl (3 unique instances)
    3 of com.google.android.gms.ads.internal.request.k (3 unique instances)
    3 of $Proxy3 (3 unique instances)
    3 of android.view.Surface (3 unique instances)
    2 of com.google.ccc.abuse.droidguard.DroidGuard (1 unique instances)
    2 of $Proxy9 (1 unique instances)
    2 of android.app.Application (1 unique instances)
    2 of android.media.AudioManager (1 unique instances)
    2 of android.os.Bundle (1 unique instances)
    2 of android.hardware.display.DisplayManager (1 unique instances)
    2 of android.view.Display (1 unique instances)
    2 of org.chromium.base.JavaHandlerThread (2 unique instances)
    2 of com.android.billingclient.api.SkuDetails (2 unique instances)
    2 of org.chromium.content.browser.AudioFocusDelegate (2 unique instances)
    2 of org.chromium.ui.base.EventForwarder (2 unique instances)
    2 of org.chromium.content.browser.RenderWidgetHostViewImpl (2 unique instances)
    2 of com.google.android.gms.internal.appset.zzo (2 unique instances)
    2 of java.lang.ThreadGroup (2 unique instances)
    2 of dalvik.system.DexClassLoader (2 unique instances)
    2 of android.media.AudioManager$1 (2 unique instances)
    2 of android.view.autofill.AutofillManager$AutofillManagerClient (2 unique instances)
    1 of org.chromium.ui.gfx.ViewConfigurationHelper
    1 of org.chromium.components.policy.PolicyConverter
    1 of org.chromium.components.policy.CombinedPolicyProvider
    1 of org.chromium.net.NetworkChangeNotifier
    1 of org.chromium.net.NetworkActiveNotifier
    1 of org.chromium.net.ProxyChangeListener
    1 of org.chromium.android_webview.AwBrowserContext
    1 of org.chromium.components.viz.service.frame_sinks.ExternalBeginFrameSourceAndroid
    1 of org.chromium.android_webview.gfx.RootBeginFrameSourceWebView
    1 of org.chromium.media.AudioManagerAndroid
    1 of org.chromium.content.browser.ChildProcessLauncherHelperImpl
    1 of com.google.firebase.FirebaseApp
    1 of com.google.firebase.analytics.FirebaseAnalytics
    1 of org.chromium.content.browser.ContentNfcDelegate
    1 of org.chromium.device.time_zone_monitor.TimeZoneMonitor
    1 of com.android.billingclient.api.BillingClientImpl
    1 of com.unity3d.player.UnityPlayer
    1 of org.chromium.device.sensors.PlatformSensor
    1 of com.google.unity.ads.Interstitial
    1 of org.chromium.device.sensors.PlatformSensorProvider
    1 of com.google.android.gms.common.internal.zzd
    1 of alx
    1 of com.unity3d.player.HFPStatus
    1 of O1
    1 of com.android.webview.chromium.AwSafeBrowsingApiHandler
    1 of Sj
    1 of $Proxy8
    1 of $Proxy7
    1 of $Proxy6
    1 of $Proxy5
    1 of $Proxy4
    1 of com.unity3d.player.PlayAssetDeliveryUnityWrapper
    1 of $Proxy2
    1 of $Proxy1
    1 of com.unity3d.player.Camera2Wrapper
    1 of java.lang.Object[] (6 elements)
    1 of java.lang.String[]
    1 of java.nio.ByteOrder
    1 of java.lang.Long
    1 of java.util.HashMap
    1 of dalvik.system.VMRuntime
    1 of android.hardware.input.InputManager
    1 of android.media.MediaRouter
    1 of android.util.DisplayMetrics
    1 of android.view.Choreographer
    1 of android.app.ActivityThread$ApplicationThread
    1 of android.app.SharedPreferencesImpl$EditorImpl
    1 of android.app.SharedPreferencesImpl
    1 of android.content.ClipboardManager$1
    1 of android.graphics.HardwareRenderer$ProcessInitializer$1
    1 of android.hardware.display.DisplayManagerGlobal$DisplayManagerCallback
    1 of android.hardware.input.InputManager$InputDevicesChangedListener
    1 of android.location.LocationManager
    1 of android.os.HandlerThread
    1 of android.os.PersistableBundle$1
    1 of android.os.SystemVibrator
    1 of android.telephony.TelephonyManager$DeathRecipient
    1 of android.media.MediaRouter$Static$1
    1 of android.media.MediaRouter$Static$Client
    1 of android.os.PowerManager$3
    1 of android.telephony.PhoneStateListener$IPhoneStateListenerStub
    1 of android.view.SurfaceView
    1 of android.view.WindowManagerGlobal$1
    1 of android.view.accessibility.AccessibilityManager$1
    1 of android.view.inputmethod.InputMethodManager$1
    1 of android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper
    1 of android.net.TetheringManager$TetheringCallbackInternal
    :
    #00 pc 0x000000000004e2cc /apex/com.android.runtime/lib64/bionic/libc.so (abort)
    #00 pc 0x000000000055bc54 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*))
    #00 pc 0x0000000000013978 /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*))
    #00 pc 0x0000000000012fa4 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage())
    #00 pc 0x0000000000386b8c /apex/com.android.art/lib64/libart.so (art::JavaVMExt::AddGlobalRef(art::Thread*, art::ObjPtr<art::mirror::Object>))
    #00 pc 0x00000000003994d4 /apex/com.android.art/lib64/libart.so (art::JNI<false>::NewGlobalRef(_JNIEnv*, _jobject*))
    #00 pc 0x000000000386f424 /data/app/~~f3TTNqbyjFFEzJ1YN9ls7Q==/com.google.android.webview-kbWaw7DihuQ9Mv9hFPS8lw==/base.apk!libmonochrome.so
     
  2. l_racher

    l_racher

    Joined:
    Sep 1, 2018
    Posts:
    12
  3. YUTA-LEQUIOS

    YUTA-LEQUIOS

    Joined:
    Apr 8, 2016
    Posts:
    11