我如何解释这个堆栈跟踪

时间:2020-01-09 13:25:28

标签: ios xcode crash crashlytics stack-trace

我看到一些我无法正确阅读的崩溃信息。

背景:应用程序具有本机部分。在常规React本机objc代码下面,还有一些其他模块。有很多自定义objc和swift代码。而且在最底层,我们有一个c / c ++引擎来执行伏都教。

注意:这些堆栈跟踪来自Firebase / Crashlytics。这些日志看起来像DSYM文件丢失了吗?还是我只是无法阅读它们?

第一个堆栈跟踪

Crashed: com.apple.main-thread
0  Objc/C++Part                   0x104052a6c Engine::setTask(Task const*) + 408
1  SwiftPart                      0x102dc14a8 __swift_memcpy2_1 + 3268
2  SwiftPart                      0x102d89c2c globalinit_33_D059BB15480DF7E417659EA3E0158837_func83 + 2880
3  SwiftPart                      0x102dc6a28 globalinit_33_164233930FF8443B67F99609B74287FF_func109 + 496
4  SwiftPart                      0x102dc2ff4 globalinit_33_F9D0611596767A886B653DD36AB555FE_func108 + 2208
5  Foundation                     0x196131050 __NSFireTimer + 64
6  CoreFoundation                 0x195cc5e00 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
7  CoreFoundation                 0x195cc5b3c __CFRunLoopDoTimer + 880
8  CoreFoundation                 0x195cc520c __CFRunLoopDoTimers + 276
9  CoreFoundation                 0x195cc0348 __CFRunLoopRun + 1920
10 CoreFoundation                 0x195cbf8a0 CFRunLoopRunSpecific + 464
11 GraphicsServices               0x19fc17328 GSEventRunModal + 104
12 UIKitCore                      0x199db0740 UIApplicationMain + 1936
13 MainApplication                0x1023390e4 main + 16 (main.m:16)
14 libdyld.dylib                  0x195b4a360 start + 4

该行是什么意思2 SwiftPart 0x102d89c2c globalinit_33_D059BB15480DF7E417659EA3E0158837_func83 + 2880 例如?我如何找出Engine::setTask(Task const*) + 408的确切含义?

第二个堆栈跟踪

Crashed: com.apple.main-thread
0  libswiftCore.dylib             0x1aba7b440 swift_isUniquelyReferenced_nonNull_native + 34
1  MainApplication                0x100bb6f60 thunk for @escaping @callee_guaranteed () -> () + 4309315424 (<compiler-generated>:4309315424)
2  libdispatch.dylib              0x19e18b7dc _dispatch_block_async_invoke2 + 104
3  libdispatch.dylib              0x19e1d9184 _dispatch_client_callout + 16
4  libdispatch.dylib              0x19e18b190 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1044
5  CoreFoundation                 0x19e48a5e4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
6  CoreFoundation                 0x19e4855d8 __CFRunLoopRun + 2004
7  CoreFoundation                 0x19e484adc CFRunLoopRunSpecific + 464
8  GraphicsServices               0x1a840a328 GSEventRunModal + 104
9  UIKitCore                      0x1a257fae0 UIApplicationMain + 1936
10 MainApplication                0x100b310e4 main + 16 (main.m:16)
11 libdyld.dylib                  0x19e30e360 start + 4

与此处相同。如何阅读?

0 个答案:

没有答案