MoPub iOS SDK 5.1.0 crashes when "Limit Ad Tracking" is enabled


#1

Hi,
we are noticing crash starting from the second launch (yes, the first after the installation runs fine) of the app, if the option Limit Ad Tracking is enabled. If the option is disabled, the app crash no more.

Here the crashed stack trace:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000018e76b380
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread:  4

Thread 4 name:  Dispatch queue: com.apple.root.user-initiated-qos
Thread 4 Crashed:
0   WebCore                       	0x000000018e76b380 WebCore::FloatingPointEnvironment::saveMainThreadEnvironment+ 18244480 () + 64
1   WebCore                       	0x000000018e76b35c WebCore::FloatingPointEnvironment::saveMainThreadEnvironment+ 18244444 () + 28
2   WebCore                       	0x000000018d643f2c StartWebThread+ 257836 () + 548
3   libc++.1.dylib                	0x0000000184630700 std::__1::__call_once(unsigned long volatile&, void*, void (*)+ 243456 (void*)) + 160
4   WebCore                       	0x000000018d643cf8 WebThreadEnable + 84
5   WebKitLegacy                  	0x000000018ecddbe8 +[WebView+ 27624 (WebPrivate) enableWebThread] + 236
6   WebKitLegacy                  	0x000000018ecdd9a0 WebKitInitialize + 72
7   UIKit                         	0x000000018f4acce8 ___UIApplicationLoadWebKit_block_invoke + 216
8   libdispatch.dylib             	0x0000000184db0a60 _dispatch_client_callout + 16
9   libdispatch.dylib             	0x0000000184db4268 dispatch_once_f$VARIANT$mp + 60
10  libobjc.A.dylib               	0x0000000184679500 CALLING_SOME_+initialize_METHOD + 24
11  libobjc.A.dylib               	0x00000001846798d0 _class_initialize + 296
12  libobjc.A.dylib               	0x0000000184681a18 lookUpImpOrForward + 228
13  libobjc.A.dylib               	0x000000018468cc38 _objc_msgSend_uncached + 56
14  SBK2015                       	0x000000010236cc04 +[MPURLRequest userAgent] + 68612 (MPURLRequest.m:82)
15  SBK2015                       	0x000000010236c894 -[MPURLRequest initWithURL:] + 67732 (MPURLRequest.m:0)
16  SBK2015                       	0x000000010248525c -[MPAdServerCommunicator loadURL:] + 1217116 (MPAdServerCommunicator.m:81)
17  SBK2015                       	0x00000001024ea33c -[MPInterstitialAdManager loadAdWithURL:] + 1631036 (MPInterstitialAdManager.m:82)
18  SBK2015                       	0x00000001024ea45c -[MPInterstitialAdManager loadInterstitialWithAdUnitID:keywords:userDataKeywords:location:] + 1631324 (MPInterstitialAdManager.m:0)
19  SBK2015                       	0x00000001023b275c -[MPInterstitialAdController loadAd] + 354140 (MPInterstitialAdController.m:72)

Any suggestion? Thanks.


#2

Hi!

Thanks for reporting this.

Can you please reach out to support@mopub.com providing the following?

  • Number of observed app crashes/frequency of the crashes: (e.g 5 crashes in 500 ad requests et al)
  • MoPub SDK version:
  • Partner SDK version, if involved:
  • Ad unit ID associated with the crash:
  • Steps to replicate the crash:
  • Shareable Crashlytics link:

Many thanks!