Description:
According to definition of childAbort() function, no special handling isn't performed on Windows; the process just exits with exit code 255:
static void
childAbort(int error_code, int exit_code, Uint32 currentStartPhase)
{
writeChildInfo("error", error_code);
writeChildInfo("sphase", currentStartPhase);
fprintf(angel_info_w, "\n");
fclose(angel_info_w);
#ifdef _WIN32
// Don't use 'abort' on Windows since it returns
// exit code 3 which conflict with NRT_NoStart_InitialStart
ndbd_exit(exit_code);
#else
signal(SIGABRT, SIG_DFL);
abort();
#endif
}
How to repeat:
Enable --core-file option on Windows, then crash the data node.
Suggested fix:
Call MiniDumpWriteDump() function just like what my_create_minidump() function in mysys/stacktrace.c does.