Generating Core Dumps

From Zimbra :: Wiki

Jump to: navigation, search

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

To Generate Core Dumps for Windows 7:

http://support.microsoft.com/kb/241215


To Generate Core Dumps for Windows XP/2003:

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 you should back up your registry, this is unsupported by Microsoft or Zimbra, your computer may burst into flames, etc.


1. Run the 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\ErrorReporting\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

Either way, after enabling core dumps, 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.

Verified Against: unknown Date Created: 4/19/2006
Article ID: http://wiki.zimbra.com/index.php?title=Generating_Core_Dumps Date Modified: 12/10/2010
Personal tools