dotnet / dotnet/wpf

InitializeComponent() throw 'image/png' ContentType is not valid.

Open
#8,957 1 comment 0 reactions 0 assignees View on GitHub
needs more information
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

Our project crashed once while testing, it has not reoccurred yet, check the dump file content as below:
![image](https://github.com/dotnet/wpf/assets/15212559/54d91cae-4af8-4f05-8a7b-fb7341d240a4)

### Reproduction Steps

It's just a very normal window switch and then creating UI elements

### Expected behavior

The ui should be created normally.

### Actual behavior

The whole program just crashed.

### Regression?

_No response_

### Known Workarounds

_No response_

### Impact

_No response_

### Configuration

Framework: .netcore3.1pp
Architecture: x86
Runtime vsrion: .netcore 3.1.1

### 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.