[iOS] Multiple crashes in GADAdLoader.m

167 views
Skip to first unread message

Rowan Mulder

unread,
Oct 28, 2021, 8:42:19 AM10/28/21
to Google Mobile Ads SDK Developers
Hi Google Mobile Ads team,

We've been receiving multiple crash reports in Firebase/Crashlytics about GADAdLoader.m on our Production app, but have been unable to reproduce them locally.

Debugging by several members of our team have not let to any conclusion yet, which is why I'm reaching out to you as well.

It spans multiple app release, currently we're at the very latest Google Mobile Ads iOS SDK (but it also occurred in the previous release).

Best regards,


Rowan Mudder


Crash #1 (multiple occurrences)
--
Crashed: com.apple.root.default-qos
0  libobjc.A.dylib                0x1e1bc objc_initWeak + 128
1  Ads                            0xe6200 -[GADAdLoader loadRequest:] + 216 (GADAdLoader.m:216)
2  Ads                            0x12c14 specialized AdLoader.requestAd(environment:adDataModel:) + 46 (AdLoader.swift:46)
3  Ads                            0x116f8 closure #1 in AdManager.requestAd(adContext:adClickAction:completionHandler:) + 4326233848 (<compiler-generated>:4326233848)
4  Ads                            0x105fc thunk for @escaping @callee_guaranteed () -> () + 4326229500 (<compiler-generated>:4326229500)
5  libdispatch.dylib              0x5fa38 _dispatch_call_block_and_release + 24
6  libdispatch.dylib              0x607d4 _dispatch_client_callout + 16
7  libdispatch.dylib              0x4c80 _dispatch_queue_override_invoke + 684
8  libdispatch.dylib              0x11030 _dispatch_root_queue_drain + 372
9  libdispatch.dylib              0x118d4 _dispatch_worker_thread2 + 128
10 libsystem_pthread.dylib        0xc1b4 _pthread_wqthread + 464
11 libsystem_pthread.dylib        0xecd4 start_wqthread + 4

Crash #2 (multiple occurrences)
--
Crashed: com.apple.root.default-qos
0  libobjc.A.dylib                0x15c8 objc_msgSend + 8
1  Ads                            0xe6d5c -[GADAdLoader updateTargeting:] + 328 (GADAdLoader.m:328)
2  Ads                            0xe6170 -[GADAdLoader loadRequest:] + 209 (GADAdLoader.m:209)
3  Ads                            0x12c14 specialized AdLoader.requestAd(environment:adDataModel:) + 46 (AdLoader.swift:46)
4  Ads                            0x116f8 closure #1 in AdManager.requestAd(adContext:adClickAction:completionHandler:) + 4399142648 (<compiler-generated>:4399142648)
5  Ads                            0x105fc thunk for @escaping @callee_guaranteed () -> () + 4399138300 (<compiler-generated>:4399138300)
6  libdispatch.dylib              0x2914 _dispatch_call_block_and_release + 32
7  libdispatch.dylib              0x4660 _dispatch_client_callout + 20
8  libdispatch.dylib              0x7788 _dispatch_queue_override_invoke + 792
9  libdispatch.dylib              0x15dd0 _dispatch_root_queue_drain + 396
10 libdispatch.dylib              0x165f8 _dispatch_worker_thread2 + 164
11 libsystem_pthread.dylib        0x10b8 _pthread_wqthread + 228
12 libsystem_pthread.dylib        0xe94 start_wqthread + 8 

Crash #3  (multiple occurrences)
--
Crashed: com.apple.root.default-qos
0  libobjc.A.dylib                0x21e0 objc_msgSend + 32
1  Ads                            0xe74c8 -[GADAdLoader loadRequest:] + 209 (GADAdLoader.m:209)
2  Ads                            0x12e14 specialized AdLoader.requestAd(environment:adDataModel:) + 46 (AdLoader.swift:46)
3  Ads                            0x11910 closure #1 in AdManager.requestAd(adContext:adClickAction:completionHandler:) + 4392376592 (<compiler-generated>:4392376592)
4  Ads                            0x10884 thunk for @escaping @callee_guaranteed () -> () + 4392372356 (<compiler-generated>:4392372356)
5  libdispatch.dylib              0x2a84 _dispatch_call_block_and_release + 32
6  libdispatch.dylib              0x481c _dispatch_client_callout + 20
7  libdispatch.dylib              0x7968 _dispatch_queue_override_invoke + 756
8  libdispatch.dylib              0x15fe0 _dispatch_root_queue_drain + 388
9  libdispatch.dylib              0x167d8 _dispatch_worker_thread2 + 112
10 libsystem_pthread.dylib        0x3768 _pthread_wqthread + 216
11 libsystem_pthread.dylib        0xa74c start_wqthread + 8

Mobile Ads SDK Forum Advisor

unread,
Oct 28, 2021, 2:52:14 PM10/28/21
to google-adm...@googlegroups.com
Hi Rowan,

Thank you for bringing this to our attention. In looking over this we would start by asking if you can share with us a simple sample that shows this issue. As well as an steps to replicate this. Also more description of what you are seeing in regards to the crashes themselves.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2QFySs:ref

Rowan Mulder

unread,
Nov 3, 2021, 9:03:28 AM11/3/21
to Google Mobile Ads SDK Developers
Hi Google Mobile As SDK team,

Unfortunately we don't have a reproduction path which makes it very hard for us to debug. We are also unaware of what customers see (possibly a crash to the homescreen), as no public feedback has been received. We only have Crashlytics and Xcode Organizer crash reports.

Attached I've tried to extract the ads portion of our project's code with an example of the context data we send. I hope this is a little bit more helpful.

Best regards,


Rowan Mulder

GAds.zip

Mobile Ads SDK Forum Advisor

unread,
Nov 3, 2021, 5:12:33 PM11/3/21
to google-adm...@googlegroups.com
Hi Rowan,

Thank you for the sample. In testing this, we have been unable to find anything that we could comment on. We saw no crashes and have no idea of what or where the crashes could be coming from. If we can get some idea, then we can try to look in a more specific area. At the same time if you are able to see any crashes and can capture a Charles log, this can also help us.
Reply all
Reply to author
Forward
0 new messages