distriqt / ANE-Adverts-Mediation

Mediation adapters for the Adverts ANE
https://airnativeextensions.com/extension/com.distriqt.Adverts
12 stars 0 forks source link

ANR/Crashes #38

Closed SponsorAds closed 2 years ago

SponsorAds commented 2 years ago

For months we are experiencing thousands of crashes and ANR (5+%) that seem to be linked to your adverts ANEs. At least that is the only reference all logs show. The exact same logs are showing up on all our apps and it is starting to cost us quite some money as our support gets flodded with requests regarding crashes.

"main" prio=5 tid=1 Native
  #00  pc 000000000084d65c  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000084e378  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000083ffe8  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 00000000008403ac  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000083f0fc  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000083f77c  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000084d98c  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000073944c  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000000f44c  <anonymous> (???)
  at com.adobe.air.customHandler.callTimeoutFunction (Native method)
  at com.adobe.air.customHandler.handleMessage (customHandler.java:28)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:246)
  at android.app.ActivityThread.main (ActivityThread.java:8633)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Typ
"Jit thread pool worker thread 0" daemon prio=5 tid=7 Native
  #00  pc 0000000000086b8c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
  #00  pc 00000000001b092c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
  #00  pc 00000000005d485c  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+120)
  #00  pc 00000000005d3b00  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+144)
  #00  pc 00000000005d35b0  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+192)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"ReferenceQueueDaemon" daemon prio=5 tid=8 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:217)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:923)
Typ
"FinalizerWatchdogDaemon" daemon prio=5 tid=9 Sleeping
  at java.lang.Thread.sleep (Native method)
  at java.lang.Thread.sleep (Thread.java:442)
  at java.lang.Thread.sleep (Thread.java:358)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos (Daemons.java:390)
  at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:419)
  at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:325)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:923)
Typ
"FinalizerDaemon" daemon prio=5 tid=10 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:190)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:211)
  at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:273)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:923)
Typ
"Binder:17254_1" prio=5 tid=11 Native
  #00  pc 00000000000d69d4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
  #00  pc 0000000000093664  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
  #00  pc 00000000000529e4  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
  #00  pc 0000000000052c98  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
  #00  pc 00000000000538d4  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+68)
  #00  pc 000000000007b554  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+388)
  #00  pc 00000000000154cc  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
  #00  pc 00000000000a5648  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
  #00  pc 0000000000014d90  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"Binder:17254_2" prio=5 tid=12 Native
  #00  pc 00000000000d69d4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
  #00  pc 0000000000093664  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
  #00  pc 00000000000529e4  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
  #00  pc 0000000000052c98  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
  #00  pc 00000000000538d4  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+68)
  #00  pc 000000000007b554  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+388)
  #00  pc 00000000000154cc  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
  #00  pc 00000000000a5648  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
  #00  pc 0000000000014d90  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"Profile Saver" daemon prio=5 tid=14 Native
  #00  pc 0000000000086b8c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
  #00  pc 00000000001b092c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
  #00  pc 000000000035cbf0  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::Run()+484)
  #00  pc 0000000000361a08  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread(void*)+180)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"Binder:17254_3" prio=5 tid=16 Native
  #00  pc 00000000000d69d4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
  #00  pc 0000000000093664  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
  #00  pc 00000000000529e4  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
  #00  pc 0000000000052c98  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
  #00  pc 00000000000538d4  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+68)
  #00  pc 000000000007b554  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+388)
  #00  pc 00000000000154cc  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
  #00  pc 00000000000a5648  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
  #00  pc 0000000000014d90  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"AsyncTask #1" prio=5 tid=17 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:459)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:362)
  at java.util.concurrent.SynchronousQueue.take (SynchronousQueue.java:920)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
Typ
"queued-work-looper" prio=5 tid=19 Native
  #00  pc 00000000000d7998  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
  #00  pc 0000000000019acc  /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
  #00  pc 00000000000199ac  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
  #00  pc 000000000011840c  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:335)
  at android.os.Looper.loop (Looper.java:206)
  at android.os.HandlerThread.run (HandlerThread.java:67)
Typ
"OkHttp ConnectionPool" daemon prio=5 tid=23 TimedWaiting
  at java.lang.Object.wait (Native method)
  at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:106)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
Typ
"pool-8-thread-1" prio=5 tid=26 TimedWaiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
Typ
"pool-9-thread-1" prio=5 tid=27 TimedWaiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:467)
  at com.google.android.gms.common.BlockingServiceConnection.getServiceWithTimeout
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.zza (unavailable)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.zza (unavailable)
  at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo (unavailable)
  at java.lang.reflect.Method.invoke (Native method)
  at com.facebook.internal.Utility.invokeMethodQuietly (Utility.kt:904)
  at com.facebook.internal.AttributionIdentifiers$Companion.getAndroidIdViaReflection (AttributionIdentifiers.kt:108)
  at com.facebook.internal.AttributionIdentifiers$Companion.getAndroidId (AttributionIdentifiers.kt:86)
  at com.facebook.internal.AttributionIdentifiers$Companion.getAttributionIdentifiers (AttributionIdentifiers.kt:167)
  at com.facebook.internal.AttributionIdentifiers.getAttributionIdentifiers (AttributionIdentifiers.kt)
  at com.facebook.appevents.AppEventCollection.getSessionEventsState (AppEventCollection.java:82)
  at com.facebook.appevents.AppEventCollection.addPersistedEvents (AppEventCollection.java:42)
  at com.facebook.appevents.AppEventQueue.flushAndWait (AppEventQueue.java:123)
  at com.facebook.appevents.AppEventQueue$1.run (AppEventQueue.java:67)
  at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:462)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
