ANR related to chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>

1,747 views
Skip to first unread message

Dror Cohen

unread,
Jun 4, 2023, 8:31:01 AM6/4/23
to Google Mobile Ads SDK Developers
Hi there,

I'm getting ANRs related to "chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER> - org.chromium.android_webview.AwContents.m"

Sometimes there's a stack trace like the following that appears to be originating from AdMob:

#00 pc 0x000000000001f0ac /system/lib64/libc.so (syscall+28) #01 pc 0x00000000000d7224 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148) #02 pc 0x000000000051bd30 /system/lib64/libart.so (art::GoToRunnable(art::Thread*) (.llvm.<US_SOCIAL_SECURITY_NUMBER>)+480) #03 pc 0x000000000051bb0c /system/lib64/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+28) at android.os.BinderProxy.transactNative (Native method)

This Binder call may be taking too long, causing the main thread to wait, and triggering the ANR

at android.os.BinderProxy.transact (Binder.java:1129) at android.view.autofill.IAutoFillManager$Stub$Proxy.isServiceEnabled (IAutoFillManager.java:795) at android.view.autofill.AutofillManager.hasEnabledAutofillServices (AutofillManager.java:1246) at kC0.a (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:1) at org.chromium.ui.accessibility.AccessibilityState.a (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:396) at org.chromium.ui.accessibility.AccessibilityState.registerObservers (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:87) at J.N.M1Y_XVCN (Native method) at org.chromium.content.browser.BrowserStartupControllerImpl.a (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:10) at org.chromium.content.browser.BrowserStartupControllerImpl.f (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:67) at X9.run (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:102) at org.chromium.base.ThreadUtils.e (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:7) at org.chromium.android_webview.AwBrowserProcess.k (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:23) at com.android.webview.chromium.M.e (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:146) at com.android.webview.chromium.M.b (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:173) at com.android.webview.chromium.WebViewChromiumFactoryProvider.k (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:11) at com.android.webview.chromium.WebViewChromium.init (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:100) at android.webkit.WebView.<init> (WebView.java:678) at android.webkit.WebView.<init> (WebView.java:604) at android.webkit.WebView.<init> (WebView.java:587) at android.webkit.WebView.<init> (WebView.java:574) at android.webkit.WebView.<init> (WebView.java:564) at com.google.android.gms.ads.internal.webview.ac.<init> (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:1) at com.google.android.gms.ads.internal.webview.r.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:4) at com.google.android.gms.ads.internal.webview.v.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:4) at com.google.android.gms.ads.internal.js.k.<init> (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:3) at com.google.android.gms.ads.internal.js.q.run (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:5) at android.os.Handler.handleCallback (Handler.java:873) at android.os.Handler.dispatchMessage (Handler.java:99) at ati.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577) at com.google.android.gms.ads.internal.util.f.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:1) at ati.dispatchMessage (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577) at android.os.Looper.loop (Looper.java:193) at android.app.ActivityThread.main (ActivityThread.java:6975) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:865)

I'm using Unity 2021.3.21f Google Mobile Ads Unity Plugin v8.2.0, and have all optimization options turned on.
This error has been reported on both Android 9.0 and Android 12.These ANRs originating from AdMob makes my app cross the bad behavior threshold on PlayStore, so resolving them will be greatly appreciated.

Mobile Ads SDK Forum Advisor

unread,
Jun 7, 2023, 3:41:07 AM6/7/23
to dr...@tinker-labs.com, google-adm...@googlegroups.com
Hello Dror,

Thank you for reaching out to us.

For us to properly troubleshoot your issue, kindly provide us the following information below privately:
  • Sample App Project (If applicable)
  • Steps to replicate (If applicable)
  • App ID
  • Complete Stack Trace Error
  • Frequency of ANR
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=5004Q00002m9E8zQAE&entry.80707362=00182353

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:_00D1U1174p._5004Q2m9E8z:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Dror Cohen

unread,
Jun 7, 2023, 4:55:54 AM6/7/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Thank you.

Providing a sample app will not be possible, and steps to replicate are also not applicable.
The app id is: com.tinkerlabs.power.inc.idle

This is the complete stack trace of the ANR I received from Google Play:

#00 pc 0x000000000001f0ac /system/lib64/libc.so (syscall+28)#01 pc 0x00000000000d7224 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)#02 pc 0x000000000051bd30 /system/lib64/libart.so (art::GoToRunnable(art::Thread*) (.llvm.<US_SOCIAL_SECURITY_NUMBER>)+480)#03 pc 0x000000000051bb0c /system/lib64/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+28)at android.os.BinderProxy.transactNative (Native method)

This Binder call may be taking too long, causing the main thread to wait, and triggering the ANR

at android.os.BinderProxy.transact (Binder.java:1129)at android.view.autofill.IAutoFillManager$Stub$Proxy.isServiceEnabled (IAutoFillManager.java:795)at android.view.autofill.AutofillManager.hasEnabledAutofillServices (AutofillManager.java:1246)at kC0.a (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:1)at org.chromium.ui.accessibility.AccessibilityState.a (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:396)at org.chromium.ui.accessibility.AccessibilityState.registerObservers (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:87)at J.N.M1Y_XVCN (Native method)at org.chromium.content.browser.BrowserStartupControllerImpl.a (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:10)at org.chromium.content.browser.BrowserStartupControllerImpl.f (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:67)at X9.run (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:102)at org.chromium.base.ThreadUtils.e (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:7)at org.chromium.android_webview.AwBrowserProcess.k (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:23)at com.android.webview.chromium.M.e (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:146)at com.android.webview.chromium.M.b (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:173)at com.android.webview.chromium.WebViewChromiumFactoryProvider.k (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:11)at com.android.webview.chromium.WebViewChromium.init (chromium-SystemWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:100)at android.webkit.WebView.<init> (WebView.java:678)at android.webkit.WebView.<init> (WebView.java:604)at android.webkit.WebView.<init> (WebView.java:587)at android.webkit.WebView.<init> (WebView.java:574)at android.webkit.WebView.<init> (WebView.java:564)at com.google.android.gms.ads.internal.webview.ac.<init> (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:1)at com.google.android.gms.ads.internal.webview.r.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:4)at com.google.android.gms.ads.internal.webview.v.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:4)at com.google.android.gms.ads.internal.js.k.<init> (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:3)at com.google.android.gms.ads.internal.js.q.run (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:5)at android.os.Handler.handleCallback (Handler.java:873)at android.os.Handler.dispatchMessage (Handler.java:99)at ati.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577)at com.google.android.gms.ads.internal.util.f.a (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577:1)at ati.dispatchMessage (:com.google.android.gms.policy_ads_fdr_dynamite@231004601@231004600057.513700577.513700577)at android.os.Looper.loop (Looper.java:193)at android.app.ActivityThread.main (ActivityThread.java:6975)at java.lang.reflect.Method.invoke (Native method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:865)


In the last 28 days, errors that are related to "chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>" have been reported: 3 days ago, 4 days ago and 7 days ago.

I'm also getting a lot of separate ANRs related to "com.google.android.gms.policy_ads_fdr_dynamite" if that helps.

Thank you.

--
Dror Cohen
Indie Dev of Power Inc.
Follow Power Inc on Discord | Reddit | Twitter 

Mobile Ads SDK Forum Advisor

unread,
Jun 13, 2023, 1:54:31 AM6/13/23
to dr...@tinker-labs.com, google-adm...@googlegroups.com
Hello,

Thank you for the additional information.

Before we forward this information to our wider team for further investigation, are you using any Mediation networks? If so, kindly share.

Dror Cohen

unread,
Jun 13, 2023, 3:50:28 AM6/13/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Hi, I'm not using any mediation networks.

Thank you.

Mobile Ads SDK Forum Advisor

unread,
Jun 16, 2023, 1:16:15 PM6/16/23
to dr...@tinker-labs.com, google-adm...@googlegroups.com

Hi,

Thank you for your response.

Can you confirm first if you have tried to optimize initialization and ad loading (https://developers.google.com/admob/unity/optimize-initialization)? Asking this helps to improve the overall responsiveness of ads and help prevent "Application Not Responding" (ANR) (https://developer.android.com/topic/performance/vitals/anr) errors on your app. If you already tried this and ANR is still occurring, kindly let us know so we can share it to the wider team.

Dror Cohen

unread,
Jun 16, 2023, 3:58:13 PM6/16/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Thank you. I confirm I have already had these options turned on.

For now I have limited my marketing only to devices with Android 12+ which seems to have improved the situation. Nevertheless, I would prefer not to limit my marketing audience to only those with Android 12+, and of course devices with an older Android version who'd get my game through other means might increase my ANR rate again.

Thank you.

Mobile Ads SDK Forum Advisor

unread,
Jun 20, 2023, 3:27:18 PM6/20/23
to dr...@tinker-labs.com, google-adm...@googlegroups.com

Hi Dror,

Thank you for your response.

Let me share the details related to this ANR to the wider team to further investigate. We will update you once we have more information.

jude....@greedygame.com

unread,
Jun 23, 2023, 2:23:35 AM6/23/23
to Google Mobile Ads SDK Developers

I am also facing a similar issue. I have enabled the manifest flags for optimization for ad load and  sdk inititialization. Any update here? Using Admob 22.1.0

Mobile Ads SDK Forum Advisor

unread,
Jun 23, 2023, 2:22:30 PM6/23/23
to jude....@greedygame.com, google-adm...@googlegroups.com

Hi Jude,

Thank you for reaching out to us.

Currently there is no update yet on this ANR issue. Since you've mentioned that you are also encountering this, can you provide us the following information below so we can also provide it to the team who's investigating this?

  • Sample app project (if reproducible)
  • Full stack trace
  • Affected devices
  • Mediation adapter used (if any)
  • Frequency of crashes

You can provide the following details via reply on this thread 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=5004Q00002m9E8zQAE&entry.80707362=00182353

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:_00D1U1174p._5004Q2m9E8z:ref"


Thanks,
 
Google Logo Mobile Ads SDK Team


jude....@greedygame.com

unread,
Jun 26, 2023, 12:52:22 AM6/26/23
to Google Mobile Ads SDK Developers
I am not able to reproduce this issue while debugging, so I will not be able to provide a sample. However, the package name is com.english.listeningandspeaking.
Stacktrace from play console

Exception java.lang.RuntimeException:
  at org.chromium.android_webview.AwDataDirLock.b (chromium-TrichromeWebViewGoogle6432.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:187)
  at org.chromium.android_webview.AwBrowserProcess.k (chromium-TrichromeWebViewGoogle6432.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:15)
  at com.android.webview.chromium.M.d (chromium-TrichromeWebViewGoogle6432.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:183)
  at yC0.run (chromium-TrichromeWebViewGoogle6432.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:8)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)

  at android.app.ActivityThread.main (ActivityThread.java:8757)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)

Mobile Ads SDK Forum Advisor

unread,
Jun 26, 2023, 10:15:49 AM6/26/23
to jude....@greedygame.com, google-adm...@googlegroups.com
Hi Jude,

Thank you for confirming that the issue in not locally reproducible. Could you kindly confirm the following as well?
  • Affected devices
  • Mediation adapter used (if any)
  • Frequency of crashes
In addition, please share to us your App ID.
Reply all
Reply to author
Forward
0 new messages