如何解释在 firebase 中没有完全符号化的崩溃报告?

How to interpret crash reports that are not fully symbolicated in firebase?

我们在我们的应用程序中使用 firebase 崩溃分析,它通过指定函数名称甚至行号帮助我们快速解决错误,但有时它只提供

appDelegate.swift [start + 17644]

如何解读这份报告?为什么会这样?

这是线程的完整跟踪,应用程序名称替换为 appName

Exception name: EXC_SOFTWARE / UNCAUGHT_NS_EXCEPTION
1 CoreFoundation __exceptionPreprocess + 1241536
2 libobjc.A.dylib objc_exception_throw + 34136
3 CoreFoundation -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 80952
4 CoreFoundation +[NSDictionary dictionaryWithObjects:forKeys:count:] + 80552
5 FBSDKCoreKit 4304632780 + 244684
6 FBSDKCoreKit 4304632048 + 243952
7 FBSDKCoreKit 4304437716 + 49620
8 CoreFoundation __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 823848
9 CoreFoundation _CFXRegistrationPost + 821548
10 CoreFoundation ___CFXNotificationPost_block_invoke + 820904
11 CoreFoundation -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1276824
12 CoreFoundation _CFXNotificationPost + 44016
13 Foundation -[NSNotificationCenter postNotificationName:object:userInfo:] + 26152
14 UIKit -[UIApplication _deactivateForReason:notify:] + 491392
15 CoreFoundation __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 823848
16 CoreFoundation ___CFXRegistrationPost_block_invoke + 823692
17 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 905564
18 CoreFoundation __CFRunLoopDoBlocks + 903512
19 CoreFoundation __CFRunLoopRun + 896080
20 CoreFoundation CFRunLoopRunSpecific + 36932
21 GraphicsServices GSEventRunModal + 49556
22 UIKit -[UIApplication _run] + 504568
23 UIKit UIApplicationMain + 483376
24 appName main (AppDelegate.swift:18)
25 libdyld.dylib start + 17844

Thread 2
1 libsystem_kernel.dylib mach_msg_trap + 4460
2 libsystem_kernel.dylib mach_msg + 4056
3 CoreFoundation __CFRunLoopServiceMachPort + 904424
4 CoreFoundation __CFRunLoopRun + 895236
5 CoreFoundation CFRunLoopRunSpecific + 36932
6 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 51848
7 Foundation -[NSRunLoop(NSRunLoop) runUntilDate:] + 185720
8 UIKit -[UIEventFetcher threadMain] + 10422824
9 Foundation __NSThread__start__ + 1090680
10 libsystem_pthread.dylib _pthread_body + 14412
11 libsystem_pthread.dylib _pthread_start + 14172
12 libsystem_pthread.dylib thread_start + 3496

Thread 3
1 libsystem_kernel.dylib mach_msg_trap + 4460
2 libsystem_kernel.dylib mach_msg + 4056
3 CoreFoundation __CFRunLoopServiceMachPort + 904424
4 CoreFoundation __CFRunLoopRun + 895236
5 CoreFoundation CFRunLoopRunSpecific + 36932
6 CFNetwork +[NSURLConnection(Loader) _resourceLoadLoop:] + 847820
7 Foundation __NSThread__start__ + 1090680
8 libsystem_pthread.dylib _pthread_body + 14412
9 libsystem_pthread.dylib _pthread_start + 14172
10 libsystem_pthread.dylib thread_start + 3496

Thread 4
1 libsystem_kernel.dylib mach_msg_trap + 4460
2 libsystem_kernel.dylib mach_msg + 4056
3 CoreFoundation __CFRunLoopServiceMachPort + 904424
4 CoreFoundation __CFRunLoopRun + 895236
5 CoreFoundation CFRunLoopRunSpecific + 36932
6 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 51848
7 Foundation -[NSRunLoop(NSRunLoop) run] + 397836
8 appName +[GAI threadMain:] + 1782640
9 Foundation __NSThread__start__ + 1090680
10 libsystem_pthread.dylib _pthread_body + 14412
11 libsystem_pthread.dylib _pthread_start + 14172
12 libsystem_pthread.dylib thread_start + 3496

