简体   繁体   English

如何处理崩溃日志?

[英]What To Do With Crash Log?

I had some crash logs sent by the user but don't know what to do with them now. 我有一些用户发送的崩溃日志,但是现在不知道该如何处理。

I tried opening them in xcode 4 but can't understand anything, its mostly just numbers. 我试着在xcode 4中打开它们,但什么也听不懂,大部分只是数字。

Here is a similar crash log from my own device that was symbolized. 这是我自己的设备中出现的类似崩溃日志的象征。 It seems to be the same crash though. 好像是一样的崩溃。 Can anyone tell me whats happening? 谁能告诉我发生了什么事?

Notice how its not symbolizing the lines for my actual app (Curl). 请注意,它如何不象征我的实际应用程序的行(卷曲)。 在此处输入图片说明

Take a look at this . 看看这个 Notably : 值得注意的是:

$ sudo cp /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/symbolicatecrash /usr/local/bin/
$ symbolicatecrash report.crash MobileLines.app.dSYM > report-with-symbols.crash

    Thread 0 Crashed:
    0   libobjc.A.dylib           0x300c87ec objc_msgSend + 20
    1   MobileLines               0x00006434 -[BoardView setSelectedPiece:] (BoardView.m:321)
    2   MobileLines               0x000064c2 -[BoardView touchesBegan:withEvent:] (BoardView.m:349)
    3   UIKit                     0x30a740ac -[UIWindow sendEvent:] + 264
    4   UIKit                     0x30a66110 -[UIApplication sendEvent:] + 248
    5   UIKit                     0x30a6565c _UIApplicationHandleEvent + 4088
    6   GraphicsServices          0x3169b0b4 PurpleEventCallback + 428
    7   GraphicsServices          0x3169d818 HeartbeatVBLCallback + 152
    8   IOMobileFramebuffer       0x31f3e8f8 IOMobileFramebufferNotifyFunc + 124
    9   com.apple.framework.IOKit 0x30f342b8 IODispatchCalloutFromCFMessage + 304
    10  CoreFoundation            0x3025ced4 __CFMachPortPerform + 72
    11  CoreFoundation            0x3025bed6 CFRunLoopRunSpecific + 2364
    12  CoreFoundation            0x3025b584 CFRunLoopRunInMode + 44
    13  GraphicsServices          0x316998e4 GSEventRunModal + 268
    14  UIKit                     0x30a5e308 -[UIApplication _run] + 404
    15  UIKit                     0x30a671dc UIApplicationMain + 1064
    16  MobileLines               0x00002090 main (main.m:16)
    17  MobileLines               0x0000202c start + 44

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

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