runtime: Tests under: MonoTests.System.Drawing.Imaging.PngCodecTest failed with "System.ArgumentException"
Opened on behalf of @Jiayili1
The test MonoTests.System.Drawing.Imaging.PngCodecTest/Bitmap2bitData has failed.
System.ArgumentException : Parameter is not valid.
Stack Trace:
at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status) in /root/corefx-1027731/src/System.Drawing.Common/src/System/Drawing/Gdiplus.cs:line 269
at System.Drawing.Bitmap..ctor(String filename, Boolean useIcm) in /root/corefx-1027731/src/System.Drawing.Common/src/System/Drawing/Bitmap.Unix.cs:line 128
at System.Drawing.Bitmap..ctor(String filename) in /root/corefx-1027731/src/System.Drawing.Common/src/System/Drawing/Bitmap.Unix.cs:line 105
at MonoTests.System.Drawing.Imaging.PngCodecTest.Bitmap2bitData() in /root/corefx-1027731/src/System.Drawing.Common/tests/mono/System.Drawing.Imaging/PngCodecTesst.cs:line 343
Build : Master - 20170930.01 (Core Tests) Failing configurations:
- SLES.12.Amd64-x64
- Debug
- Release
- Ubuntu.1704.Amd64-x64
- Debug
- Release
- Debian.90.Amd64-x64
- Debug
- Release
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 18 (10 by maintainers)
Mono hosts Debian/Ubuntu repositories which have libgdiplus 6.x. You can find instructions on how to add these repositories at https://www.mono-project.com/download/stable/#download-lin .
You don’t need to install Mono, only libgdiplus.
Ubuntu 20.04 should be the first Ubuntu version to ship with libgdiplus 6.x.