Skip to content

System.Diagnostics.Tracing.EventSource.DoCommand assertion failure during the repo build #81943

@xwnb

Description

@xwnb

Using powershell at Windows x64
Run build.cmd
Build error:

crossgen2 -> D:\GitTestWS\runtime_ws\runtime\artifacts\bin\coreclr\windows.x64.Debug\crossgen2\crossgen2.dll
Generating native code
crossgen2 -> D:\GitTestWS\runtime_ws\runtime\artifacts\bin\coreclr\windows.x64.Debug\crossgen2\win-x64\publish
Unhandled Exception: EETypeRva:0x01230CE8(System.Diagnostics.DebugProvider+DebugAssertException): at System.Diagnostics.DebugProvider.Fail(String, String) + 0x4b
at System.Diagnostics.Debug.Fail(String, String) + 0x45
at System.Diagnostics.Debug.Assert(Boolean, String, String) + 0x3c
at System.Diagnostics.Debug.Assert(Boolean) + 0x27
at System.Diagnostics.Tracing.EventSource.DoCommand(EventCommandEventArgs) + 0x76
at System.Diagnostics.Tracing.EventSource.Initialize(Guid, String, String[]) + 0x4b6
at System.Diagnostics.Tracing.EventSource..ctor(Guid, String, EventSourceSettings, String[]) + 0xfe
at System.Diagnostics.Tracing.EventSource..ctor(Guid, String) + 0x4e
at System.Diagnostics.Tracing.NativeRuntimeEventSource..ctor() + 0xa0
at System.Diagnostics.Tracing.NativeRuntimeEventSource..cctor() + 0x2a
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x1ad
at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnGCStaticBase(StaticClassConstructionContext*, Object) + 0x23
at System.Diagnostics.Tracing.EventListener.get_EventListenersLock() + 0x7b
at System.Diagnostics.Tracing.EventSource.Initialize(Guid, String, String[]) + 0x2a6
at System.Diagnostics.Tracing.EventSource..ctor(EventSourceSettings settings, String[] traits) + 0x164
at System.Diagnostics.Tracing.EventSource..ctor(EventSourceSettings settings) + 0x21
at System.Diagnostics.Tracing.EventSource..ctor() + 0x1d
at ILCompiler.PerfEventSource..ctor() + 0x18
at ILCompiler.PerfEventSource..cctor() + 0x2a
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x1ad
at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnGCStaticBase(StaticClassConstructionContext*, Object) + 0x23
at ILCompiler.PerfEventSource.StartStopEvents.LoadingEvents() + 0x25
at ILCompiler.Program.Run() + 0x7bc
at ILCompiler.Crossgen2RootCommand.<>c__DisplayClass187_0.<.ctor>b__0(InvocationContext context) + 0x534
at System.CommandLine.Invocation.AnonymousCommandHandler.Invoke(InvocationContext) + 0x43
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext() + 0x1d5
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.StartTStateMachine + 0x86
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.StartTStateMachine + 0x1c
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.b__0(InvocationContext invocationContext, Func2 _) + 0x7a at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c) + 0x48 at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseErrorReporting>b__0>d.MoveNext() + 0x154 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine&) + 0x86 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine&) + 0x1c at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<UseParseErrorReporting>b__0(InvocationContext context, Func2 next) + 0x82
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.b__3(InvocationContext c) + 0x48
at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<b__0>d.MoveNext() + 0xb1
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.StartTStateMachine + 0x86
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.StartTStateMachine + 0x1c
at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass11_0.b__0(InvocationContext context, Func2 next) + 0x82 at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_2.<BuildInvocationChain>b__3(InvocationContext c) + 0x48 at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext() + 0x29b at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine&) + 0x86 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine&) + 0x1c at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<UseVersionOption>b__0(InvocationContext context, Func2 next) + 0x82
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_1.b__2(Invocatio

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions