dotnet / dotnet/wpf

WPF desktop application for .NET Framework 4.5 causes Windows 10 to crash

Open
#9,320 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

Running desktop programs for a long time on a desktop computer may occasionally cause Windows to freeze and crash (not a blue screen crash), the mouse and keyboard may not respond, the hard disk indicator light may not light up, the fan may run normally, and the CPU temperature may be normal.

### Reproduction Steps

1. There are nearly 40 desktop computers participating in the test, with the same hardware configuration. Crashes are sporadic, sometimes lasting for about an hour before crashing, sometimes lasting for three weeks before crashing, and sometimes not even experiencing a crash.
2. After upgrading the integrated graphics card driver version to version 27.20.100.8190 and conducting continuous testing for over a month, no crashes occurred.
3. In C # code, RenderOptions ProcessRenderMode=RenderMode. SoftwareOnly has been continuously tested for over a month without any crashes.
4. After turning off the DirectDraw acceleration of the integrated graphics card and conducting continuous testing with Direct3D acceleration for over a month, no crashes occurred.

### Expected behavior

1. I want to know the root cause of this crash
2. How can I stably reproduce this issue to shorten testing and validation time
3. I am unable to upgrade the hardware drivers or software environment of hundreds of desktop computers sent to the customer site, so I can only do so through version updates. Therefore, I need a solution for coding desktop applications

### Actual behavior

null

### Regression?

_No response_

### Known Workarounds

_No response_

### Impact

_No response_

### Configuration

Windows 10 LTSC 1809 (17763)
.NET Framework 4.5
WPF App
Intel(R) HD Graphics 530 (20.19.15.4463)

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.