ANR while fetching Device Volume

37 views
Skip to first unread message

Vishal Singh

unread,
Jul 28, 2025, 4:28:43 AMJul 28
to Interactive Media Ads SDK
JioSaavn Android App is facing a large number of ANRs coming from IMA when it tries to fetch the device volume on the main thread. We are attaching the detailed information and stack traces in this document. Please let us know if anything else is needed. Note: We had a similar ANR from GMA. In their case device volume was fetched by the OMSdk that they were using. We raised it to the OMSdk and they worked with the GMA to get it resolved. The fix was rolled out by GMA in v24.2.0 and is verified by us.

We would request the IMA team to look at these ANRs and provide us with the resolution at the earliest Stack trace 1 "main" tid=1 Native #00 pc 0x00000000000bd240 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32) #01 pc 0x000000000022a29c /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks+136) #02 pc 0x0000000000993d48 /apex/com.android.art/lib64/libart.so (artJniMethodEnd+344) #03 pc 0x00000000007865bc /apex/com.android.art/lib64/libart.so (art_jni_method_end+12) at android.os.BinderProxy.transactNative (Native method) at android.os.BinderProxy.transact (BinderProxy.java:655) at android.media.IAudioService$Stub$Proxy.getStreamVolume (IAudioService.java:5528) at android.media.AudioManager.getStreamVolume (AudioManager.java:1277) at com.google.ads.interactivemedia.v3.impl.zzb.zzk (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:19) at com.google.ads.interactivemedia.v3.impl.zzb.zzf (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:6) at com.google.ads.interactivemedia.v3.impl.zzaz.zzf (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:6) at com.google.ads.interactivemedia.v3.impl.zzbj.zzh (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:7) at com.google.ads.interactivemedia.v3.impl.zzbf.onPostMessage (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:2) at androidx.webkit.internal.WebMessageListenerAdapter.onPostMessage (WebMessageListenerAdapter.java:55) at java.lang.reflect.Method.invoke (Native method) at org.chromium.support_lib_boundary.util.BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter.invoke (BoundaryInterfaceReflectionUtil.java:162) at java.lang.reflect.Proxy.invoke (Proxy.java:1006) at org.chromium.support_lib_boundary.WebMessageListenerBoundaryInterface.onPostMessage (WebMessageListenerBoundaryInterface.java) at WV.B70.run (chromium-TrichromeWebViewGoogle6432.aab-stable-720406733:97) at android.os.Handler.handleCallback (Handler.java:959) at android.os.Handler.dispatchMessage (Handler.java:100) at android.os.Looper.loopOnce (Looper.java:257) at android.os.Looper.loop (Looper.java:342) at android.app.ActivityThread.main (ActivityThread.java:9634) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:619) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:929) Stack trace 2 "main" tid=1 Native #00 pc 0x000000000007590c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28) #01 pc 0x00000000001b067c /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148) #02 pc 0x0000000000674128 /apex/com.android.art/lib64/libart.so (art::GoToRunnable(art::Thread*)+480) #03 pc 0x0000000000673f04 /apex/com.android.art/lib64/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+28) at android.os.BinderProxy.transactNative (Native method) at android.os.BinderProxy.transact (BinderProxy.java:568) at android.media.IAudioService$Stub$Proxy.getStreamVolume (IAudioService.java:2748) at android.media.OppoBaseAudioManager.oppoGetStreamVolume (OppoBaseAudioManager.java:153) at android.media.AudioManager.getStreamVolume (AudioManager.java:1092) at com.google.ads.interactivemedia.v3.impl.zzb.zzk (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:19) at com.google.ads.interactivemedia.v3.impl.zzb.zzf (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:6) at com.google.ads.interactivemedia.v3.impl.zzaz.zzf (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:6) at com.google.ads.interactivemedia.v3.impl.zzbj.zzh (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:7) at com.google.ads.interactivemedia.v3.impl.zzbf.onPostMessage (com.google.ads.interactivemedia.v3:interactivemedia@@3.36.0:2) at androidx.webkit.internal.WebMessageListenerAdapter.onPostMessage (WebMessageListenerAdapter.java:55) at java.lang.reflect.Method.invoke (Native method) at org.chromium.support_lib_boundary.util.BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter.invoke (BoundaryInterfaceReflectionUtil.java:162) at java.lang.reflect.Proxy.invoke (Proxy.java:1006) at org.chromium.support_lib_boundary.WebMessageListenerBoundaryInterface.onPostMessage (WebMessageListenerBoundaryInterface.java) at WV.B70.run (chromium-TrichromeWebViewGoogle6432.aab-stable-720415733:97) at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loop (Looper.java:264) at android.app.ActivityThread.main (ActivityThread.java:8312) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:632) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1049)


