Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Error Reporting doesn't generate mini dump for a .NET 4 application sometimes

I'm trying to diagnose a crash issue for a .NET 4 application. The last time it crashes in a user's machine, Windows Error Reporting doesn't gather the mini dump of the application. I've check the DumpFolder in registry, and I can find the dump files for old crashes, but there's just no new dump file for the last one.

The event log of the crash says:

Application: MyApp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error int the .NET Runtime at IP 000007FEEC0F25E8 (000007FEEC0B0000) with exit code 80131506.

By some searching is looks like a famous bug of concurrent GC in CLR x64. The event log is also different from previous crashes. In previous event logs, they said explicitly there's an "access violation" happen. The exit code is the same.

I cannot using adplus or procdump to get crash dump since they slow down the performance significantly. I want to know why this time WER didn't get a mini dump?

like image 755
Jeffrey Zhao Avatar asked Jun 09 '15 16:06

Jeffrey Zhao


1 Answers

The dump file may have been processed and sent onto the WER collection system on the Microsoft servers. You should be able to verify that by checking the path…

C:\Users\xxxxx\AppData\Local\Microsoft\Windows\WER\ReportArchive

Having said that, there’s nothing stopping you from trapping the dump. You’ll need to set some registry values to accomplish that. I’ve posted the procedure in a previous answer to a similar problem.

like image 117
rrirower Avatar answered Oct 15 '22 08:10

rrirower