J2ghz
J2ghz

Reputation: 658

C# WPF 0xC0000005: Access violation

While developing a WPF app I encountered this crash. I tried with/without debugger, Release/Debug configurations, same result. The message 0xC0000005: Access violation was shown only in Output window, when I started the app VS appeared to be running it for ~10 seconds, then stopped as if I just closed the app normally, but it never showed. Disabling Just My Code and enabling Break for every exception didn't help. I have made no changes to the code, and the day before it ran without a problem. Re-cloned the git repo, still nothing.

Upvotes: 1

Views: 3008

Answers (1)

J2ghz
J2ghz

Reputation: 658

The problem was a DirectX overlay app (MSI Afterburner). Turning it off helped.

I went to Control Panel\System and Security\Security and Maintenance\Problem Reports (or Search for "View all problem reports" in Start), the report said Fault Module Name: d3d9.dll, that made me think it could be Afterburner.

Upvotes: 6

Related Questions