Author: fuzigege
Subject: Why procdump doesn't write a dump file?
Posted: 02 August 2013 at 4:54am
I write a very simple console program crash.exe using VC6, just three line:
Press Ctrl-C to end monitoring without terminating the process.
Subject: Why procdump doesn't write a dump file?
Posted: 02 August 2013 at 4:54am
I write a very simple console program crash.exe using VC6, just three line:
int main(int argc, char* argv[])
{
int* p = 0;
*p = 0;
return 0;
}
{
int* p = 0;
*p = 0;
return 0;
}
If I run it, the system will display a standard error dialog.
Then in cmd.exe, I first run procdump -w crash.exe -e
then run my crash.exe, the standard error dialog still show, I press button "don't send"
the procdump display below:
ProcDump v6.00 - Writes process dump files
Copyright (C) 2009-2013 Mark Russinovich
Sysinternals - www.sysinternals.com
With contributions from Andrew Richards
Copyright (C) 2009-2013 Mark Russinovich
Sysinternals - www.sysinternals.com
With contributions from Andrew Richards
Waiting for process named crash.exe...
Process: crash.exe (2164)
CPU threshold: n/a
Performance counter: n/a
Commit threshold: n/a
Threshold seconds: n/a
Number of dumps: 1
Hung window check: Disabled
Exception monitor: Unhandled
Exception filter: *
Terminate monitor: Disabled
Dump file: C:\crash_YYMMDD_HHMMSS.dmp
CPU threshold: n/a
Performance counter: n/a
Commit threshold: n/a
Threshold seconds: n/a
Number of dumps: 1
Hung window check: Disabled
Exception monitor: Unhandled
Exception filter: *
Terminate monitor: Disabled
Dump file: C:\crash_YYMMDD_HHMMSS.dmp
Press Ctrl-C to end monitoring without terminating the process.
The process has exited.
But no dump file created, why?