Crashes in GAM SDK Version v24.3.0

62 views
Skip to first unread message

Vũ Mạnh Tuyên

unread,
Aug 13, 2025, 2:24:29 AM8/13/25
to Google Mobile Ads SDK Developers

Hi Google Mobile Ads SDK Team,

We are encountering recurring crashes in our production app which appear to originate from internal Google Mobile Ads SDK code.
These crashes are blocking for us and cannot be reproduced reliably in a sample project because they occur under specific runtime conditions inside the SDK.

Below are two example crash traces:

1. NullPointerException inside Bitmap

Fatal Exception: java.lang.NullPointerException  
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference  
android.graphics.Bitmap.createBitmap (Bitmap.java:868)  
android.os.Handler.dispatchMessage (Handler.java:100)  
m84.bcl.a (:com.google.android.gms.policy_ads_fdr_dynamite@251815214@251815204017.785561508.785561508:1)  
com.google.android.gms.ads.internal.util.f.a (:com.google.android.gms.policy_ads_fdr_dynamite@251815214@251815204017.785561508.785561508:1)  
m84.bcl.dispatchMessage (:com.google.android.gms.policy_ads_fdr_dynamite@251815214@251815204017.785561508.785561508:1)  
android.os.Looper.loopOnce (Looper.java:257)  
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:929)  
2.  ConcurrentModificationException inside ArrayMap  
Fatal Exception: java.util.ConcurrentModificationException  
android.util.ArrayMap.put (ArrayMap.java:628)  
com.google.android.gms.ads.nonagon.ad.nativead.assetsloader.f.b (:com.google.android.gms.policy_ads_fdr_dynamite@251815214@251815204017.785561508.785561508:18)  
m84.cki.run (:com.google.android.gms.policy_ads_fdr_dynamite@251815214@251815204017.785561508.785561508:29)  
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)  
java.lang.Thread.run (Thread.java:1012)  

Observations:

  • The crashes are occurring inside internal SDK classes, not triggered directly by our app logic.

  • Based on the stack traces, this seems to be caused by multi-threaded access to shared SDK state (ArrayMap) and null Bitmap references.

  • We cannot reproduce these crashes in a test environment, but they appear frequently in production and impact a significant number of users.

Request:

  • Please investigate these crashes with priority.

  • Since the stack traces point to exact internal classes and methods, we believe your engineering team can trace and fix the root cause without a reproducible sample from our side.

  • Let us know if you require additional information such as affected SDK version, device/OS distribution, or crash frequency from our analytics.

Thank you

Mobile Ads SDK Forum Advisor

unread,
Aug 13, 2025, 5:06:39 AM8/13/25
to protuy...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team. 

I’d recommend updating to the latest SDK version 24.5.0 to make sure you have the most recent fixes and improvements. If the issue still persists after updating, please let me know.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-08-13 09:05:51Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01syxHq:ref" (ADR-00329775)



Reply all
Reply to author
Forward
0 new messages