Skip to content

[mono] The type initializer for System.Drawing.DrawingCom threw an exception: Operation is not supported on this platform #110150

Open
@kotlarmilos

Description

@kotlarmilos

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=878000&view=logs&j=55625a83-07ac-525a-fb32-9d705da79581&t=ed547991-520a-5120-9a9a-8b7bdbddb033
Build error leg or test failing: System.Runtime.Serialization.Formatters.Tests

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Operation is not supported on this platform.",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Error log:

Discovered:  System.Runtime.Serialization.Formatters.Tests (found 67 of 75 test cases)
  Starting:    System.Runtime.Serialization.Formatters.Tests (parallel test collections = on [2 threads], stop on fail = off)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs [FAIL]
      System.TypeInitializationException : The type initializer for 'System.Drawing.DrawingCom' threw an exception.
      ---- System.PlatformNotSupportedException : Operation is not supported on this platform.
      Stack Trace:
           at System.Drawing.Bitmap..ctor(Stream stream, Boolean useIcm)
           at System.Drawing.Bitmap..ctor(Stream stream)
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTestData.cs(1357,0): at System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.SerializableObjects()+MoveNext()
        /_/src/libraries/System.Linq/src/System/Linq/ToCollection.cs(39,0): at System.Linq.Enumerable.<ToArray>g__EnumerableToArray|315_0[Object[]](IEnumerable`1 source)
        /_/src/libraries/System.Linq/src/System/Linq/ToCollection.cs(26,0): at System.Linq.Enumerable.ToArray[Object[]](IEnumerable`1 source)
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTestData.cs(79,0): at System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.SerializableObjects_MemberData()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
        ----- Inner Stack Trace -----
           at System.Drawing.DrawingCom.InitializeComInterfaceEntry()
           at System.Drawing.DrawingCom..cctor()
   System.Runtime.Serialization.Formatters.Tests: [Long Running Test] 'System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.SerializeHugeObjectGraphs', Elapsed: 00:02:02
  Finished:    System.Runtime.Serialization.Formatters.Tests
=== TEST EXECUTION SUMMARY ===
   System.Runtime.Serialization.Formatters.Tests  Total: 167, Errors: 0, Failed: 1, Skipped: 0, Time: 150.231s
----- end Sun 11/24/2024 21:46:04.66 ----- exit code 1 ----------------------------------------------------------

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=878000
Error message validated: [Operation is not supported on this platform.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/25/2024 12:26:55 PM UTC

Report

Build Definition Test Pull Request
1074596 dotnet/runtime JIT/CodeGenBringUpTests/LocallocLarge_d/LocallocLarge_d.dll #115443
1074128 dotnet/runtime JIT/interpreter/InterpreterTester/InterpreterTester.cmd #116769
1073108 dotnet/runtime JIT/interpreter/InterpreterTester/InterpreterTester.cmd #116769
1072905 dotnet/runtime JIT/interpreter/InterpreterTester/InterpreterTester.cmd #116769
1068402 dotnet/runtime System.Security.Cryptography.Tests.MLDsaCngTests.MLDsaCng_WrongAlgorithm #116678
1067483 dotnet/runtime WasmTestOnFirefox-ST-System.Net.Http.Functional.Tests.WorkItemExecution #116634
1057492 dotnet/runtime baseservices\exceptions\RaiseAppDomainUnhandledExceptionEvent\RaiseEvent\RaiseEvent.cmd #116050
1054718 dotnet/runtime baseservices/exceptions/RaiseAppDomainUnhandledExceptionEvent/RaiseEvent/RaiseEvent.cmd #116050
1052821 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1052621 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1052456 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd #115339
1052358 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1051748 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1051502 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1051119 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1050769 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1050612 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1050450 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1050313 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1050019 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1049470 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1048989 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd
1048963 dotnet/runtime JIT/opt/SVE/PredicateInstructions/PredicateInstructions.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 5 23

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions