AppLovin / AppLovin-MAX-SDK-Android

Other
232 stars 104 forks source link

ANR increase #714

Open Shekhanzai opened 2 months ago

Shekhanzai commented 2 months ago

After integrating Applovin on my app the ANR increased from 0.5% to 2.5%

I also moved the applovin initialization to the background thread but it didn't help

applovinAsh commented 2 months ago

@Shekhanzai - Please provide the following information:

  1. Can you provide the symbolicated stack trace?
  2. What is the percentage of users experiencing this issue?
  3. What devices is this occurring on?
  4. What AppLovin SDK and adapter versions are you using in your application?
Djemre0 commented 2 months ago

@Shekhanzai - Please provide the following information:

  1. Can you provide the symbolicated stack trace?
  2. What is the percentage of users experiencing this issue?
  3. What devices is this occurring on?
  4. What AppLovin SDK and adapter versions are you using in your application?

"I've been experiencing this issue for the past two weeks as well. The crash rate has significantly increased due to Applovin, with crashes occurring at a rate of 2% to 4%.

applovinAsh commented 2 months ago

Can you provide the Full crash/ANR reports with all stack traces and the Crash count or % of users affected, split by device and OS version

Djemre0 commented 2 months ago

Can you provide the Full crash/ANR reports with all stack traces and the Crash count or % of users affected, split by device and OS version

Screenshot_2024-09-20-02-47-56-893_com android chrome_copy_1200x217 20240920_024945

Djemre0 commented 2 months ago

Can you provide the Full crash/ANR reports with all stack traces and the Crash count or % of users affected, split by device and OS version

Screenshot_2024-09-20-02-54-49-803_com android chrome

applovinAsh commented 2 months ago

While it is difficult to look into the issue without the full stack trace, the android.os.MessageQueue.nativePollOnce ANR is often observed when the application is under memory pressure. Could you please check for any memory-related issues, such as potential memory leaks, in your app?

Can you provide the full stack trace of the ANR so we can better understand the ANR you are experiencing and look into solutions?

Shekhanzai commented 2 months ago

IMG_20240921_162641.jpg

IMG_20240921_162626.jpg

63 ANRs because of waiting for threads to be finished, I'm passing the main activity context for initializing sdk I think the user when close the app which the main thread is finished but waiting for the applovin sdk created threads to be finished , all the threads,workers should be cancelled when users close the app

applovinAsh commented 2 months ago

@Shekhanzai, can you provide the full stack trace in a TXT file? Screenshots of certain aspects of the ANR stack trace do not help, as the full stack trace contains more important information to identify the issue.

Can you also share what SDK versions this ANR is happening with?

Shekhanzai commented 2 months ago

@applovinAsh Sorry for the late reply, Here is the trace txt

" tid=25141 Unknown
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000023247c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks+140)
  #02  pc 0x00000000005a4cb4  /apex/com.android.art/lib64/libart.so (art::ThreadList::WaitForOtherNonDaemonThreadsToExit+216)
  #03  pc 0x000000000068b650  /apex/com.android.art/lib64/libart.so (art::JII::DestroyJavaVM+32)
  #04  pc 0x00000000000ef034  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start+1164)
  #05  pc 0x0000000000002968  /system/bin/app_process64 (main+1456)
  #06  pc 0x0000000000092db8  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108)

"ReferenceQueueDaemon" tid=10 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:386)
  at java.lang.Object.wait (Object.java:524)
  at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:239)
  at java.lang.Daemons$Daemon.run (Daemons.java:145)
  at java.lang.Thread.run (Thread.java:1012)

"FinalizerWatchdogDaemon" tid=11 Timed Waiting
  at java.lang.Thread.sleep (Native method)
  at java.lang.Thread.sleep (Thread.java:450)
  at java.lang.Thread.sleep (Thread.java:355)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos (Daemons.java:481)
  at java.lang.Daemons$FinalizerWatchdogDaemon.waitForProgress (Daemons.java:527)
  at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:412)
  at java.lang.Daemons$Daemon.run (Daemons.java:145)
  at java.lang.Thread.run (Thread.java:1012)

"FinalizerDaemon" tid=12 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:386)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:210)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:231)
  at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:309)
  at java.lang.Daemons$Daemon.run (Daemons.java:145)
  at java.lang.Thread.run (Thread.java:1012)

"x7.w raw.githubusercontent.com" tid=31 Native
  #00  pc 0x00000000000eec28  /apex/com.android.runtime/lib64/bionic/libc.so (recvfrom+8)
  #01  pc 0x000000000002d290  /apex/com.android.art/lib64/libopenjdk.so (NET_Read+80)
  #02  pc 0x000000000002de08  /apex/com.android.art/lib64/libopenjdk.so (SocketInputStream_socketRead0+216)
  at java.net.SocketInputStream.socketRead0 (Native method)
  at java.net.SocketInputStream.socketRead (SocketInputStream.java:118)
  at java.net.SocketInputStream.read (SocketInputStream.java:173)
  at java.net.SocketInputStream.read (SocketInputStream.java:143)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket (ConscryptEngineSocket.java:983)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket (ConscryptEngineSocket.java:947)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readUntilDataAvailable (ConscryptEngineSocket.java:862)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.read (ConscryptEngineSocket.java:835)
  at okio.InputStreamSource.read (InputStreamSource.java:94)
  at okio.AsyncTimeout$source$1.read (AsyncTimeout.kt:125)
  at okio.RealBufferedSource.request (RealBufferedSource.kt:206)
  at okio.RealBufferedSource.require (RealBufferedSource.kt:199)
  at okhttp3.internal.http2.Http2Reader.nextFrame (Http2Reader.kt:89)
  at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke (Http2Connection.kt:618)
  at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke (Http2Connection.kt:609)
  at okhttp3.internal.concurrent.TaskQueue$execute$1.runOnce (TaskQueue.kt:98)
  at okhttp3.internal.concurrent.TaskRunner.runTask (TaskRunner.kt:116)
  at okhttp3.internal.concurrent.TaskRunner.access$runTask (TaskRunner.kt:42)
  at okhttp3.internal.concurrent.TaskRunner$runnable$1.run (TaskRunner.kt:65)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"x7.w github.com" tid=32 Native
  #00  pc 0x00000000000eec28  /apex/com.android.runtime/lib64/bionic/libc.so (recvfrom+8)
  #01  pc 0x000000000002d290  /apex/com.android.art/lib64/libopenjdk.so (NET_Read+80)
  #02  pc 0x000000000002de08  /apex/com.android.art/lib64/libopenjdk.so (SocketInputStream_socketRead0+216)
  at java.net.SocketInputStream.socketRead0 (Native method)
  at java.net.SocketInputStream.socketRead (SocketInputStream.java:118)
  at java.net.SocketInputStream.read (SocketInputStream.java:173)
  at java.net.SocketInputStream.read (SocketInputStream.java:143)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket (ConscryptEngineSocket.java:983)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket (ConscryptEngineSocket.java:947)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readUntilDataAvailable (ConscryptEngineSocket.java:862)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.read (ConscryptEngineSocket.java:835)
  at okio.InputStreamSource.read (InputStreamSource.java:94)
  at okio.AsyncTimeout$source$1.read (AsyncTimeout.kt:125)
  at okio.RealBufferedSource.request (RealBufferedSource.kt:206)
  at okio.RealBufferedSource.require (RealBufferedSource.kt:199)
  at okhttp3.internal.http2.Http2Reader.nextFrame (Http2Reader.kt:89)
  at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke (Http2Connection.kt:618)
  at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke (Http2Connection.kt:609)
  at okhttp3.internal.concurrent.TaskQueue$execute$1.runOnce (TaskQueue.kt:98)
  at okhttp3.internal.concurrent.TaskRunner.runTask (TaskRunner.kt:116)
  at okhttp3.internal.concurrent.TaskRunner.access$runTask (TaskRunner.kt:42)
  at okhttp3.internal.concurrent.TaskRunner$runnable$1.run (TaskRunner.kt:65)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"Okio Watchdog" tid=33 Timed Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:386)
  at okio.AsyncTimeout$Companion.awaitTimeout$okio (AsyncTimeout.java:302)
  at okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:183)
  at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.3.0:6)

"AppLovinSdk:network" tid=35 Native
  #00  pc 0x00000000000ef18c  /apex/com.android.runtime/lib64/bionic/libc.so (__ppoll+12)
  #01  pc 0x00000000000a794c  /apex/com.android.runtime/lib64/bionic/libc.so (poll+96)
  #02  pc 0x000000000002bc0c  /apex/com.android.art/lib64/libjavacore.so (Linux_poll+584)
  at libcore.io.Linux.poll (Native method)
  at libcore.io.ForwardingOs.poll (ForwardingOs.java:573)
  at libcore.io.BlockGuardOs.poll (BlockGuardOs.java:283)
  at libcore.io.ForwardingOs.poll (ForwardingOs.java:573)
  at libcore.io.IoBridge.isConnected (IoBridge.java:326)
  at libcore.io.IoBridge.connectErrno (IoBridge.java:237)
  at libcore.io.IoBridge.connect (IoBridge.java:179)
  at java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:142)
  at java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:390)
  at java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:230)
  at java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:212)
  at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:436)
  at java.net.Socket.connect (Socket.java:646)
  at com.android.okhttp.internal.Platform.connectSocket (Platform.java:182)
  at com.android.okhttp.internal.io.RealConnection.connectSocket (RealConnection.java:145)
  at com.android.okhttp.internal.io.RealConnection.connect (RealConnection.java:116)
  at com.android.okhttp.internal.http.StreamAllocation.findConnection (StreamAllocation.java:186)
  at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection (StreamAllocation.java:128)
  at com.android.okhttp.internal.http.StreamAllocation.newStream (StreamAllocation.java:97)
  at com.android.okhttp.internal.http.HttpEngine.connect (HttpEngine.java:289)
  at com.android.okhttp.internal.http.HttpEngine.sendRequest (HttpEngine.java:232)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute (HttpURLConnectionImpl.java:465)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect (HttpURLConnectionImpl.java:131)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream (HttpURLConnectionImpl.java:262)
  at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream (DelegatingHttpsURLConnection.java:219)
  at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream (HttpsURLConnectionImpl.java:30)
  at com.applovin.impl.eg$b.b (SourceFile:648)
  at com.applovin.impl.eg$b.a (SourceFile:675)
  at com.applovin.impl.eg$b.run (SourceFile:90)

"AppLovinSdk:network" tid=36 Native
  #00  pc 0x00000000000ef18c  /apex/com.android.runtime/lib64/bionic/libc.so (__ppoll+12)
  #01  pc 0x00000000000a794c  /apex/com.android.runtime/lib64/bionic/libc.so (poll+96)
  #02  pc 0x000000000002bc0c  /apex/com.android.art/lib64/libjavacore.so (Linux_poll+584)
  at libcore.io.Linux.poll (Native method)
  at libcore.io.ForwardingOs.poll (ForwardingOs.java:573)
  at libcore.io.BlockGuardOs.poll (BlockGuardOs.java:283)
  at libcore.io.ForwardingOs.poll (ForwardingOs.java:573)
  at libcore.io.IoBridge.isConnected (IoBridge.java:326)
  at libcore.io.IoBridge.connectErrno (IoBridge.java:237)
  at libcore.io.IoBridge.connect (IoBridge.java:179)
  at java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:142)
  at java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:390)
  at java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:230)
  at java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:212)
  at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:436)
  at java.net.Socket.connect (Socket.java:646)
  at com.android.okhttp.internal.Platform.connectSocket (Platform.java:182)
  at com.android.okhttp.internal.io.RealConnection.connectSocket (RealConnection.java:145)
  at com.android.okhttp.internal.io.RealConnection.connect (RealConnection.java:116)
  at com.android.okhttp.internal.http.StreamAllocation.findConnection (StreamAllocation.java:186)
  at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection (StreamAllocation.java:128)
  at com.android.okhttp.internal.http.StreamAllocation.newStream (StreamAllocation.java:97)
  at com.android.okhttp.internal.http.HttpEngine.connect (HttpEngine.java:289)
  at com.android.okhttp.internal.http.HttpEngine.sendRequest (HttpEngine.java:232)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute (HttpURLConnectionImpl.java:465)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect (HttpURLConnectionImpl.java:131)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream (HttpURLConnectionImpl.java:262)
  at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream (DelegatingHttpsURLConnection.java:219)
  at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream (HttpsURLConnectionImpl.java:30)
  at com.applovin.impl.eg$b.b (SourceFile:648)
  at com.applovin.impl.eg$b.a (SourceFile:675)
  at com.applovin.impl.eg$b.run (SourceFile:90)

"OkHttp ConnectionPool" tid=37 Timed Waiting
  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:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"x7.w raw.githubusercontent.com" tid=40 Native
  #00  pc 0x00000000000eec28  /apex/com.android.runtime/lib64/bionic/libc.so (recvfrom+8)
  #01  pc 0x000000000002d290  /apex/com.android.art/lib64/libopenjdk.so (NET_Read+80)
  #02  pc 0x000000000002de08  /apex/com.android.art/lib64/libopenjdk.so (SocketInputStream_socketRead0+216)
  at java.net.SocketInputStream.socketRead0 (Native method)
  at java.net.SocketInputStream.socketRead (SocketInputStream.java:118)
  at java.net.SocketInputStream.read (SocketInputStream.java:173)
  at java.net.SocketInputStream.read (SocketInputStream.java:143)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket (ConscryptEngineSocket.java:983)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket (ConscryptEngineSocket.java:947)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readUntilDataAvailable (ConscryptEngineSocket.java:862)
  at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.read (ConscryptEngineSocket.java:835)
  at okio.InputStreamSource.read (InputStreamSource.java:94)
  at okio.AsyncTimeout$source$1.read (AsyncTimeout.kt:125)
  at okio.RealBufferedSource.request (RealBufferedSource.kt:206)
  at okio.RealBufferedSource.require (RealBufferedSource.kt:199)
  at okhttp3.internal.http2.Http2Reader.nextFrame (Http2Reader.kt:89)
  at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke (Http2Connection.kt:618)
  at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke (Http2Connection.kt:609)
  at okhttp3.internal.concurrent.TaskQueue$execute$1.runOnce (TaskQueue.kt:98)
  at okhttp3.internal.concurrent.TaskRunner.runTask (TaskRunner.kt:116)
  at okhttp3.internal.concurrent.TaskRunner.access$runTask (TaskRunner.kt:42)
  at okhttp3.internal.concurrent.TaskRunner$runnable$1.run (TaskRunner.kt:65)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"x7.w TaskRunner" tid=41 Timed Waiting
  at java.lang.Object.wait (Native method)
  at okhttp3.internal.concurrent.TaskRunner$RealBackend.coordinatorWait (TaskRunner.java:294)
  at okhttp3.internal.concurrent.TaskRunner.awaitTaskToRun (TaskRunner.kt:218)
  at okhttp3.internal.concurrent.TaskRunner$runnable$1.run (TaskRunner.kt:59)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"Okio Watchdog" tid=43 Waiting
  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:386)
  at java.lang.Object.wait (Object.java:524)
  at com.android.okhttp.okio.AsyncTimeout.awaitTimeout (AsyncTimeout.java:313)
  at com.android.okhttp.okio.AsyncTimeout.access$000 (AsyncTimeout.java:42)
  at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:288)

"AppLovinSdk:health_events_reporter" tid=47 Native
  #00  pc 0x00000000000ef18c  /apex/com.android.runtime/lib64/bionic/libc.so (__ppoll+12)
  #01  pc 0x00000000000a794c  /apex/com.android.runtime/lib64/bionic/libc.so (poll+96)
  #02  pc 0x000000000002bc0c  /apex/com.android.art/lib64/libjavacore.so (Linux_poll+584)
  at libcore.io.Linux.poll (Native method)
  at libcore.io.ForwardingOs.poll (ForwardingOs.java:573)
  at libcore.io.BlockGuardOs.poll (BlockGuardOs.java:283)
  at libcore.io.ForwardingOs.poll (ForwardingOs.java:573)
  at libcore.io.IoBridge.isConnected (IoBridge.java:326)
  at libcore.io.IoBridge.connectErrno (IoBridge.java:237)
  at libcore.io.IoBridge.connect (IoBridge.java:179)
  at java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:142)
  at java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:390)
  at java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:230)
  at java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:212)
  at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:436)
  at java.net.Socket.connect (Socket.java:646)
  at com.android.okhttp.internal.Platform.connectSocket (Platform.java:182)
  at com.android.okhttp.internal.io.RealConnection.connectSocket (RealConnection.java:145)
  at com.android.okhttp.internal.io.RealConnection.connect (RealConnection.java:116)
  at com.android.okhttp.internal.http.StreamAllocation.findConnection (StreamAllocation.java:186)
  at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection (StreamAllocation.java:128)
  at com.android.okhttp.internal.http.StreamAllocation.newStream (StreamAllocation.java:97)
  at com.android.okhttp.internal.http.HttpEngine.connect (HttpEngine.java:289)
  at com.android.okhttp.internal.http.HttpEngine.sendRequest (HttpEngine.java:232)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute (HttpURLConnectionImpl.java:465)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse (HttpURLConnectionImpl.java:411)
  at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode (HttpURLConnectionImpl.java:542)
  at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode (DelegatingHttpsURLConnection.java:106)
  at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode (HttpsURLConnectionImpl.java:30)
  at com.applovin.impl.ma.c (SourceFile:613)
  at com.applovin.impl.ma.a (SourceFile:14914)
  at com.applovin.impl.ma.b (SourceFile:1174)
  at com.applovin.impl.d5$$ExternalSyntheticLambda0.run (R8$$SyntheticClass:57)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"x7.w TaskRunner" tid=1 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:401)
  at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:903)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1070)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"pool-9-thread-1" tid=2 Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:341)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block (AbstractQueuedSynchronizer.java:506)
  at java.util.concurrent.ForkJoinPool.unmanagedBlock (ForkJoinPool.java:3466)
  at java.util.concurrent.ForkJoinPool.managedBlock (ForkJoinPool.java:3437)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:1623)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:435)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1071)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"binder:25141_5" tid=3 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"binder:25141_6" tid=4 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"binder:25141_7" tid=5 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"Signal Catcher" tid=6 Runnable
  #00  pc 0x00000000004bed00  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack+108)
  #01  pc 0x00000000004b0618  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack const+388)
  #02  pc 0x00000000004aff58  /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run+164)
  #03  pc 0x00000000003b1e9c  /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint+452)
  #04  pc 0x00000000004c9e6c  /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump+232)
  #05  pc 0x00000000004c97d0  /apex/com.android.art/lib64/libart.so (art::ThreadList::DumpForSigQuit+244)
  #06  pc 0x00000000004c7070  /apex/com.android.art/lib64/libart.so (art::Runtime::DumpForSigQuit+48)
  #07  pc 0x00000000004c6560  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::HandleSigQuit+452)
  #08  pc 0x00000000004c60d8  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::Run+264)
  #09  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #10  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"perfetto_hprof_listener" tid=7 Native
  #00  pc 0x00000000000edda8  /apex/com.android.runtime/lib64/bionic/libc.so (read+8)
  #01  pc 0x0000000000026510  /apex/com.android.art/lib64/libperfetto_hprof.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ArtPlugin_Initialize::$_7> >+316)
  #02  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #03  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"Jit thread pool worker thread 0" tid=8 Native
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000023247c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks+140)
  #02  pc 0x00000000005a5300  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask+120)
  #03  pc 0x00000000005a50ec  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run+136)
  #04  pc 0x00000000005a4fc8  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback+164)
  #05  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #06  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"HeapTaskDaemon" tid=9 Waiting
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000023247c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks+140)
  #02  pc 0x000000000039b150  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::GetTask+740)
  #03  pc 0x000000000039adec  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks+48)
  at dalvik.system.VMRuntime.runHeapTasks (Native method)
  at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:687)
  at java.lang.Daemons$Daemon.run (Daemons.java:145)
  at java.lang.Thread.run (Thread.java:1012)

"binder:25141_1" tid=13 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"binder:25141_2" tid=14 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"binder:25141_3" tid=15 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"Profile Saver" tid=16 Native
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000023247c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks+140)
  #02  pc 0x00000000003cd160  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::Run+864)
  #03  pc 0x00000000003c33a4  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread+152)
  #04  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #05  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"pool-6-thread-1" tid=17 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:1672)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1188)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1071)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"RenderThread" tid=18 Native
  #00  pc 0x00000000000ef08c  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+12)
  #01  pc 0x0000000000018748  /system/lib64/libutils.so (android::Looper::pollInner+192)
  #02  pc 0x0000000000018624  /system/lib64/libutils.so (android::Looper::pollOnce+124)
  #03  pc 0x000000000028895c  /system/lib64/libhwui.so (android::uirenderer::ThreadBase::waitForWork+164)
  #04  pc 0x00000000002ac738  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop+400)
  #05  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #06  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #07  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"queued-work-looper" tid=19 Native
  #00  pc 0x00000000000ef08c  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+12)
  #01  pc 0x0000000000018748  /system/lib64/libutils.so (android::Looper::pollInner+192)
  #02  pc 0x0000000000018624  /system/lib64/libutils.so (android::Looper::pollOnce+124)
  #03  pc 0x000000000018cbbc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+48)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:176)
  at android.os.Looper.loop (Looper.java:328)
  at android.os.HandlerThread.run (HandlerThread.java:67)

"x7.w Dispatcher" tid=20 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:401)
  at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:903)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1070)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"AppUpdateService" tid=21 Native
  #00  pc 0x00000000000ef08c  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+12)
  #01  pc 0x0000000000018748  /system/lib64/libutils.so (android::Looper::pollInner+192)
  #02  pc 0x0000000000018624  /system/lib64/libutils.so (android::Looper::pollOnce+124)
  #03  pc 0x000000000018cbbc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+48)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:176)
  at android.os.Looper.loop (Looper.java:328)
  at android.os.HandlerThread.run (HandlerThread.java:67)

"AppLovinSdk:auxiliary_operations" tid=22 Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:341)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block (AbstractQueuedSynchronizer.java:506)
  at java.util.concurrent.ForkJoinPool.unmanagedBlock (ForkJoinPool.java:3466)
  at java.util.concurrent.ForkJoinPool.managedBlock (ForkJoinPool.java:3437)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:1623)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1176)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1071)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"AppLovinSdk:shared_thread_pool" tid=23 Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:341)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block (AbstractQueuedSynchronizer.java:506)
  at java.util.concurrent.ForkJoinPool.unmanagedBlock (ForkJoinPool.java:3466)
  at java.util.concurrent.ForkJoinPool.managedBlock (ForkJoinPool.java:3437)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:1623)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1183)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1071)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"binder:25141_8" tid=24 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"AppLovinSdk:shared_thread_pool" tid=25 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:1672)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1188)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1071)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"vivo.PerfThread" tid=26 Native
  #00  pc 0x00000000000ef08c  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+12)
  #01  pc 0x0000000000018748  /system/lib64/libutils.so (android::Looper::pollInner+192)
  #02  pc 0x0000000000018624  /system/lib64/libutils.so (android::Looper::pollOnce+124)
  #03  pc 0x000000000018cbbc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+48)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:176)
  at android.os.Looper.loop (Looper.java:328)
  at android.os.HandlerThread.run (HandlerThread.java:67)

"SurfaceSyncGroupTimer" tid=27 Native
  #00  pc 0x00000000000ef08c  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+12)
  #01  pc 0x0000000000018748  /system/lib64/libutils.so (android::Looper::pollInner+192)
  #02  pc 0x0000000000018624  /system/lib64/libutils.so (android::Looper::pollOnce+124)
  #03  pc 0x000000000018cbbc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+48)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:176)
  at android.os.Looper.loop (Looper.java:328)
  at android.os.HandlerThread.run (HandlerThread.java:67)

"hwuiTask1" tid=28 Native
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000009b844  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex+148)
  #02  pc 0x0000000000101dd4  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+80)
  #03  pc 0x000000000005d060  /system/lib64/libc++.so (std::__1::condition_variable::wait+24)
  #04  pc 0x00000000002b0a54  /system/lib64/libhwui.so (android::uirenderer::CommonPool::workerLoop+112)
  #05  pc 0x00000000002b0c94  /system/lib64/libhwui.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, android::uirenderer::CommonPool::CommonPool::$_0> > +208)
  #06  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #07  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"hwuiTask0" tid=29 Native
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000009b844  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex+148)
  #02  pc 0x0000000000101dd4  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+80)
  #03  pc 0x000000000005d060  /system/lib64/libc++.so (std::__1::condition_variable::wait+24)
  #04  pc 0x00000000002b0a54  /system/lib64/libhwui.so (android::uirenderer::CommonPool::workerLoop+112)
  #05  pc 0x00000000002b0c94  /system/lib64/libhwui.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, android::uirenderer::CommonPool::CommonPool::$_0> > +208)
  #06  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #07  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"x7.w TaskRunner" tid=30 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:401)
  at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:903)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1070)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"GoogleApiHandler" tid=34 Native
  #00  pc 0x00000000000ef08c  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+12)
  #01  pc 0x0000000000018748  /system/lib64/libutils.so (android::Looper::pollInner+192)
  #02  pc 0x0000000000018624  /system/lib64/libutils.so (android::Looper::pollOnce+124)
  #03  pc 0x000000000018cbbc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+48)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:176)
  at android.os.Looper.loop (Looper.java:328)
  at android.os.HandlerThread.run (HandlerThread.java:67)

"binder:25141_4" tid=38 Native
  #00  pc 0x00000000000ee0cc  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a4e0c  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000603ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x0000000000060734  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand+28)
  #04  pc 0x0000000000061130  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool+116)
  #05  pc 0x000000000006b210  /system/lib64/libbinder.so (android::PoolThread::threadLoop+28)
  #06  pc 0x00000000000142d0  /system/lib64/libutils.so (android::Thread::_threadLoop+288)
  #07  pc 0x00000000000ef2fc  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell+144)
  #08  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #09  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"x7.w TaskRunner" tid=39 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:401)
  at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:903)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1070)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"AudioPortEventHandler" tid=42 Native
  #00  pc 0x00000000000ef08c  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+12)
  #01  pc 0x0000000000018748  /system/lib64/libutils.so (android::Looper::pollInner+192)
  #02  pc 0x0000000000018624  /system/lib64/libutils.so (android::Looper::pollOnce+124)
  #03  pc 0x000000000018cbbc  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+48)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:339)
  at android.os.Looper.loopOnce (Looper.java:176)
  at android.os.Looper.loop (Looper.java:328)
  at android.os.HandlerThread.run (HandlerThread.java:67)

"x7.w Dispatcher" tid=44 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:401)
  at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:903)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1070)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"pool-10-thread-1" tid=45 Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:341)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block (AbstractQueuedSynchronizer.java:506)
  at java.util.concurrent.ForkJoinPool.unmanagedBlock (ForkJoinPool.java:3466)
  at java.util.concurrent.ForkJoinPool.managedBlock (ForkJoinPool.java:3437)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:1623)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:435)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1071)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"pool-11-thread-1" tid=46 Timed Waiting
  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:252)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:1672)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1188)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1071)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1131)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
  at java.lang.Thread.run (Thread.java:1012)

"HWC release" tid=678 Unknown
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000009b844  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex+148)
  #02  pc 0x0000000000101dd4  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+80)
  #03  pc 0x000000000005d060  /system/lib64/libc++.so (std::__1::condition_variable::wait+24)
  #04  pc 0x00000000000dd288  /system/lib64/libgui.so (android::gui::FenceMonitor::threadLoop+92)
  #05  pc 0x00000000000dcadc  /system/lib64/libgui.so (android::gui::FenceMonitor::loop+24)
  #06  pc 0x00000000000dd54c  /system/lib64/libgui.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void , android::gui::FenceMonitor*> >+64)
  #07  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #08  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"GPU completion" tid=700 Unknown
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000009b844  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex+148)
  #02  pc 0x0000000000101dd4  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+80)
  #03  pc 0x000000000005d060  /system/lib64/libc++.so (std::__1::condition_variable::wait+24)
  #04  pc 0x00000000000dd288  /system/lib64/libgui.so (android::gui::FenceMonitor::threadLoop+92)
  #05  pc 0x00000000000dcadc  /system/lib64/libgui.so (android::gui::FenceMonitor::loop+24)
  #06  pc 0x00000000000dd54c  /system/lib64/libgui.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void , android::gui::FenceMonitor*> >+64)
  #07  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #08  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

"binder:25141_3" tid=716 Unknown
  #00  pc 0x00000000000967c0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000009b844  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex+148)
  #02  pc 0x0000000000101dd4  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+80)
  #03  pc 0x000000000005d060  /system/lib64/libc++.so (std::__1::condition_variable::wait+24)
  #04  pc 0x00000000000cd5d4  /system/lib64/libgui.so (android::AsyncWorker::run+140)
  #05  pc 0x00000000000cd9c0  /system/lib64/libgui.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void , android::AsyncWorker*> >+64)
  #06  pc 0x0000000000102bb8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start+228)
  #07  pc 0x000000000009c328  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

I'm using the Sdk Version: 12.6.1 Affected users 300 80% of users are android 14 When I published the app without the AppLovin SDK, the ANRs stopped occurring

Shekhanzai commented 1 month ago

I'm using the new beta api for Initializing sdk maybe it's a case

applovinAsh commented 1 month ago

Thank you for providing that information. This appears to happen when the application is being shut down due to memory allocation issues. Could you check for any memory-related issues, such as potential memory leaks, in your app?

Shekhanzai commented 1 month ago

There isn't any memory leak in the app. When I integrate other ad network SDKs, such as AdMob, Yandex, or InMobi, the app runs without ANRs. However, when I integrate AppLovin into my app, ANRs start appearing on Android versions 14 and 12.

applovinAsh commented 1 month ago

@Shekhanzai - few more questions for you:

  1. Can you provide the percentage of users this has affected?
  2. are you using MAX Mediation or a different mediation provider?
  3. Are you able to recreate the issue? If so, can you provide the steps to reproduce?
  4. What application is experiencing this issue?