App crawls to a stop whenever a video ad is playing

116 views
Skip to first unread message

Poppuff Arthem

unread,
May 3, 2019, 6:46:45 PM5/3/19
to Google Mobile Ads SDK Developers
Whenever some video ads are playing, the app is just extremely slow, almost stopped.

Format is Medium Rectangle.

Any way to fix this ?

mobileadssdk...@google.com

unread,
May 5, 2019, 11:35:38 PM5/5/19
to Poppuff Arthem, Google Mobile Ads SDK Developers
Hi there,

Thank you for reaching out to us.

Could you provide us with the details below using Reply privately to author option for us to check on our end?
  • Ad Unit ID
  • Link of your app in Play Store (if available, also include the reproducible steps where your app experienced extreme slowness and almost stopped)
  • If Play Store app is not available, please provide us with your sample app
  • Captured Charles log (see instructions here)
  • Video screen capture of your app's Memory Profiler
Regards,
Mark Albios
Mobile Ads SDK Team


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/8bf16de1-d0d7-4ec9-8344-0c9b0999d2cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mobileadssdk...@google.com

unread,
May 7, 2019, 1:21:11 AM5/7/19
to Poppuff Arthem, Google Mobile Ads SDK Developers
Hi,

I'm Mark's colleague and I'll be assisting you on this.

I tried your published app and I wasn't able to replicate the issue. 

Since you mentioned that this behavior is only reproducible to those specific Ad creatives, then this might be an Ad creative specific issue. However, we need to verify this. It will help to our investigation if you could provide to us the Charles logs captured and memory profiler when those Ad creatives loaded to your app. 

Regards,
Teejay Pimentel
Mobile Ads SDK Team

Poppuff Arthem

unread,
May 10, 2019, 7:21:31 AM5/10/19
to google-adm...@googlegroups.com
I can reproduce the issue by going with a VPN to Malaysia or Philippines but that prevent me from logging the exchanges with Charles/Fiddler.

I do however have this : 

"main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x7424b730 self=0x77e3e14c00 | sysTid=8262 nice=-20 cgrp=default sched=1073741825/1 handle=0x7868b5a9a8 | state=S schedstat=( 27750335628 9975111354 47809 ) utm=2077 stm=698 core=4 HZ=100 | stack=0x7fcd4b5000-0x7fcd4b7000 stackSize=8MB | held mutexes=
#00 pc 000000000001dcac /system/lib64/libc.so (syscall+28)
#01 pc 00000000000e8100 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+152)
#02 pc 00000000005295c0 /system/lib64/libart.so (art::GoToRunnable(art::Thread*)+440)
#03 pc 00000000005293b8 /system/lib64/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+28)
#04 pc 000000000091945c /system/framework/arm64/boot-framework.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+220)
at android.os.BinderProxy.transactNative (Native method)
at android.os.BinderProxy.transact (Binder.java:769)
at android.media.IAudioService$Stub$Proxy.getStreamVolume (IAudioService.java:1054)
at android.media.AudioManager.getStreamVolume (AudioManager.java:980)
at com.google.android.gms.ads.internal.util.af.a (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:2)
at com.google.android.gms.ads.nonagon.ad.activeview.d.a (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:22)
at com.google.android.gms.ads.nonagon.ad.activeview.f.a (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:4)
- locked <0x055f9d84> (a com.google.android.gms.ads.nonagon.ad.activeview.f)
at com.google.android.gms.ads.nonagon.ad.activeview.b.a (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:5)
at com.google.android.gms.ads.internal.webview.j.a (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:25)
at com.google.android.gms.ads.internal.webview.ad.a (unavailable:4)
at com.google.android.gms.ads.internal.webview.ae.run (unavailable)
at android.os.Handler.handleCallback (Handler.java:790)
at android.os.Handler.dispatchMessage (Handler.java:99)
at aai.a (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502)
at com.google.android.gms.ads.internal.util.e.a (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:1)
at aai.dispatchMessage (com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502)
at android.os.Looper.loop (Looper.java:171)
at android.app.ActivityThread.main (ActivityThread.java:6651)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:824)



And another one (Biggest ANR cause of my app...) :

"main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x74d29518 self=0x77142c0a00 | sysTid=27559 nice=-10 cgrp=default sched=0/0 handle=0x771952b9c8 | state=S schedstat=( 112507360646 11562428841 182077 ) utm=8683 stm=2566 core=6 HZ=100 | stack=0x7fc7111000-0x7fc7113000 stackSize=8MB | held mutexes=
#00 pc 000000000001db2c /system/lib64/libc.so (syscall+28)
#01 pc 00000000000e1b78 /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+152)
#02 pc 00000000004e20cc /system/lib64/libart.so (_ZN3artL12GoToRunnableEPNS_6ThreadE+440)
#03 pc 00000000004e1ecc /system/lib64/libart.so (_ZN3art12JniMethodEndEjPNS_6ThreadE+28)
#04 pc 000000000099689c /system/framework/arm64/boot-framework.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+220)
at android.os.BinderProxy.transactNative (Native method)
at android.os.BinderProxy.transact (Binder.java:761)
at android.hardware.display.IDisplayManager$Stub$Proxy.getDisplayInfoEx (IDisplayManager.java:1495)
at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:170)
- locked <0x03c9fc6e> (a java.lang.Object)
at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:148)
at android.hardware.display.DisplayManagerGlobal.getCompatibleDisplay (DisplayManagerGlobal.java:270)
at android.app.ResourcesManager.getAdjustedDisplay (ResourcesManager.java:278)
- locked <0x02fe2f0f> (a android.app.ResourcesManager)
at android.app.ContextImpl.getDisplay (ContextImpl.java:2212)
at android.view.WindowManagerImpl.getDefaultDisplay (WindowManagerImpl.java:178)
at com.google.android.gms.ads.nonagon.ad.activeview.c.a (com.google.android.gms.dynamite_adsdynamite@17122051@17.1.22 (040408-245988633):39)
at com.google.android.gms.ads.nonagon.ad.activeview.e.a (com.google.android.gms.dynamite_adsdynamite@17122051@17.1.22 (040408-245988633):18)
- locked <0x0e20a79e> (a com.google.android.gms.ads.nonagon.ad.activeview.e)
at com.google.android.gms.ads.nonagon.ad.activeview.a.a (com.google.android.gms.dynamite_adsdynamite@17122051@17.1.22 (040408-245988633):6)
at com.google.android.gms.ads.internal.webview.k.a (com.google.android.gms.dynamite_adsdynamite@17122051@17.1.22 (040408-245988633):291)
at com.google.android.gms.ads.internal.webview.ae.a (unavailable:3)
at com.google.android.gms.ads.internal.webview.ad.run (unavailable:1)
at android.os.Handler.handleCallback (Handler.java:789)
at android.os.Handler.dispatchMessage (Handler.java:98)
at vq.a (com.google.android.gms.dynamite_adsdynamite@17122051@17.1.22 (040408-245988633):5)
at com.google.android.gms.ads.internal.util.f.a (com.google.android.gms.dynamite_adsdynamite@17122051@17.1.22 (040408-245988633):8)
at vq.dispatchMessage (com.google.android.gms.dynamite_adsdynamite@17122051@17.1.22 (040408-245988633):4)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6944)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)


As you can see it's google ads code running on the main thread, where it has nothing to do... It's the reason the app crawls to a stop and causes ANR's

mobileadssdk...@google.com

unread,
May 13, 2019, 11:27:55 PM5/13/19
to Poppuff Arthem, Google Mobile Ads SDK Developers
Hi Poppuff,

Thank you for providing the crash log. I'll raise this to the Engineering team and get back to you for any update.

In addition, could you also share with us the SDK version that you are using?


Regards,
Teejay Pimentel
Mobile Ads SDK Team

Poppuff Arthem

unread,
May 25, 2019, 3:31:36 PM5/25/19
to Google Mobile Ads SDK Developers
17.2.0

Mobile Ads SDK Forum Advisor Prod

unread,
May 27, 2019, 1:36:18 AM5/27/19
to 1.po...@gmail.com, google-adm...@googlegroups.com
Hi Poppuff,

Thank you for providing the details. I already raise all the of the information to the Engineering team and I'll get back to for any feedback.


Regards,
Teejay Pimentel
Mobile Ads SDK Team
 

ref:_00D1U1174p._5001UAqcuM:ref
Reply all
Reply to author
Forward
0 new messages