gpt4 book ai didi

iOS SIGABRT 即将推出

转载 作者:行者123 更新时间:2023-12-01 18:09:48 27 4
gpt4 key购买 nike

我最近设置了 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

感谢您的帮助!

编辑:需要明确的是,我多次收到此崩溃日志,我无法在我的测试设备上重现该错误

最佳答案

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

关于iOS SIGABRT 即将推出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16760034/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com