Generating Core Dumps: Difference between revisions

mNo edit summary
Line 7: Line 7:
1. Run the attached core dump enabling script
1. Run the attached core dump enabling script


     * ZimbraCoreDumpSetup.vbs
     * [[http://www.zimbra.com/forums/attachment.php?attachmentid=285 ZimbraCoreDumpSetup.vbs]]





Revision as of 20:54, 19 April 2006

Note: Unless Outlook is crashing completely ("Outlook...needs to close"), use the dbgview/httptrace tools.

Generating Core Dumps for Outlook (also for Import Wizard and Migration Wizard)

When Outlook crashes completely, a core dump will help show what Outlook was doing at the time of the crash. Choose one of the following two methods in order to enable core dumps. Please note that this is unsupported by Microsoft or Zimbra, your computer may burst into flames, etc.

1. Run the attached core dump enabling script

   * [ZimbraCoreDumpSetup.vbs]


The default settings are shown in the following excerpt; before running the script, you can just edit them in the script file; after running the script, you can run drwtsn32 and enter the desired settings.

'***** USER CONFIGURABLE SETTINGS *****
savefile = "zimbraCoreDumpOldSettings.txt"
logFilePath = "C:\Documents\debug"
crashDumpFile = "C:\Documents\debug\dump"
crashDumpType = FULL_CRASH_DUMP_TYPE


2. or, Do it by hand

   * run regedit (start -> run -> regedit)
         o navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\Err orReporting\DW\Installed
         o make a note of the previous value if you'd like
         o set to C:\WINDOWS\SYSTEM32\DRWTSN32.EXE
         o the default is C:\PROGRA~1\COMMON~1\MICROS~1\DW\DW20.EXE
   * run drwtsn32 -i (start -> run -> drwtsn32 -i)
         o [it should say that Dr Watson has been set as the default application debugger]
   * run drwtsn32 (start -> run -> drwtsn32)
         o set the desired path in Log File Path
         o set the desired filename in Crash Dump
         o make sure Crash Dump Type is Mini unless we need to generate a Full crash dump


Restart Outlook and when it crashes click the Send Error Report button and some files will be generated on the machine in the Log File Path specified above. Zip the whole folder and send it. We can provide ftp info for submitting really big files.

Jump to: navigation, search