Changes between Version 3 and Version 4 of MacBacktrace
- Timestamp:
- Mar 25, 2008, 5:54:23 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacBacktrace
v3 v4 14 14 [[PageOutline(2-10,,inline)]] 15 15 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 17 17 18 18 Replace the stripped executable with the unstripped one for the correct architecture, and run it again to reproduce the crash with full symbols. … … 34 34 NOTE: This will work for all Mac BOINC versions _except_ 6.1.10 (which saved the symbols in a separate .dSYM file.) 35 35 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 37 37 38 38 Use the atos command-line utility to convert the hex address in the crash backtrace to its symbol. … … 50 50 CProgressBar::UpdateValue(double) (in BOINCManager_i386) (sg_ProgressBar.cpp:104) 51 51 52 == Use the GDB debugger to convert hex addresses to symbols == 52 == Use the GDB debugger to convert hex addresses to symbols == #gdb 53 53 54 54 Use 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: … … 65 65 66 66 For 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 {{{ 68 gdb [path]/boinc_5.10.45_macOSX_SymbolTables/SymbolTables/BOINCManager_i386 69 info line *0x0007210a 70 }}} 69 71 produces 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 {{{ 73 Line 104 of "/Volumes/Sage/BOINC_Mac/boinc_5_10_45_tag/mac_build/../clientgui/ 74 sg_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 }}} 74 78 75 79 This method is described at: http://developer.apple.com/technotes/tn2004/tn2123.html#LISTPOSDEP