Skip to content

crossgen2 failure running on tests: Assertion failed: value1.Context == value2.Context #124014

Description

@elinor-fung

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1278729
Build error leg or test failing: readytorun/tests/mainv2/mainv2.cmd
Pull request: #123970

00:23:04.624 Running test: readytorun/tests/mainv2/mainv2.cmd
Process terminated. Assertion failed.
value1.Context == value2.Context
at System.Diagnostics.DebugProvider.Fail(String, String)
at System.Diagnostics.Debug.Fail(String, String)
at Internal.TypeSystem.MetadataVirtualMethodAlgorithm.MethodDescHashtable.CompareValueToValue(MethodDesc, MethodDesc)
at Internal.TypeSystem.LockFreeReaderHashtable`2.TryAddOrGetExisting(TValue, Boolean&)
at Internal.TypeSystem.LockFreeReaderHashtable`2.AddOrGetExistingInner(TValue, Boolean&)
at Internal.TypeSystem.MetadataVirtualMethodAlgorithm.<EnumAllVirtualSlotsOnClass>d__31.MoveNext()
at ILCompiler.DependencyAnalysis.ReadyToRun.TypeValidationChecker.<ValidateTypeWorker>d__10.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine&)
at ILCompiler.DependencyAnalysis.ReadyToRun.TypeValidationChecker.ValidateTypeWorker(EcmaType)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool)
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartThread(IntPtr)
at System.Threading.Thread.ThreadEntryPoint(IntPtr)
DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
/root/helix/work/workitem/e/readytorun/readytorun/../tests/mainv2/mainv2.sh: line 266: 370 Aborted (core dumped) $CORE_ROOT/crossgen2/crossgen2 --map -r:$CORE_ROOT/*.dll -r:testv1/test.dll -r:IL_DLLS/fieldgetter.dll --opt-cross-module:test -o:mainv2.dll IL_DLLS/mainv2.dll

Error Message

{
"ErrorMessage": "value1.Context == value2.Context",
"BuildRetry": false,
"ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=1278729
Error message validated:[value1.Context == value2.Context]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/4/2026 8:24:15 PM UTC

Report

BuildDefinitionTestPull Request
1283113dotnet/runtimereadytorun/determinism/crossgen2determinism/crossgen2determinism.cmd#124001
1278729dotnet/runtimereadytorun/GenericCycleDetection/Depth1Test/Depth1Test.cmd#123970

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
022

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-ReadyToRunblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions