Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.
Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.
Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.
Please create a new report for Bug 41171 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the original description:
In special cases on GitHub you might also want the comments: GitHub Markdown with public comments
They fail like this on ARM64, smells like a libgdiplus issue: > MESSAGE: > System.ArgumentException : A null reference or invalid value was found [GDI+ status: InvalidParameter] > +++++++++++++++++++ > STACK TRACE: > at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x0009b] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:212 > at System.Drawing.Bitmap..ctor (System.String filename, System.Boolean useIcm) [0x00034] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:127 > at System.Drawing.Bitmap..ctor (System.String filename) [0x00000] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:104 > at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (string) > at MonoTests.System.Drawing.Imaging.PngCodecTest.Bitmap2bitData () [0x0000c] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/System.Drawing/Test/System.Drawing.Imaging/PngCodecTest.cs:354 > at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) > at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /media/ssd/jenkins/workspace/test-mono-mainline-linux/label/debian-8-arm64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
I'm seeing the same issue on the Archlinux Docker job as well: https://jenkins.mono-project.com/job/test-mono-mainline-docker/label=docker-archlinux/82/testReport/MonoTests.System.Drawing.Imaging/PngCodecTest/Bitmap2bitData/ This suggests it's not something to do with ARM64 and rather a general libgdiplus issue (maybe due to newer libpng?).