question

JingXia-3683 avatar image
0 Votes"
JingXia-3683 asked HuiLiu-MSFT commented

WerFault.exe exited with errors on WPF application crash

We are trying to determine the cause to a crashing issue in our WPF application. Unlike other problems that cause our applications to crash, this specific issue crashes the application without any error reports in Event Logs so we couldn't determine the exact exception that caused the issue. We also couldn't find a way to reproduce the problem because it happens rarely and randomly.

After enabling process termination auditing, we've observed that when the problem happens, our application always exits with 0xCFFFFFFF (Application Hang), followed by WerFault.exe exiting with code 0x80070578 (Invalid Window Handle) or 0x80070005 (Access Denied). We suspect that WerFault exiting with errors is the reason that no error reports have been generated, but have no idea why WER isn't working. It is able to correctly generate error reports for other crashes happened in our application.

dotnet-csharpwindows-wpfdotnet-runtime
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@JingXia-3683. Is it possible to show minimal code that reproduces the problem? I'm not sure what you have. Are the questions and solutions here helpful to you?

0 Votes 0 ·

1 Answer

vb2ae avatar image
0 Votes"
vb2ae answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.