dotnet / dotnet/winforms

Re-enabled test System.Drawing.Tests.BrushTests.Dispose_NoSuchEntryPoint_SilentyCatchesException fails on CI

Open
#8,811 0 comments 0 reactions 0 assignees View on GitHub
area-System.Drawing disabled-test
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

```
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Drawing.SafeNativeMethods+Gdip.IntGdipDeleteBrush(System.Runtime.InteropServices.HandleRef)
at System.Drawing.SafeNativeMethods+Gdip.GdipDeleteBrush(System.Runtime.InteropServices.HandleRef)
at System.Drawing.Brush.Dispose(Boolean)
at System.Drawing.Brush.Dispose()
at System.Drawing.Tests.BrushTests.Dispose_NoSuchEntryPoint_SilentyCatchesException()
```

https://mc.dot.net/#/user/dotnet-bot/pr~2Fdotnet~2Fcorefx~2Frefs~2Fpull~2F38676~2Fmerge/test~2Ffunctional~2Fcli~2F~2F/20190705.27/workItem/System.Drawing.Common.Tests/wilogs

Tests have existed in the code-base for some time but were missing Fact attribute. When the Fact attribute was added, it started running & failing.

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.