Paul said:
There is an application here, which can create dumps.
But it doesn't make clear what flavor it creates. Give this a try.
(I haven't tried this yet.)
(Sysinternals ProcDump)
http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx
-e Write a dump when the process encounters an unhandled
exception. Include "-e 1" to create dump on first chance
exceptions. Paul
Latest progress.
I tried out the ProcDump program, but what I'm finding is WerFault
seems to intercept the event, and prevents ProcDump from actually
dumping
the error with stack traces and so on.
If I do this with ProcDump, it triggers a dump as soon as my test
program begins to run. I actually got a small dump file (about 90KB)
placed in
the current working directory. (I used two command prompt windows,
ran ProcDump in -w "Wait" mode, while I ran the crashzero.exe program
in the other command prompt window. The "Wait" option is needed
because otherwise procdump tells you there's nothing to attach to.)
procdump -accepteula -w -n 1 crashzero.exe crashzero.dmp
[Useless output file]
Now, if I ask procdump to wait, and wait for the first error it
finds (-e 1), then werfault "lets the air out of its tires" and I get
nothing. The programs are very polite, but no output results.
procdump -accepteula -w -n 1 -e 1 crashzero.exe crashzero.dmp [No
output file]
I checked with procmon, and got a similar log to what you were seeing.
A reference to a file that might be used for dumping, and then...
nothing.
Next, I tried doing a web search, using the names of the guilty
parties, and found this article (written by the Sysinternals guy).
http://blogs.technet.com/b/markrussinovich/archive/2008/06/02/3065065.aspx
At the bottom of that article, it says:
"If you create a key named
HKLM\Software\Microsoft\Windows\Windows Error
Reporting\LocalDumps
WerFault will always save a dump. Crashes go by default into
%LOCALAPPDATA%\Crashdumps, but you can override that with a
Registry value and also specify a limit on the number of crashes
WerFault will keep."
Found this as well.
http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx
And once I set my Win7 registry to look like this, I finally
got a dump out of WerFault. I had to add a key on the left.
http://img88.imageshack.us/img88/8592/regwerfault.gif
I'm not even sure I had to add a DumpType. I think it started
working before that, but I just didn't notice it was dumping files.
I popped the resulting file into dumpchk.exe and it looked
suitably useless to me (at least I could see the 0xC0000005
access error). So it didn't strike me as being as nice looking
as some other dumps I've looked at. But at least the size
of the collected file was small (89KB).
Paul