2013-08-29 72 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,如果該應用程序不準備處理,它可能會崩潰讀取。