Skip to content

Test failure: System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_Double #120173

@SakeTao

Description

@SakeTao

Failed in: runtime-coreclr libraries-pgo 20250927.1

Failed tests:

net10.0-windows-Release-x86-instrument_if_optimizing-Windows.10.Amd64.Open
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_Double
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_UInt64
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_ByteString
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_Decimal
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_Int64
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_Half
    - System.Formats.Cbor.Tests.CborPropertyTests.ByteString_Encoding_ShouldContainInputBytes
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_IndefiniteTextString
    - System.Formats.Cbor.Tests.CborPropertyTests.CborDocument_SkipValue
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_IndefiniteByteString
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_TextString
    - System.Formats.Cbor.Tests.CborPropertyTests.CborDocument_SkipToParent
    - System.Formats.Cbor.Tests.CborPropertyTests.Roundtrip_NegativeInteger
    - System.Formats.Cbor.Tests.CborPropertyTests.CborDocument_Roundtrip

Error message:

System.TypeInitializationException : The type initializer for 'EqualityComparerPER`1' threw an exception.
---- System.NullReferenceException : Object reference not set to an instance of an object.

Stack trace:

   at Microsoft.FSharp.Core.LanguagePrimitives.HashCompare.GenericEqualityIntrinsic[T](T x, T y) in D:\a\_work\1\s\src\fsharp\src\FSharp.Core\prim-types.fs:line 1868
   at <StartupCode$FsCheck-Xunit>.$PropertyAttribute.testExec@196(PropertyTestCase this, IMessageBus messageBus, Object[] constructorArguments, CancellationTokenSource cancellationTokenSource, XunitTest test, RunSummary summary, TestOutputHelper outputHelper, Unit unitVar0)
----- Inner Stack Trace -----
   at Microsoft.FSharp.Core.LanguagePrimitives.HashCompare.isArray(Type ty) in D:\a\_work\1\s\src\fsharp\src\FSharp.Core\prim-types.fs:line 1691
   at Microsoft.FSharp.Core.LanguagePrimitives.HashCompare.getEqualityComparer[T](Boolean er) in D:\a\_work\1\s\src\fsharp\src\FSharp.Core\prim-types.fs:line 1831
   at Microsoft.FSharp.Core.LanguagePrimitives.HashCompare.EqualityComparerPER`1..cctor() in D:\a\_work\1\s\src\fsharp\src\FSharp.Core\prim-types.fs:line 1861

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions