Skip to content

[8.0] [mono] Assert failed in ConsolePal.GetBufferInfo #92417

Closed
@carlossanlop

Description

@carlossanlop

Error Blob

{
  "ErrorMessage": "ConsolePal.Windows.cs:line 1061",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

    tracing\runtimeeventsource\nativeruntimeeventsource\nativeruntimeeventsource.cmd [FAIL]
      
      Unhandled Exception:
      System.Diagnostics.DebugProvider+DebugAssertException:    at System.Diagnostics.DebugProvider.Fail(String message, String detailMessage)
      
         at System.Diagnostics.Debug.Fail(String message, String detailMessage)
      
         at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
      
         at System.Diagnostics.Debug.Assert(Boolean condition)
      
         at System.IO.Win32Marshal.GetExceptionForWin32Error(Int32 errorCode, String path) in /_/src/libraries/Common/src/System/IO/Win32Marshal.cs:line 29
      
         at System.ConsolePal.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded) in /_/src/libraries/System.Console/src/System/ConsolePal.Windows.cs:line 1061
      
         at System.ConsolePal.set_ForegroundColor(ConsoleColor value) in /_/src/libraries/System.Console/src/System/ConsolePal.Windows.cs:line 491
      
         at System.Console.set_ForegroundColor(ConsoleColor value) in /_/src/libraries/System.Console/src/System/Console.cs:line 341
      
         at Tracing.Tests.Listener.set_ConsoleForegroundColor(ConsoleColor value)
      
         at Tracing.Tests.Listener.Write(Object o, Nullable`1 consoleColor)
      
         at Tracing.Tests.Listener.WriteLine(Object o, Nullable`1 consoleColor)
      
         at Tracing.Tests.Listener.OnEventWritten(EventWrittenEventArgs eventWrittenEventArgs)
      
         at System.Diagnostics.Tracing.EventSource.DispatchToAllListeners(EventWrittenEventArgs eventCallbackArgs)
      
         at System.Diagnostics.Tracing.NativeRuntimeEventSource.ProcessEvent(UInt32 eventID, UInt32 osThreadID, DateTime timeStamp, Guid activityId, Guid childActivityId, ReadOnlySpan`1 payload)
      
         at System.Diagnostics.Tracing.EventPipeEventDispatcher.DispatchEventsToEventListeners(UInt64 sessionID, DateTime syncTimeUtc, Int64 syncTimeQPC, Int64 timeQPCFrequency, Task previousDispatchTask, CancellationToken token)
      
         at System.Diagnostics.Tracing.EventPipeEventDispatcher.<>c__DisplayClass12_0.<StartDispatchTask>b__0()
      
         at System.Threading.Tasks.Task.InnerInvoke()
      
         at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
      
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      
         at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread)
      
         at System.Threading.Tasks.ThreadPoolTaskScheduler.<>c.<.cctor>b__10_0(Object s)
      
         at System.Threading.Thread.StartCallback()

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=414395
Error message validated: ConsolePal.Windows.cs:line 1061
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/21/2023 5:04:04 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions