ANR main Thread Blocked

114 views
Skip to first unread message

kerr...@gmail.com

unread,
Jun 24, 2024, 8:51:04 AM (5 days ago) Jun 24
to Google Mobile Ads SDK Developers
Hey guys, may be someone can hekp me.

i revieve this stack trace and not sure what was happens

#00 pc 0x00000000000870cc /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28) #01 pc 0x000000000008adb8 /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)

This native synchronization routine is blocking the main thread, causing an ANR. Learn more

#02 pc 0x00000000000ebd5c /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60) #03 pc 0x00000000064f57a0 /data/app/~~0-K8RixxGUCrqyqDNbEVUA==/com.google.android.trichromelibrary_647807133-Nz68C7CbE_IF3FnPcBBtAw==/base.apk!libmonochrome_64.so at J.N.Mhc_M_H$ (Native method) at org.chromium.components.viz.service.frame_sinks.ExternalBeginFrameSourceAndroid.doFrame (chromium-TrichromeWebViewGoogle6432.aab-stable-647807133:63) at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1037) at android.view.Choreographer.doCallbacks (Choreographer.java:863) at android.view.Choreographer.doFrame (Choreographer.java:790) at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1024) at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loop (Looper.java:236) at android.app.ActivityThread.main (ActivityThread.java:8069) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:620) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1011)

Mobile Ads SDK Forum Advisor

unread,
Jun 24, 2024, 12:03:02 PM (5 days ago) Jun 24
to kerr...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

If a thread is blocked when acquiring a lock, it can result in an ANR. Could you confirm whether you have enabled the Optimize initialization and ad loading inorder to enhance the overall responsiveness of ads and help prevent “Application Not Responding" (ANR) errors on your app. 

If the issue still persists, kindly provide the below information privately, so that we can review it and try to replicate the problem. After doing so, we will be better equipped to offer a solution. 

  • app ID
  • ad unit ID
  • Full stack trace
  • Sample project reproducing the issue
  • Steps to replicate the issue

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 via reply to author option or 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=5004Q00002tJRmYQAW&entry.80707362=00243566

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.

This message is in relation to case "ref:!00D1U01174p.!5004Q02tJRmY:ref" (ADR-00243566)

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages