Changes between Version 3 and Version 4 of MacBacktrace


Ignore:
Timestamp:
Mar 25, 2008, 5:54:23 PM (17 years ago)
Author:
Nicolas
Comment:

Readable anchors. Put output in monospaced blocks to avoid formatting interpretation.

Legend:

Unmodified
Added
Removed
Modified
  • MacBacktrace

    v3 v4  
    1414[[PageOutline(2-10,,inline)]]
    1515
    16 == Replace the stripped executable with the unstripped version and run again ==
     16== Replace the stripped executable with the unstripped version and run again == #replace
    1717
    1818Replace the stripped executable with the unstripped one for the correct architecture, and run it again to reproduce the crash with full symbols. 
     
    3434NOTE: This will work for all Mac BOINC versions _except_ 6.1.10 (which saved the symbols in a separate .dSYM file.)
    3535
    36 == Use the atos command-line utility to convert hex addresses to symbols ==
     36== Use the atos command-line utility to convert hex addresses to symbols == #atos
    3737
    3838Use the atos command-line utility to convert the hex address in the crash backtrace to its symbol. 
     
    5050   CProgressBar::UpdateValue(double) (in BOINCManager_i386) (sg_ProgressBar.cpp:104)
    5151
    52 == Use the GDB debugger to convert hex addresses to symbols ==
     52== Use the GDB debugger to convert hex addresses to symbols == #gdb
    5353
    5454Use gdb to convert the hex address in the crash backtrace to its symbol.  This will work for project applications as well as the BOINC Manager and Client, including separate .dSYM files:
     
    6565
    6666For example, again examining BOINC Manager version 5.10.45:
    67    gdb [path]/boinc_5.10.45_macOSX_SymbolTables/SymbolTables/BOINCManager_i386
    68    info line *0x0007210a
     67{{{
     68gdb [path]/boinc_5.10.45_macOSX_SymbolTables/SymbolTables/BOINCManager_i386
     69info line *0x0007210a
     70}}}
    6971produces the following output:
    70    Line 104 of "/Volumes/Sage/BOINC_Mac/boinc_5_10_45_tag/mac_build/../clientgui/
    71    sg_ProgressBar.cpp" starts at address 0x72102
    72    <__MIG_check__Reply__io_service_close_t+29> and ends at 0x7210c
    73    <__MIG_check__Reply__io_service_close_t+39>.
     72{{{
     73Line 104 of "/Volumes/Sage/BOINC_Mac/boinc_5_10_45_tag/mac_build/../clientgui/
     74sg_ProgressBar.cpp" starts at address 0x72102
     75<__MIG_check__Reply__io_service_close_t+29> and ends at 0x7210c
     76<__MIG_check__Reply__io_service_close_t+39>.
     77}}}
    7478
    7579This method is described at: http://developer.apple.com/technotes/tn2004/tn2123.html#LISTPOSDEP