2013-08-29 71 views
1

我在iTunes连接中收到这些崩溃报告。 它似乎是以某种方式与advertisingIdentifier相关的,它在2个不同的线程上被调用。advertisingIdentifier崩溃 - 未能及时恢复

你遇到过这样的事吗?你能说出是什么原因吗?

Exception Type: 00000020 
Exception Codes: 0x000000008badf00d 
Highlighted Thread: 0 

Application Specific Information: 
xxxx failed to resume in time 

Elapsed total CPU time (seconds): 7.840 (user 7.840, system 0.000), 42% CPU 
Elapsed application CPU time (seconds): 0.001, 0% CPU 

Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0: 
0 libsystem_kernel.dylib   0x3b906eb4 mach_msg_trap + 20 
1 libsystem_kernel.dylib   0x3b907048 mach_msg + 36 
2 MobileCoreServices    0x34a2d824 _LSPluginClient_GetAdvertisingIdentifier + 48 
3 MobileCoreServices    0x34a319b4 _LSCopyAdvertisingIdentifier + 36 
4 MobileCoreServices    0x34a19320 __56-[LSApplicationWorkspace deviceIdentifierForAdvertising]_block_invoke_0 + 8 
5 libdispatch.dylib    0x3b8304b4 _dispatch_client_callout + 20 
6 libdispatch.dylib    0x3b8363f2 dispatch_once_f$VARIANT$mp + 38 
7 MobileCoreServices    0x34a192a6 -[LSApplicationWorkspace deviceIdentifierForAdvertising] + 34 
8 AdSupport      0x32e52db2 -[ASIdentifierManager advertisingIdentifier] + 54 
9 xxxx     0x001f0f9e +[CBIdentity cbuia] + 62 
10 xxxx     0x001f121a +[CBIdentity combinedIdentifier] + 134 
11 xxxx     0x001f0e38 +[CBIdentity hexIdentifier] + 28 
12 xxxx     0x001ecade -[CBAPIRequest appendDeviceInfoParams] + 418 
13 xxxx     0x001e908a -[Chartboost startSession] + 254 
14 xxxx     0x0014eda2 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.mm:317) 

... 

Thread 5: 
0 libsystem_kernel.dylib   0x3b906f04 semaphore_wait_trap + 8 
1 libdispatch.dylib    0x3b8362fc _dispatch_thread_semaphore_wait$VARIANT$mp + 8 
2 libdispatch.dylib    0x3b83644a dispatch_once_f$VARIANT$mp + 126 
3 MobileCoreServices    0x34a192a6 -[LSApplicationWorkspace deviceIdentifierForAdvertising] + 34 
4 AdSupport      0x32e52db2 -[ASIdentifierManager advertisingIdentifier] + 54 
5 xxxx     0x0026bed6 +[FlurryUtil getIdentifierForAdvertiser] + 66 
6 xxxx     0x002687b2 -[FlurrySession dataForSessions:] + 786 
7 xxxx     0x002677c8 -[FlurrySession sendSessionsToServerIncludingCurrentSession:] + 512 
8 xxxx     0x002675c2 -[FlurrySession sendSessionsToServerForCreateSession] + 18 
9 xxxx     0x00273a82 __50-[FlurryImpl sendSessionsToServerForCreateSession]_block_invoke_0 + 34 

回答

0

我很确定它的背景任务相关,在你的情况下,有关ChartBoost和Flurry做背景任务的东西。

做应用上的一个后台网络呼叫时暂停,当一个分析框架和别的东西也我觉得做一些后台工作,我看到了同样的效果......

在我来说,我确信网络我在做的电话在10秒内完成,在这一点上我杀死了后台任务,或者如果它早些时候完成,我也杀了后台任务。当应用即将恢复时,我也终止了后台任务。

如果你已经打算远为背景的任务是什么工作的库都这么做,那么请尝试删除一个,看看你是否有同样的问题。最糟糕的情况是,你可能会想出如何阻止其中一个库进行后台处理(我认为Flurry至少有一个选项,你可以告诉它不要在后台发送数据),看看这是否也有帮助。

0

广告ID从加密的文件,所以如果用户不得不重新启动,并没有解锁自己的手机与当时针访问标识符将返回null,如果该应用程序不准备处理,它可能会崩溃读取。