Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I symbolicate a crash report of a Mac OS X app that a user emailed to me?

I am working on an app that I have sent to a few beta testers. Within just a few minutes of launching the app a user got a crash. When the window poped up saying the app had crashed he copied all of the text in the details section and emailed it to me. I have saved the text into a plain text file and given it the .crash extension which causes it to be opened by console like a regular crash report so I think I have the extension right (but maybe not). The version I sent out was built by Xcode with the Archive option so Xcode knows where the app and .dSYM are. I know that with iPhone apps you can drag a crash report to the organizer and Xcode will symbolicate it for you. I can not find anywhere that will take a Mac crash report. I have looked at atos but it talks about memory locations including the location the app was running at and I don't see that information listed in the report I have. Looking at the raw crash report it looks like a view controller was released early but I can't really tell if that was the cause or a symptom. My real question is; is there a way to have Xcode symbolicate the report or a tool that I can just hand over the .dSYM file, app, and report and get back a symbolicated report? I've looked all over Google but everything I find (other than the previously mentioned man pages for atos) is about symbolicating iPhone reports, not Mac OS X ones.

like image 761
theMikeSwan Avatar asked May 22 '11 02:05

theMikeSwan


1 Answers

Or as in answer https://stackoverflow.com/a/18354072/317461

Put your release build and your .dSYM file in the same directory and open terminal

$cd directory
$lldb MyApp.app
(lldb) image lookup -v --address 0x00085f3c
like image 94
mahal tertin Avatar answered Sep 16 '22 14:09

mahal tertin