The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. The firm is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Opinions, conclusions and other information in this e-mail and any attachments that do not relate to the official business of the firm are neither given nor endorsed by it.
JioSaavn cannot guarantee that e-mail communications are secure or error-free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. 

 

IMA SDK

unread,
Jul 28, 2025, 8:29:25 AMJul 28
to ima...@googlegroups.com

Hi,
Thank you for reaching out to the IMA SDK Support team.
To assist you further, could you please provide the following details for our investigation.

  1. A sample project that reproduces the issue
  2. Steps to replicate the issue
  3. Device information, especially for any specific device where the ANR occurs

Kindly provide the requested details via Reply privately to author option 

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=IMA+SDK&entry.460850823=500Ht00001swvOOIAY&entry.80707362=00320775

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.


Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-07-28 12:29:17Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01swvOO:ref" (ADR-00320775)



IMA SDK

unread,
Jul 28, 2025, 1:34:04 PMJul 28
to ima...@googlegroups.com
Hello Vishal,

Thanks for reaching out!

We have a newer release v3.37.0 that has made some changes to address the ANRs.

Please update to that newer version and let us know if the issue still persists.

 

Thanks,
 
Google Logo
Joshua
IMA SDK Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-07-28 17:33:50Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01swvOO:ref" (ADR-00320775)



Vishal Singh

unread,
Jul 29, 2025, 4:20:54 AMJul 29
to Interactive Media Ads SDK
Hi IMA SDK team,
  • This issue is not replicable at our side. We are tracking the numbers only on the production.
  • We don't see any pattern in the devices  or Android version.

    As we mentioned earlier, the similar issue was present in GMA and they have fixed it. 

    Please let me know if any other information is needed.


Vishal Singh

unread,
Aug 20, 2025, 5:24:04 AMAug 20
to Interactive Media Ads SDK
Hi IMA SDK team,
We have updated the sdk to the v3.37.0, but the mentioned ANRs are still present.
Please help us in resolving the issue at earliest.

Regards.

IMA SDK

unread,
Aug 21, 2025, 2:05:59 PMAug 21
to ima...@googlegroups.com
Hello Vishal,

Thanks for letting us know.

Would you be able to provide the following information so we can investigate further?
  • Full stack trace from all threads
  • Steps to reproduce
  • Sample project 
 

Thanks,
 
Google Logo
Joshua
IMA SDK Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-08-21 18:05:47Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01swvOO:ref" (ADR-00320775)



Vishal Singh

unread,
Aug 25, 2025, 4:31:23 AMAug 25
to Interactive Media Ads SDK
Hi Joshua,
I am attaching the full stack trace of the ANR.
However we are not able to reproduce this ANR at our side

Regards.
getStreamVolume_ANR_stacktrace.log

IMA SDK

unread,
Aug 26, 2025, 2:21:08 PMAug 26
to ima...@googlegroups.com
Hello Vishal,

Thanks for providing the stack trace.

We are looking into it and will get back to you as soon as there is an update.

 

Thanks,
 
Google Logo
Joshua
IMA SDK Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-08-26 18:20:59Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01swvOO:ref" (ADR-00320775)



Reply all
Reply to author
Forward
0 new messages