title: What to do with .mdump/.hdump files?
body: <p>I am working on a MySQL user-defined function (UDF) that is basically a wrapper for a Windows system function. My problem is that the UDF works as intended for certain inputs, but causes mysqld to crash for others.</p>
  
  <p>The UDF itself takes a single integer argument that is passed unmodified as a ULONG parameter to the WinAPI function. When this integer is less than a certain number <em>k</em>, everything is fine;  but, when the integer is greater than or equal to <em>k</em>, the MySQL server process (<code>mysqld.exe</code>) consistently crashes.</p>
  
  <p>My 64-bit Windows 7 machine always generates "AppCrash" details that include an MDUMP and HDUMP file. Is there a way to open either of these files in Visual C++ to examine the stack trace at the time of the crash?</p>