Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure: System.Drawing.Tests.BitmapTests.LockBits_Invoke_Success(bitmap: Bitmap { Flags = 0, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 0, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, rectangle: {X=0,Y=0,Width=100,Height=100}, lockMode: WriteOnly, pixelFormat: Format24bppRgb, expectedStride: 300, expectedReserved: 65538) #42518

Closed
v-haren opened this issue Sep 21, 2020 · 4 comments

Comments

@v-haren
Copy link

v-haren commented Sep 21, 2020

failed in job: runtime-coreclr libraries-jitstress2-jitstressregs 20200919.1

net5.0-Linux-Release-arm-CoreCLR_checked-jitstress2_jitstressregs2-(Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

Error message

System.ArgumentException : Parameter is not valid.


Stack trace
   at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status) in /_/src/libraries/System.Drawing.Common/src/System/Drawing/Gdiplus.cs:line 96
   at System.Drawing.Bitmap.UnlockBits(BitmapData bitmapdata) in /_/src/libraries/System.Drawing.Common/src/System/Drawing/Bitmap.cs:line 259
   at System.Drawing.Tests.BitmapTests.Do_LockBits_Invoke_Success(Bitmap bitmap, Rectangle rectangle, ImageLockMode lockMode, PixelFormat pixelFormat, Int32 expectedStride, Int32 expectedReserved) in /_/src/libraries/System.Drawing.Common/tests/BitmapTests.cs:line 1226
   at System.Drawing.Tests.BitmapTests.LockBits_Invoke_Success(Bitmap bitmap, Rectangle rectangle, ImageLockMode lockMode, PixelFormat pixelFormat, Int32 expectedStride, Int32 expectedReserved) in /_/src/libraries/System.Drawing.Common/tests/BitmapTests.cs:line 1190
@ghost
Copy link

ghost commented Sep 21, 2020

Tagging subscribers to this area: @safern, @tannergooding, @jeffhandley
See info in area-owners.md if you want to be subscribed.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Sep 21, 2020
@safern
Copy link
Member

safern commented Sep 22, 2020

Seems related to : #30184

@safern safern removed the untriaged New issue has not been triaged by the area owner label Sep 22, 2020
@safern safern added this to the 6.0.0 milestone Sep 22, 2020
@VincentBu
Copy link
Contributor

Failed again in runtime-coreclr libraries-jitstress2-jitstressregs 20210605.1

Failed test:

net6.0-Linux-Release-arm-CoreCLR_checked-jitstress2_jitstressregs2-(Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- System.Drawing.Tests.BitmapTests.LockBits_Invoke_Success(bitmap: Bitmap { Flags = 2, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 2, HorizontalResolution = 0, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, rectangle: {X=0,Y=0,Width=2,Height=2}, lockMode: ReadWrite, pixelFormat: Format32bppArgb, expectedStride: 8, expectedReserved: 3)

Error message:

System.ArgumentException : Parameter is not valid.


Stack trace
   at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status) in /_/src/libraries/System.Drawing.Common/src/System/Drawing/Gdiplus.cs:line 96
   at System.Drawing.Bitmap.UnlockBits(BitmapData bitmapdata) in /_/src/libraries/System.Drawing.Common/src/System/Drawing/Bitmap.cs:line 285
   at System.Drawing.Tests.BitmapTests.Do_LockBits_Invoke_Success(Bitmap bitmap, Rectangle rectangle, ImageLockMode lockMode, PixelFormat pixelFormat, Int32 expectedStride, Int32 expectedReserved) in /_/src/libraries/System.Drawing.Common/tests/BitmapTests.cs:line 1225
   at System.Drawing.Tests.BitmapTests.LockBits_Invoke_Success(Bitmap bitmap, Rectangle rectangle, ImageLockMode lockMode, PixelFormat pixelFormat, Int32 expectedStride, Int32 expectedReserved) in /_/src/libraries/System.Drawing.Common/tests/BitmapTests.cs:line 1189

@safern safern modified the milestones: 6.0.0, 7.0.0 Jul 22, 2021
@ViktorHofer ViktorHofer modified the milestones: 7.0.0, Future Aug 4, 2022
@JeremyKuhne
Copy link
Member

Closing this issue as System.Drawing.Common is only supported on Windows now.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants