Closed GoogleCodeExporter closed 9 years ago
I should point out that i generate the crash log within the iOS app and then
send the report via email. I use the following code to create the crash report:
if ([[PLCrashReporter sharedReporter] hasPendingCrashReport]) {
NSData *data = [[PLCrashReporter sharedReporter] loadPendingCrashReportData];
if (data) {
PLCrashReport *report = [[PLCrashReport alloc] initWithData:data error:nil];
NSString *crash = [PLCrashReportTextFormatter stringValueForCrashReport:report withTextFormat:PLCrashReportTextFormatiOS];
The "crash" text is added to an email as an attachment. This all works great on
an armv7 device but with an armv7s device, the resulting report can't be
symbolicated.
Original comment by rma...@gmail.com
on 28 Nov 2012 at 7:57
Is anyone else having this problem or is it working for everyone but me? I'd
like to know if I did something wrong or there really is an issue with this
update. Thanks.
Original comment by rma...@gmail.com
on 30 Nov 2012 at 6:28
Could be more specific about what the symbolication error looks like? Is there
any major difference in the generated crash reports? I am not aware of a
general issue and we have millions of crash reports successfully created and
symbolicated, with armv7 and armv7s. So without further details, it is nearly
impossible to say what the problem is.
Did you check if the dSYM is the correct one? Do "dwarfdump --uuid my.app.dSYM"
and compare the UUID with the one in the first line under "Binary Images" in
the crash report.
Original comment by linde.andreas
on 30 Nov 2012 at 9:23
After some digging, I have found a clue. When I get the crash report from my
app (running on an armv7s device), the Binary Images section of the report
shows arm-unknown after every library/framework. The exact same app (adhoc
build) run on a device with an armv7, properly shows armv7 after every
library/framework in the Binary Images section.
Looking at the source code, this is coming from the PLCrashReportTextFormatter
class which I'm using in the app like shown above in my earlier comment.
Does anyone have any pointers to resolve this?
Thanks
Original comment by rma...@gmail.com
on 30 Nov 2012 at 11:30
I found the bug. There is a missing "break" statement in
PLCrashReportTextFormatter.m at line 355 (from 1.1-rc1 tag). I'll open a new
bug specific to this issue.
Original comment by rma...@gmail.com
on 30 Nov 2012 at 11:43
This issue can be closed.
Original comment by rma...@gmail.com
on 30 Nov 2012 at 11:44
Original comment by landon.j.fuller@gmail.com
on 1 Dec 2012 at 2:24
Original issue reported on code.google.com by
rma...@gmail.com
on 28 Nov 2012 at 7:28