Skip to content

[wasi] System.Collections.Tests failing with an assertion, and System.BadImageFormatException : Bad method token 0x1b00008f #81736

@radical

Description

@radical

Build, and log:

[08:32:36] info: Starting:    System.Collections.Tests.dll
[08:34:40] fail: [FAIL] System.Collections.Generic.Tests.NullableUInt16EnumComparersTests.Comparer_IComparerCompareWithObjectsNotOfMatchingTypeShouldThrow
[08:34:40] info: System.BadImageFormatException : Bad method token 0x1b00008f.
[08:34:40] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object , IntPtr* )
[08:34:40] info:    at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
[08:34:40] fail: [FAIL] System.Collections.Generic.Tests.NullableUInt16EnumComparersTests.EqualityComparer_IEqualityComparerGetHashCodeWithObjectNotOfMatchingType
[08:34:40] info: System.BadImageFormatException : Bad method token 0x1b00008f.
[08:34:40] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object , IntPtr* )
[08:34:40] info:    at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
[08:34:40] fail: [FAIL] System.Collections.Generic.Tests.NullableUInt16EnumComparersTests.EqualityComparer_IEqualityComparerEqualsWithObjectsNotOfMatchingType
[08:34:40] info: System.BadImageFormatException : Bad method token 0x1b00008f.
[08:34:40] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object , IntPtr* )
[08:34:40] info:    at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
[08:34:43] fail: [FAIL] System.Collections.Generic.Tests.NullableSByteEnumComparersTests.Comparer_IComparerCompareWithObjectsNotOfMatchingTypeShouldThrow
[08:34:43] info: System.BadImageFormatException : Bad method token 0x1b00008f.
[08:34:43] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object , IntPtr* )
[08:34:43] info:    at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
[08:34:43] fail: [FAIL] System.Collections.Generic.Tests.NullableSByteEnumComparersTests.EqualityComparer_IEqualityComparerGetHashCodeWithObjectNotOfMatchingType
[08:34:43] info: System.BadImageFormatException : Bad method token 0x1b00008f.
[08:34:43] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object , IntPtr* )
[08:34:43] info:    at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
[08:34:44] fail: [FAIL] System.Collections.Generic.Tests.NullableSByteEnumComparersTests.EqualityComparer_IEqualityComparerEqualsWithObjectsNotOfMatchingType
[08:34:44] info: System.BadImageFormatException : Bad method token 0x1b00008f.
[08:34:44] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object , IntPtr* )
[08:34:44] info:    at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
[08:34:44] info: Finished:    System.Collections.Tests.dll

.. and at the end:

[08:34:44] info: === TEST EXECUTION SUMMARY ===
[08:34:44] info: Total: 32706, Errors: 0, Failed: 6, Skipped: 140, Time: 128.2168882s
[08:34:44] info: 
[08:34:45] info: [MONO] error: * Assertion at /__w/1/s/src/mono/mono/utils/lock-free-alloc.c:374, condition `next < LOCK_FREE_ALLOC_SB_USABLE_SIZE (desc->block_size) / desc->slot_size' not met

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions