2013-03-24 85 views
0

我在我的應用程序使用UrbanAirship的原因和它使用的應用程序和顯示應用程序啓動時的崩潰報告選項時崩潰突然,這裏是崩潰日誌:什麼能以下的iPhone應用程序崩潰

Hardware Model:  iPhone5,2 
Process:   OlympusiPhone [5075] 
Path:   /Users/USER/OlympusiPhone.app/OlympusiPhone 
Identifier:  com.olympus.app 
Version:   16.0 
Code Type:  ARM 
Parent Process: launchd [1] 

Date/Time:  2013-04-07T11:48:30Z 
OS Version:  iPhone OS 6.1.2 (10B146) 
Report Version: 104 

Exception Type: SIGSEGV 
Exception Codes: SEGV_ACCERR at 0xf0000008 
Crashed Thread: 28 

Thread 0: 
0 libsystem_kernel.dylib    0x3a6a9e80 _semaphore_wait_trap + 8 
1 SpringBoardServices     0x37a0fc4b _SBSProcessAssertionCreateForPID + 423 
2 UIKit        0x343a2d6d -[UIApplication beginBackgroundTaskWithExpirationHandler:] + 69 
3 OlympusiPhone      0x00130d1d -[UAAnalytics enterBackground] (UAAnalytics.m:305) 
4 CoreFoundation      0x32426349 __CFXNotificationPost + 1421 
5 Foundation       0x32d3db7f -[NSNotificationCenter postNotificationName:object:userInfo:] + 71 
6 UIKit        0x3436f133 -[UIApplication _handleApplicationSuspend:eventInfo:] + 819 
7 UIKit        0x342e52d1 -[UIApplication handleEvent:withNewEvent:] + 2469 
8 UIKit        0x342e47ad -[UIApplication sendEvent:] + 73 
9 UIKit        0x342e41ef _UIApplicationHandleEvent + 6199 
10 GraphicsServices     0x35ffb5f7 _PurpleEventCallback + 591 
11 GraphicsServices     0x35ffb227 PurpleEventCallback + 35 
12 CoreFoundation      0x324aa3e7 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 35 
13 CoreFoundation      0x324aa38b __CFRunLoopDoSource1 + 139 
14 CoreFoundation      0x324a920f __CFRunLoopRun + 1383 
15 CoreFoundation      0x3241c23d _CFRunLoopRunSpecific + 357 
16 CoreFoundation      0x3241c0c9 _CFRunLoopRunInMode + 105 
17 GraphicsServices     0x35ffa33b _GSEventRunModal + 75 
18 UIKit        0x343382b9 _UIApplicationMain + 1121 
19 OlympusiPhone      0x000bae9f main (main.m:32) 

Thread 1: 
0 libsystem_kernel.dylib    0x3a6aa5d0 _kevent64 + 24 
1 libdispatch.dylib     0x3a5e1378 _dispatch_mgr_thread + 36 

