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

心已入冬 提交于 2019-12-07 19:16:34

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/30737927/windows-error-reporting-doesnt-generate-mini-dump-for-a-net-4-application-some

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!