象征性的崩溃报告
Posted
技术标签:
【中文标题】象征性的崩溃报告【英文标题】:Symbolicating crash report 【发布时间】:2017-05-13 19:58:56 【问题描述】:我在同一个文件夹中拥有所有 dSYM 文件、崩溃文件和 .app 文件,使用此 command 表示崩溃报告:
symbolicatecrash myCrash.crash > SymbolicatedM.crash
但前几行仍然显示十六进制地址:
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001000da338
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 myApp 0x00000001000da338 0x1000c8000 + 74552
1 myApp 0x00000001000eac90 0x1000c8000 + 142480
2 myApp 0x0000000100120340 0x1000c8000 + 361280
3 myApp 0x0000000100120870 0x1000c8000 + 362608
4 UIKit 0x000000019467f0ec -[UIApplication sendAction:to:from:forEvent:] + 96
5 UIKit 0x00000001947ef6b4 -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 168
6 UIKit 0x000000019467f0ec -[UIApplication sendAction:to:from:forEvent:] + 96
7 UIKit 0x000000019467f06c -[UIControl sendAction:to:forEvent:] + 80
8 UIKit 0x00000001946695e0 -[UIControl _sendActionsForEvents:withEvent:] + 440
9 UIKit 0x0000000194669748 -[UIControl _sendActionsForEvents:withEvent:] + 800
10 UIKit 0x000000019467e950 -[UIControl touchesEnded:withEvent:] + 576
11 UIKit 0x000000019467e46c -[UIWindow _sendTouchesForEvent:] + 2480
12 UIKit 0x0000000194679804 -[UIWindow sendEvent:] + 3192
13 UIKit 0x000000019464a418 -[UIApplication sendEvent:] + 340
14 UIKit 0x0000000194e43f64 __dispatchPreprocessedEventFromEventQueue + 2400
15 UIKit 0x0000000194e3e6c0 __handleEventQueue + 4268
16 UIKit 0x0000000194e3eaec __handleHIDEventFetcherDrain + 148
17 CoreFoundation 0x000000018e4c9424 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
18 CoreFoundation 0x000000018e4c8d94 __CFRunLoopDoSources0 + 540
19 CoreFoundation 0x000000018e4c69a0 __CFRunLoopRun + 744
20 CoreFoundation 0x000000018e3f6d94 CFRunLoopRunSpecific + 424
21 GraphicsServices 0x000000018fe60074 GSEventRunModal + 100
22 UIKit 0x00000001946af130 UIApplicationMain + 208
23 myApp 0x00000001000d986c 0x1000c8000 + 71788
24 libdyld.dylib 0x000000018d40559c start + 4
文件夹内容如下:
myApp.app.dYSM、myCrash.crash、myApp、myApp.ipa 和其他 dYSM 文件
如何通过这个日志找到崩溃的原因?
【问题讨论】:
【参考方案1】:我必须从 iTunesConnect 网站下载 dSYM.zip 并将其与这些文件一起解压缩。
【讨论】:
以上是关于象征性的崩溃报告的主要内容,如果未能解决你的问题,请参考以下文章