Typ
"GmsDynamite" prio=5 tid=28 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at cv.run (com.google.android.gms.dynamite_dynamiteloader@214815082@21.48.15 (150406-0):2)
Typ
"pool-12-thread-1" prio=5 tid=29 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
Typ
"RenderThread" daemon prio=7 tid=31 Native
  #00  pc 00000000000d7998  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
  #00  pc 0000000000019acc  /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
  #00  pc 00000000000199ac  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
  #00  pc 000000000039bf54  /system/lib64/libhwui.so (android::uirenderer::ThreadBase::waitForWork()+132)
  #00  pc 00000000003bd57c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+80)
  #00  pc 00000000000154cc  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
  #00  pc 0000000000014d90  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"pool-12-thread-2" prio=5 tid=32 Waiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
Typ
"pool-7-thread-1" prio=5 tid=33 TimedWaiting
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2109)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1132)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:849)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
Typ
"Thread-7" prio=10 tid=37 Native
  #00  pc 0000000000086b8c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
  #00  pc 000000000008a938  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
  #00  pc 00000000000eab90  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
  #00  pc 0000000000281230  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000037673c  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 0000000000280f60  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 0000000000280fd0  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 0000000000280d04  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"Thread-9" prio=10 tid=38 Native
  #00  pc 0000000000086b8c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
  #00  pc 000000000008a938  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
  #00  pc 00000000000eab90  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
  #00  pc 0000000000281230  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 000000000037673c  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 0000000000280f60  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 0000000000280fd0  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 0000000000280d04  /data/app/~~4Dlag7M4AySAueHoa1zZ8Q==/-txv0E7dXLQzxQdmhn_lBXg==/split_config.arm64_v8a.apk!libCore.so (???)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"Signal Catcher" daemon prio=10 tid=3 Runnable
  #00  pc 00000000004a7ee8  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
  #00  pc 00000000005b59dc  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+376)
  #00  pc 00000000005d2b14  /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+924)
  #00  pc 00000000005cca54  /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+528)
  #00  pc 00000000005cbc20  /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)+1920)
  #00  pc 00000000005cb0c0  /apex/com.android.art/lib64/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+776)
  #00  pc 0000000000576da8  /apex/com.android.art/lib64/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+196)
  #00  pc 000000000058c374  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::HandleSigQuit()+1396)
  #00  pc 000000000058b32c  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::Run(void*)+384)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Typ
"HeapTaskDaemon" daemon prio=5 tid=13 WaitingForTaskProcessor
  #00  pc 0000000000086b8c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
  #00  pc 00000000001b092c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
  #00  pc 00000000002e5f28  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+536)
  #00  pc 00000000002e6858  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+92)
  at dalvik.system.VMRuntime.runHeapTasks (Native method)
  at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:531)
  at java.lang.Daemons$Daemon.run (Daemons.java:139)
  at java.lang.Thread.run (Thread.java:923)
marchbold commented 2 years ago

Why do you think this ANR is related to the adverts extension? The main thread there referenced in the anr is the air thread not any of our extensions. There is a query for the advertising identifier in a waiting state but that would be because the other thread is blocking. I'd suggest logging this with Harman, they will be able to understand the references in the main libCore.

Generally these issues are related to sound playback.

Also crashes are quite different to ANRs, this appears to be an ANR which means your app is taking a long time to do something. This can be caused by your code, not just the runtime, eg if you do a long load or a blocking process that stops the UI.

SponsorAds commented 2 years ago

We do not use any kind of audio or video playback with AIR directly, but only your ANE for it. Our app code is now about 5 years old. We do not have any loading times going on, nothing is locking up the main thread. These are typical input dispatch ANEs. Every single report is about watching ads or random hangs. They just got significantly higher in the last couple months. Interestingly we see the exact same stack trace on 6 different apps now, just after we updated the SDK and ANEs (and not touching any code).

Sadly as everything is closed source we're also completely unable to debug anything. It's e.g. impossible to know when this ANE is even fetching the identifiers.

marchbold commented 2 years ago

I'd suggest you post this on the AIR SDK site. I can't see any reason this is directly related to the extensions. They will be able to understand what's happening in all of those AIR library references there.

The ad identifier will either be retrieve via your code directly or internally to the ad sdks. We don't do anything without your interaction in the ANE, but the advertising SDKs will. But I've never seen these async calls cause an ANR so I highly doubt that is the issue, it's just another process that happens to be waiting for whatever is blocking.

marchbold commented 2 years ago

Looks like Harman have an answer for you regarding garbage collection? Meant to mention that is often the other cause (second to the audio).

https://github.com/airsdk/Adobe-Runtime-Support/issues/1675

Cheers

SponsorAds commented 2 years ago

Not at all. His answer boils down to "sucks, good luck finding our GC issues". We confirmed than none of our app features causes >4ms GC spikes and that our app never, in 3 hours constant usage, goes above 200MB ram (of which 120MB are textures preloaded). So the fun goes on.

marchbold commented 2 years ago

Ah sorry to hear that. Only thing i can suggest is to make sure you are running those tests on a device that you have listed as experiencing the ANR in the console. There can be a large difference between android devices.