SquareSquash / cocoa

Squash iOS and Mac OS X client library
Apache License 2.0
4 stars 4 forks source link

Issue with symbolication #2

Open casey55 opened 11 years ago

casey55 commented 11 years ago

I can build my app and everything seems to upload fine, however when I want to view a crash the symbolication output is pointing to the wrong file that the crash occurred in.

Under the Location heading on the website it references the correct github revision of the app, but the file and line number it points to are incorrect. Sometimes it even says

"Couldn’t find that commit or file."

Any ideas on what I'm doing wrong? Thanks

casey55 commented 11 years ago

Hello,

We are still not able to get our crashes that get uploaded to Squash to correctly report the file and line number where the crash happened. We have not even been able to get the sample app to report correctly.

Also the addresses that are generated by PLCrashReporter all seem to be off by 5 and this causes all addresses to be off. After adjusting for this, the addresses from the Sample app and Xcode crash report exactly match up. But the problem remains that Squash does not report the correct file or line number.

Viewing the Squash logs we can see the App's symbolication info gets uploaded and when a crash is reported the data gets uploaded to Squash also. So all looks good with this process.

One thing we have noticed is it appears that the Squash cocoa client does not send any "offset/load" (the Binary Image address of the app) that it would use along with the stackFrame address (sent in the crash JSON) to calculate correct address for the file and line number. Also it looks like none of the Binary Image info for the system libraries are being sent either.

Any ideas on to where we are going wrong?

Thanks, Casey