3

我最近设置了 Crashlytics 以从我的 iOS 应用程序接收崩溃日志,并且我不断收到 SIGABRT 崩溃日志,但我无法找到它的来源。

如果你能帮助我一点,这是崩溃日志:

Exception Type: SIGABRT Code: ABORT at 0x364b132c
com.apple.main-thread Crashed
     libsystem_kernel.dylib  __pthread_kill + 8
     libsystem_c.dylib   pthread_kill + 54
     libsystem_c.dylib   abort + 94
     libc++abi.dylib     abort_message + 46
     libc++abi.dylib     safe_handler_caller(void (*)()) + 120
     libc++abi.dylib     operator delete(void*)
     libc++abi.dylib     __cxa_current_exception_type
     libobjc.A.dylib     objc_exception_rethrow + 12
     CoreFoundation  CFRunLoopRunSpecific + 404
     CoreFoundation  CFRunLoopRunInMode + 104
     GraphicsServices    GSEventRunModal + 136
     UIKit   UIApplicationMain + 1080
     MyApplication   main.m line 16 main
com.apple.libdispatch-manager
     libsystem_kernel.dylib  kevent + 24
     libdispatch.dylib   _dispatch_mgr_invoke + 714
     libdispatch.dylib   _dispatch_mgr_wakeup
WebThread
     libsystem_kernel.dylib  __psynch_mutexwait + 24
     libsystem_c.dylib   pthread_mutex_lock + 382
     WebCore     _WebTryThreadLock(bool) + 214
     WebCore     WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 30
     CoreFoundation  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
     CoreFoundation  __CFRunLoopDoObservers + 258
     CoreFoundation  __CFRunLoopRun + 952
     CoreFoundation  CFRunLoopRunSpecific + 300
     CoreFoundation  CFRunLoopRunInMode + 104
     WebCore     RunWebThread(void*) + 402
     libsystem_c.dylib   _pthread_start + 320
com.crashlytics.MachExceptionServer
     libsystem_kernel.dylib  mach_msg_trap + 20
     libsystem_kernel.dylib  mach_msg + 56
     MyApplication   CLSMachExceptionServer + 120
     libsystem_c.dylib   _pthread_start + 320
com.apple.NSURLConnectionLoader
     libsystem_kernel.dylib  mach_msg_trap + 20
     libsystem_kernel.dylib  mach_msg + 56
     CoreFoundation  __CFRunLoopServiceMachPort + 126
     CoreFoundation  __CFRunLoopRun + 882
     CoreFoundation  CFRunLoopRunSpecific + 300
     CoreFoundation  CFRunLoopRunInMode + 104
     Foundation  +[NSURLConnection(Loader) _resourceLoadLoop:] + 308
     Foundation  -[NSThread main] + 72
     Foundation  __NSThread__main__ + 1048
     libsystem_c.dylib   _pthread_start + 320
Thread
     libsystem_kernel.dylib  __psynch_cvwait + 24
     libsystem_c.dylib   _pthread_cond_wait + 640
     libsystem_c.dylib   pthread_cond_wait + 40
     Foundation  -[NSCondition wait] + 196
     MyApplication  PFCommandCache.m line 496 -[PFCommandCache runLoop]
     Foundation  -[NSThread main] + 72
     Foundation  __NSThread__main__ + 1048
     libsystem_c.dylib   _pthread_start + 320
Thread
     libsystem_kernel.dylib  mach_msg_trap + 20
     libsystem_kernel.dylib  mach_msg + 56
     CoreFoundation  __CFRunLoopServiceMachPort + 126
     CoreFoundation  __CFRunLoopRun + 882
     CoreFoundation  CFRunLoopRunSpecific + 300
     CoreFoundation  CFRunLoopRunInMode + 104
     Foundation  -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 256
     Foundation  -[NSRunLoop(NSRunLoop) run] + 78
     MyApplication  PF_AFURLConnectionOperation.m line 151 +[PF_AFURLConnectionOperation networkRequestThreadEntryPoint:]
     Foundation  -[NSThread main] + 72
     Foundation  __NSThread__main__ + 1048
     libsystem_c.dylib   _pthread_start + 320
com.apple.CFSocket.private
     libsystem_kernel.dylib  __select + 20
     CoreFoundation  __CFSocketManager + 732
     libsystem_c.dylib   _pthread_start + 320
Thread
     libsystem_kernel.dylib  __workq_kernreturn + 8
     libsystem_c.dylib   _pthread_wqthread + 616
WebCore: CFNetwork Loader
     libsystem_kernel.dylib  mach_msg_trap + 20
     libsystem_kernel.dylib  mach_msg + 56
     CoreFoundation  __CFRunLoopServiceMachPort + 126
     CoreFoundation  __CFRunLoopRun + 882
     CoreFoundation  CFRunLoopRunSpecific + 300
     CoreFoundation  CFRunLoopRunInMode + 104
     WebCore     WebCore::runLoaderThread(void*) + 128
     libsystem_c.dylib   _pthread_start + 320
Thread
     libsystem_kernel.dylib  __workq_kernreturn + 8
     libsystem_c.dylib   _pthread_wqthread + 616
Thread
     libsystem_c.dylib   start_wqthread

谢谢你的帮助 !

编辑:为了清楚起见,我多次收到此崩溃日志,我无法在我的测试设备上重现该错误

4

2 回答 2

1

尝试在该十六进制代码上打印对象,有时可以提供一些见解。

po 0x364b132c

本来可以将此作为评论,但由于某种原因无法对您的帖子发表评论。

于 2013-05-29T18:12:15.273 回答
1

如果您关闭/重新打开您的应用程序,您似乎正在删除/删除 WebThread(UIWebView?)内的 applicationDelegate(applicationDidEnterBackground 等)中的某些内容。

于 2013-06-04T12:11:45.453 回答