Thread 2: 
0 libsystem_kernel.dylib    0x3a6a9e30 _mach_msg_trap + 20 
1 CoreFoundation      0x324aa2bb __CFRunLoopServiceMachPort + 131 
2 CoreFoundation      0x324a9031 __CFRunLoopRun + 905 
3 CoreFoundation      0x3241c23d _CFRunLoopRunSpecific + 357 
4 CoreFoundation      0x3241c0c9 _CFRunLoopRunInMode + 105 
5 WebCore        0x3841b395 _ZL12RunWebThreadPv + 445 
6 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 3: 
0 libsystem_kernel.dylib    0x3a6a9e30 _mach_msg_trap + 20 
1 CoreFoundation      0x324aa2bb __CFRunLoopServiceMachPort + 131 
2 CoreFoundation      0x324a9031 __CFRunLoopRun + 905 
3 CoreFoundation      0x3241c23d _CFRunLoopRunSpecific + 357 
4 CoreFoundation      0x3241c0c9 _CFRunLoopRunInMode + 105 
5 Foundation       0x32d6988d +[NSURLConnection(Loader) _resourceLoadLoop:] + 309 
6 Foundation       0x32ded231 __NSThread__main__ + 973 
7 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 4: 
0 libsystem_kernel.dylib    0x3a6a9e30 _mach_msg_trap + 20 
1 CoreFoundation      0x324aa2bb __CFRunLoopServiceMachPort + 131 
2 CoreFoundation      0x324a9031 __CFRunLoopRun + 905 
3 CoreFoundation      0x3241c23d _CFRunLoopRunSpecific + 357 
4 CoreFoundation      0x3247ac4b _CFRunLoopRun + 99 
5 OlympusiPhone      0x0011d303 +[UA_ASIHTTPRequest runRequests] (UA_ASIHTTPRequest.m:4795) 
6 Foundation       0x32ded231 __NSThread__main__ + 973 
7 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 5: 
0 libsystem_kernel.dylib    0x3a6ba08c ___psynch_cvwait + 24 
1 libsystem_c.dylib     0x3a60b875 _pthread_cond_timedwait + 45 
2 JavaScriptCore      0x363f0dfb __ZN3WTF15ThreadCondition9timedWaitERNS_5MutexEd + 107 
3 JavaScriptCore      0x36503537 JSC::BlockAllocator::blockFreeingThreadMain() + 83 
4 JavaScriptCore      0x36516033 _ZN3WTFL19wtfThreadEntryPointEPv + 15 
5 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 6: 
0 libsystem_kernel.dylib    0x3a6ba08c ___psynch_cvwait + 24 
1 libsystem_c.dylib     0x3a615cfd _pthread_cond_wait + 41 
2 JavaScriptCore      0x364966e1 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 145 
3 JavaScriptCore      0x36496625 JSC::MarkStackThreadSharedData::markingThreadMain() + 145 
4 JavaScriptCore      0x36516033 _ZN3WTFL19wtfThreadEntryPointEPv + 15 
5 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 7: 
0 libsystem_kernel.dylib    0x3a6ba594 ___select + 20 
1 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 8: 
0 libsystem_kernel.dylib    0x3a6a9e30 _mach_msg_trap + 20 
1 CoreFoundation      0x324aa2bb __CFRunLoopServiceMachPort + 131 
2 CoreFoundation      0x324a9031 __CFRunLoopRun + 905 
3 CoreFoundation      0x3241c23d _CFRunLoopRunSpecific + 357 
4 CoreFoundation      0x3241c0c9 _CFRunLoopRunInMode + 105 
5 WebCore        0x384b5cd1 _ZN7WebCoreL15runLoaderThreadEPv + 145 
6 JavaScriptCore      0x36516033 _ZN3WTFL19wtfThreadEntryPointEPv + 15 
7 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 9: 
0 libsystem_kernel.dylib    0x3a6a9e30 _mach_msg_trap + 20 
1 CoreFoundation      0x324aa2bb __CFRunLoopServiceMachPort + 131 
2 CoreFoundation      0x324a9031 __CFRunLoopRun + 905 
3 CoreFoundation      0x3241c23d _CFRunLoopRunSpecific + 357 
4 CoreFoundation      0x3241c0c9 _CFRunLoopRunInMode + 105 
5 AudioToolbox      0x31efc90b GenericRunLoopThread::Entry(void*) + 139 
6 AudioToolbox      0x31edd9f5 CAPThread::Entry(CAPThread*) + 297 
7 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 10: 
0 libsystem_kernel.dylib    0x3a6ba08c ___psynch_cvwait + 24 
1 libsystem_c.dylib     0x3a615cfd _pthread_cond_wait + 41 
2 JavaScriptCore      0x363f0dcd __ZN3WTF15ThreadCondition9timedWaitERNS_5MutexEd + 61 
3 WebCore        0x3862fe81 WTF::PassOwnPtr<WebCore::StorageTask> WTF::MessageQueue<WebCore::StorageTask>::waitForMessageFilteredWithTimeout<bool()(WebCore::StorageTask*)>(WTF::MessageQueueWaitResult&, bool (&)(WebCore::StorageTask*), double) + 57 
4 WebCore        0x3862fe35 WebCore::StorageThread::threadEntryPoint() + 125 
5 JavaScriptCore      0x36516033 _ZN3WTFL19wtfThreadEntryPointEPv + 15 
6 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 11: 
0 libsystem_kernel.dylib    0x3a6ba08c ___psynch_cvwait + 24 
1 libsystem_c.dylib     0x3a615cfd _pthread_cond_wait + 41 
2 CoreMedia       0x32a027c9 _FigSemaphoreWaitRelative + 269 
3 MediaToolbox      0x334f494f fpa_AsyncMovieControlThread + 55 
4 CoreMedia       0x32a2088b figThreadMain + 195 
5 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 12: 
0 libsystem_kernel.dylib    0x3a6ba08c ___psynch_cvwait + 24 
1 libsystem_c.dylib     0x3a615cfd _pthread_cond_wait + 41 
2 CoreMedia       0x32a027c9 _FigSemaphoreWaitRelative + 269 
3 MediaToolbox      0x334f494f fpa_AsyncMovieControlThread + 55 
4 CoreMedia       0x32a2088b figThreadMain + 195 
5 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 13: 
0 libsystem_kernel.dylib    0x3a6a9e30 _mach_msg_trap + 20 
1 MediaToolbox      0x334fab81 FigExpressNotificationThread + 101 
2 CoreMedia       0x32a2088b figThreadMain + 195 
3 libsystem_c.dylib     0x3a6130e1 _pthread_start + 309 

Thread 14: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 15: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 16: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 17: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 18: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 19: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 20: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 21: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 22: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 23: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 24: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 25: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 26: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 27: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 28 Crashed: 
0 libobjc.A.dylib      0x3a1c15d0 _objc_msgSend + 16 
1 OlympusiPhone      0x001345c3 -[UASQLite executeUpdate:] (UASQLite.m:299) 
2 OlympusiPhone      0x001369af __45-[UAAnalyticsDBManager addEvent:withSession:]_block_invoke_0 (UAAnalyticsDBManager.m:108) 
3 libdispatch.dylib     0x3a5e0793 _dispatch_call_block_and_release + 11 
4 libdispatch.dylib     0x3a5e3b3b _dispatch_queue_drain + 143 
5 libdispatch.dylib     0x3a5e167d _dispatch_queue_invoke + 45 
6 libdispatch.dylib     0x3a5e4613 _dispatch_root_queue_drain + 211 
7 libdispatch.dylib     0x3a5e47d9 _dispatch_worker_thread2 + 93 
8 libsystem_c.dylib     0x3a6087f1 _pthread_wqthread + 361 

Thread 29: 
0 libsystem_kernel.dylib    0x3a6bad98 ___workq_kernreturn + 8 
1 libsystem_c.dylib     0x3a6087f6 _pthread_wqthread + 366 

Thread 28 crashed with ARM Thread State: 
    r0: 0x1d8aee90  r1: 0x37f89fb0  r2: 0x3a83a4c0  r3: 0x1cd33cd0 
    r4: 0xf0000000  r5: 0x00000004  r6: 0x1d8aee90  r7: 0x08b0eec8 
    r8: 0x1cd33cd0  r9: 0x0dfe27ec r10: 0x00000004 r11: 0x1cdc2e50 
    ip: 0x3a813718  sp: 0x08b0ee88  lr: 0x3241fbfd  pc: 0x3a1c15d0 
    cpsr: 0x20000030 

這次事故的原因是什麼? 謝謝

+3

崩潰在線程28中。它在你的代碼中。 「UASQLite.m」第299行。 – rmaddy 2013-03-24 16:47:33

+1

@rmaddy:UA代表「Urban Airship」。所以,我猜這是Urban Airship的代碼。 – 2013-03-24 17:24:04

+2

看來你有這個源代碼。看看'UASQLite.m'第299行。否則,這應該發佈到Urban Airship支持。如果他們的代碼中存在錯誤,他們會想知道它。 – rmaddy 2013-03-24 17:25:41

回答

1

問題出在UrbanAirship圖書館的v1.3.6。 Urban Airship也做分析,儘管我沒有使用它,但是UrbanAirship在他們的數據庫中存儲事件並且代碼導致了崩潰。

要解決,請使用庫v1.3.7 +。

要使用,請刪除舊引用並添加新引用。

希望這會有所幫助。

+1

也許你會很好地解釋問題和解決方案。 – 2013-03-24 19:10:52