Changes between Version 17 and Version 18 of MacBacktrace


Ignore:
Timestamp:
Aug 17, 2012, 4:11:07 AM (12 years ago)
Author:
charlief
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MacBacktrace

    v17 v18  
    11
    22= Interpreting BOINC Crash Backtraces on the Mac =
    3 ''Last updated 4/7/08'''
     3''Last updated 8/17/12'''
    44
    55''Although this page is written primarily for the Mac, many of these techniques can be used on Linux and UNIX systems as well.''
     
    2020Replace the stripped executable with the unstripped one for the correct architecture, and run it again to reproduce the crash with full symbols. 
    2121
    22 For the BOINC Manager or Client, the original stripped executable is a "universal binary" which contains the code for ppc, i386, and perhaps x86_64 architectures.  The `boinc_x.y.z_macOSX_SymbolTables.zip` file contains a separate unstripped executable for each single architecture for BOINC version ''x.y.z''.)
     22The `boinc_x.y.z_macOSX_SymbolTables.zip` file contains a separate unstripped executable for the BOINC Manager and Client for BOINC version ''x.y.z''.)
    2323
    2424The BOINC Manager's executable is inside its bundle. 
    25 You can replace the 32-bit Intel manager on the command line thus:
     25You can replace the Manager executable on the command line thus:
    2626
    2727{{{
     
    3838Note that you must rename the unstripped executable to have the same file name as the original.
    3939
    40 Similarly, to replace the 64-bit BOINC Client inside the Manager's bundle:
     40Similarly, to replace the BOINC Client inside the Manager's bundle:
    4141{{{
    42 sudo cp -f {path}/boinc_x86_64 /Applications/BOINCManager.app/Contents/Resources/boinc
     42sudo cp -f {path}/boinc_i386 /Applications/BOINCManager.app/Contents/Resources/boinc
    4343}}}
    4444Then confirm that the ownership and permissions have not changed:
     
    5050-r-sr-sr-x  1 boinc_master  boinc_master  1184600 Mar 12 03:06 boinc
    5151}}}
    52 
    53 NOTE: This will work for all Mac BOINC versions '''except''' 6.1.10 (which saved the symbols in a separate .dSYM file.)
    5452[[BR]][[BR]]
    5553
     
    7371   CProgressBar::UpdateValue(double) (in BOINCManager_i386) (sg_ProgressBar.cpp:104)
    7472}}}
    75 
    76 Note: to use atos to get symbols for 64-bit Intel executables, add `-arch x86_64` to the command line.
    7773[[BR]]
    7874
     
    114110
    115111Notes: this web page says that the atos utility properly handles separate .dSYM files if you use the version of atos the which ships with XCODE Tools version 3.0.  Unfortunately, this is not true.  Also, these pages are focused on the crash reports automatically generated by the Mac OS, which are a bit different from the ones generated by BOINC.
    116