Crash report symbolication fails if app/binary name contains period (".")

Originator:julian.dreissig
Number:rdar://8352458 Date Originated:25-Aug-2010
Status:open Resolved:
Product:Xcode/iOS SDK Product Version:3.2.3/4.0.2
Classification: Reproducible:yes
 
Summary:
If your app title contains a period (".") the symbolication process of a crash log will fail (not able to find the appropriate binary).

Notes:
This bahviour is caused by a bug in the "symbolicatecrash" script: stripping of the file name suffix (usually ".app")  incorrectly strips every character after the first occcurence of a period and will thus result in a wrong filename (e.g. "mobile.de.app" - > "mobile" instead of "mobile.de").

This bug can be fixed with the following patch to the script:

214c214
<     $executable =~ s/\..*//g; # strip off the suffix, if any
---
>     $executable =~ s/\.[^\.]*$//g;    # strip off the suffix, if any

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!