Thread 5
1 libsystem_kernel.dylib mach_msg_trap + 4460
2 libsystem_kernel.dylib mach_msg + 4056
3 appName google_breakpad::ExceptionHandler::WaitForMessage(void*) + 2388144
4 libsystem_pthread.dylib _pthread_body + 14412
5 libsystem_pthread.dylib _pthread_start + 14172
6 libsystem_pthread.dylib thread_start + 3496

Thread 6
1 libsystem_kernel.dylib mach_msg_trap + 4460
2 libsystem_kernel.dylib mach_msg + 4056
3 CoreFoundation __CFRunLoopServiceMachPort + 904424
4 CoreFoundation __CFRunLoopRun + 895236
5 CoreFoundation CFRunLoopRunSpecific + 36932
6 GeoServices _runNetworkThread + 4308864
7 libsystem_pthread.dylib _pthread_body + 14412
8 libsystem_pthread.dylib _pthread_start + 14172
9 libsystem_pthread.dylib thread_start + 3496

Thread 7
1 libsystem_kernel.dylib __workq_kernreturn + 129672
2 libsystem_pthread.dylib _pthread_wqthread + 4952 
3 libsystem_pthread.dylib start_wqthread + 3488 arrow_drop_down

Thread 8
1 libsystem_kernel.dylib __workq_kernreturn + 129672
2 libsystem_pthread.dylib _pthread_wqthread + 4468 
3 libsystem_pthread.dylib start_wqthread + 3488 arrow_drop_down

Thread 9
1 libsystem_kernel.dylib __workq_kernreturn + 129672
2 libsystem_pthread.dylib _pthread_wqthread + 4952
3 libsystem_pthread.dylib start_wqthread + 3488

Thread 10
1 CoreFoundation> -[__NSDictionaryM countByEnumeratingWithState:objects:count:] + 86492
2 appName +[FIRAEvent normalizedParametersForParameters:isPublicEvent:] + 1999144 3 appName +[FIRAEvent normalizedParametersForParameters:isPublicEvent:] + 1999144 4 appName -[FIRAEvent initWithOrigin:isPublic:name:timestamp:previousTimestamp:parameters:] + 2002028
5 appName +[FIRAnalytics logEventOnSerialQueueWithOrigin:isPublicEvent:name:parameters:timestamp:ignoreEnabled:ignoreInterceptor:addedScreenParameters:] + 2195924
6 appName __65+[FIRAnalytics logEventWithOrigin:isPublicEvent:name:parameters:]_block_invoke_3 + 2195040
7 libdispatch.dylib _dispatch_call_block_and_release + 4604
8 libdispatch.dylib _dispatch_client_callout + 4540
9 libdispatch.dylib _dispatch_queue_serial_drain + 62528
10 libdispatch.dylib _dispatch_queue_invoke + 18852
11 libdispatch.dylib _dispatch_root_queue_drain + 70536
12 libdispatch.dylib _dispatch_worker_thread3 + 69864
13 libsystem_pthread.dylib _pthread_wqthread + 4788
14 libsystem_pthread.dylib start_wqthread + 3488

您的应用因异常而崩溃。由于您的数据未显示异常字符串,因此不知道是哪种异常触发了崩溃。

异常是由于 FBSDKCoreKit 框架中的问题而引发的,这很可能是 Facebook 第 3 方 SDK。由于您很可能没有将该框架的调试符号上传到 Firebase,因此他们无法符号化它们并提供 类 和在这些框架中调用的方法。

异常是由 NSDictionary 对象的处理问题触发的,可能是试图为键插入 nil 值,但这只是一个猜测。

由于生成的堆栈跟踪中唯一的非系统帧来自您的应用程序调用,因此 Firebase 按该调用而不是 FBSDKCoreKit 中的调用对崩溃进行了分组。

要了解有关这些崩溃的更多信息,您需要上传 FBSDKCoreKit 框架的符号。根据给定的信息,不可能知道崩溃的原因以及如何修复它。