如何处理崩溃日志?

时间:2011-08-03 19:37:46

标签: iphone objective-c xcode crash-reports

我有一些用户发送的崩溃日志,但现在不知道如何处理它们。

我尝试在xcode 4中打开它们,但无法理解任何内容,它主要只是数字。

以下是我自己设备上的一个类似的崩溃日志。它似乎是同样的崩溃。谁能告诉我发生了什么事?

注意它不是象征我的实际应用程序(Curl)的行。 enter image description here

1 个答案:

答案 0 :(得分:1)

看看this。值得注意的是:

$ 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