Skip to content

Mini Dump Configuration Instructions

Tomasz Poradowski edited this page Sep 22, 2019 · 1 revision

NOTE: this is a copy of MSOpenTech/redis/wiki/Mini Dump Configuration Instructions page with all URLs pointing to this repo.

To configure the Windows Error Reporting to save a mini dump locally, you can either:

  • Create a .reg file with the following content:

      Windows Registry Editor Version 5.00
    
      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
      "DumpFolder"="c:\\crashdumps"
      "DumpCount"=dword:0000000a
      "DumpType"=dword:00000001
    

    and then import it into the registry.

  • Or add the registry key manually following these instructions:

    https://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx

    NOTE: set the folder path for the dump explicitly without using %LOCALAPPDATA% (for example use c:\crashdumps)


Here is an example of the registry key after it has been created by importing the .reg file or by adding it manually :

registry key

After a redis-server.exe crash, a .dmp file will be present in the crash dump folder.

The name of the file will be redis-server.exe.1234.dmp (where 1234 is the pid of the redis-server.exe instance that crashed).

Please zip the .dmp file, upload it somewhere it can be shared (onedrive or dropbox or your personal github etc.) and report the issue.

Clone this wiki locally