I am working on a MySQL Custom Function (UDF), which is basically a wrapper for a Windows system function. My problem is that UDF works as intended for certain inputs, but causes mysqld to crash for others.
UDF itself takes one integer argument, which is passed unmodified as an ULONG parameter to the WinAPI function. When this integer is less than some number k, everything is fine; but when the integer is greater than or equal to k, the MySQL ( mysqld.exe) server process sequentially crashes.
My 64-bit Windows 7 machine always generates "AppCrash" parts containing an MDUMP and an HDUMP file. Is there a way to open any of these files in Visual C ++ to check the stack trace during a crash?
source
share