Bug 4435 - Crash log symbolication (symbolicatecrash) does not work automatically in Xcode
Summary: Crash log symbolication (symbolicatecrash) does not work automatically in Xcode
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.0
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2012-04-14 10:18 UTC by t9mike
Modified: 2013-11-19 17:07 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description t9mike 2012-04-14 10:18:41 UTC
I see similar issue as reported to MT mailing list:  

I have to manually run symbolicatecrash against my FooBar.app directory. I.e. this works:

symbolicatecrash -v MyApp_2012-04-13-220942_Mikes-iPod-Touch-3G.crash /Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app

But this does not:

symbolicatecrash -v MyApp_2012-04-13-220942_Mikes-iPod-Touch-3G.crash 

(which I think is equivalent to what Xcode is doing to find/guess file).

For later I get:

Searching in Spotlight for dsym with UUID of 787c8d53f4db394b87ea4ae0566ca5a0
Running mdfind "com_apple_xcode_dsym_uuids == 787C8D53-F4DB-394B-87EA-4AE0566CA5A0"
Running mdls -name com_apple_xcode_dsym_paths \/Users\/mmuegel\/Git\/Main\/Projects\/MyProjectName\/Apps\/MyProjectName\/bin\/iPhone\/Debug\/MyProjectName\.app\.dSYM
@dsym_paths = ( /Users/mmuegel/Git/Main/Projects/MyProjectName/Apps/MyProjectName/bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF/MyApp )
@exec_names = ( MyApp )
Running mdfind "kMDItemContentType == com.apple.application-bundle && kMDItemFSName == 'MyApp.app'"
Running mdfind "kMDItemContentType == public.unix-executable && kMDItemFSName == 'MyApp'"
Did not find executable for dsym
## Warning: Can't find any unstripped binary that matches version of /var/mobile/Applications/5FC3BB8B-2CD4-4461-BEF4-6D9A1B0D0C11/MyProjectName.app/MyApp

If I force it to use .dSYM directory:

symbolicatecrash -v MyApp_2012-04-13-220942_Mikes-iPod-Touch-3G.crash /Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF

Searching [/Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF/MyApp]...--[/Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF/MyApp] Running xcrun -sdk iphoneos lipo -info '/Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF/MyApp'
Running xcrun -sdk iphoneos otool -arch armv6 -l '/Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF/MyApp'
Use of uninitialized value $nlocalsym in addition (+) at /Users/mmuegel/Bin/symbolicatecrash line 291.
Use of uninitialized value $nextdefsym in addition (+) at /Users/mmuegel/Bin/symbolicatecrash line 291.
Use of uninitialized value $nextdefsym in concatenation (.) or string at /Users/mmuegel/Bin/symbolicatecrash line 292.
Use of uninitialized value $nlocalsym in concatenation (.) or string at /Users/mmuegel/Bin/symbolicatecrash line 292.

Number of symbols in /Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF/MyApp:  +  = 0
## /Users/mmuegel/links/proj-bin/iPhone/Debug/MyProjectName.app.dSYM/Contents/Resources/DWARF/MyApp appears to be stripped, skipping.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-04-18 09:19:00 UTC
Can you try this:

symbolicatecrash -v MyApp_2012-04-13-220942_Mikes-iPod-Touch-3G.crash

(and attach the entire output if it doesn't work)
Comment 2 PJ 2013-11-19 17:04:56 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 3 t9mike 2013-11-19 17:07:45 UTC
Again apologies. I can't recall the outcome here.