Enabling automatic crash dumps on Windows
Plex Media Server has integrated an automated crash reporting function, rendering this thread obsolete. Please see the following link for more information:
Original (obsolete) post follows:
If you happen to run into a situation where Plex Media Server crashes on Windows, we want to hear about it. When you file a bug report about a crash, please obtain a crash dump file and post it along with your report. Crash dump files are essential to enabling us to debug crashes and fix the bugs that cause them.
This post explains how to configure Windows to automatically generate crash dumps when a process crashes.
Windows Vista, 7, 8, 8.1 and beyond:
The following steps enable automatic crash dumps on Windows Vista SP1 and Windows 7:
1) Open RegEdit
2) Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
3) Under Windows Error Reporting, create a new registry key named LocalDumps.
If Plex Media Server crashes after this, you will find a new dump file under %LOCALAPPDATA%\CrashDumps. The dump file will be named something along the lines of Plex Media Server.exe.5884.dmp.
More detailed information on these steps can be found at http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx and http://msdn.microsoft.com/en-us/library/bb513638(VS.85).aspx.
The following steps enable automatic crash dumps on Windows XP:
1) Open a command prompt, running as administrator
2) Run drwtsn32 -i. This will install Doctor Watson as the default debugger when something crashes
3) Click Ok
4) From the command prompt, run drwtsn32
5) Set the Crash Dump path to your favorite directory, or leave the default.
6) Set the Crash Dump Type to mini. Note that under some circumstances, we may ask you for a full crash dump.
7) Make sure the Dump All Thread Contexts and Create Crash Dump File options are selected.
8) Click Ok
9) If a user.dmp file already exists in the Crash Dump path, delete it.
If Plex Media Server crashes after this, you will find a new dump file in the Crash Dump path selected above. The default path is "%ALLUSERSPROFILE%\Application Data\Microsoft\Dr Watson\user.dmp". Copy this file to a different location and then upload it with your bug report.