简体   繁体   English

ios anaylize崩溃日志?

[英]ios anaylize crash log?

I have the following symbolized crash log. 我有以下符号化的崩溃日志。 Or maybe something I missed? 或者也许是我错过的东西? Help please to understand what does it mean: 请帮助理解它的含义:

OS Version: iPhone OS 5.1.1 (9B206) Report Version: 104 操作系统版本:iPhone OS 5.1.1(9B206)报告版本:104

Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x00000000, 0x00000000 Crashed Thread: 0 异常类型:EXC_CRASH(SIGKILL)异常代码:0x00000000,0x00000000崩溃的线程:0

Thread 0 name: Dispatch queue: com.apple.main-thread 线程0名称:Dispatch queue:com.apple.main-thread

Thread 0 Crashed: 线程0崩溃:

0 libsystem_kernel.dylib 0x3591f628 0x3590e000 + 71208 0 libsystem_kernel.dylib 0x3591f628 0x3590e000 + 71208

1 libsystem_c.dylib 0x34accb1a nanosleep + 138 1 libsystem_c.dylib 0x34accb1a nanosleep + 138

2 libsystem_c.dylib 0x34ad7608 sleep + 40 2 libsystem_c.dylib 0x34ad7608 sleep + 40

3 ReportCrash 0x001046f2 0xfc000 + 34546 3 ReportCrash 0x001046f2 0xfc000 + 34546

4 ReportCrash 0x000fd474 0xfc000 + 5236 4 ReportCrash 0x000fd474 0xfc000 + 5236

it is state of your app at the crash moment, can show you where crash was. 它是崩溃时刻的应用程序状态,可以显示崩溃的位置。 In your case app crashed with Exception Type: EXC_CRASH (SIGKILL) in thread 0 and you can see stacks of functions of all active threads. 在您的情况下,应用程序在线程0中以异常类型:EXC_CRASH(SIGKILL)崩溃,您可以看到所有活动线程的函数堆栈。 If you want convert it to human readable view, you should use special programs like symbolicate , atos or dwarfdump. 如果要将其转换为人类可读的视图,则应使用symbolicate,atos或dwarfdump等特殊程序。

More: 更多:

http://kevincupp.com/2011/05/12/symbolicating-ios-crash-logs.html http://kevincupp.com/2011/05/12/symbolicating-ios-crash-logs.html

http://aplus.rs/ios-dev/guide-to-symbolicating-iphone-app-crash-logs-with-xcode-4-2/ http://aplus.rs/ios-dev/guide-to-symbolicating-iphone-app-crash-logs-with-xcode-4-2/

(about atos i have link just in Russian) (关于atos我只用俄语链接)

It is very simple if you have the archive file in Xcode -> Widow ->Organizer and a corresponding crash log file. 如果您在Xcode - > Widow - > Organizer中存档文件以及相应的崩溃日志文件,则非常简单。

Connect your device to mac 将您的设备连接到mac

goto Xcode->Window-> devices 转到Xcode-> Window-> devices

Click on your device on the left panel 单击左侧面板上的设备

Click on view device logs 单击查看设备日志

Select the log you want to symbolicate. 选择要符号化的日志。 (OR) If you have a crash log file on your system then click on All logs option on the left panel and drag the log file into left panel section. (或)如果系统上有崩溃日志文件,则单击左侧面板上的“所有日志”选项,然后将日志文件拖到左侧面板部分。

Right click on the selected log and click re-symbolicate 右键单击所选日志,然后单击“重新符号化”

Done!!! 完成! ,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM