Skip to content

Error report is output every minute #4076

@robertzijverden

Description

@robertzijverden

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

Oops, something went wrong.
Please report this bug with ALL the details below, including both the 'Environment' and 'Exception' sections.
Please report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new?template=Bug_Report.yaml
Thank you!

### Environment
PSReadLine: 2.2.6
PowerShell: 2022.6.3
OS: Microsoft Windows 10.0.22000
BufferWidth: 166
BufferHeight: 7

Last 200 Keys:

 C : \ U s e r s \ ......\ P o w e r S h e l l P r o T o o l s \ 2 0 2 2 . 7 . 0 \ w i n d o w s \ P o w e r S h e l l P r o T o o l s . V S C o d e . d l l ' Enter
 I m p o r t - M o d u l e Spacebar ' C : \ U s e r s \ R o b e r t \ P o w e r S h e l l P r o T o o l s \ 2 0 2 2 . 7 . 0 \ w i n d o w s \ P o w e r S h e l l P r o T o o l s . p s d 1 ' Enter
 C l e a r - H o s t Enter
 | Spacebar s e l e c t Spacebar c o u n t

### Exception

System.Management.Automation.PSInvalidOperationException: The pipeline was not run because a pipeline is already running. Pipelines cannot be run concurrently.       
   bij System.Management.Automation.Runspaces.PipelineBase.DoConcurrentCheck(Boolean syncCall, Object syncObject, Boolean isInLock)
   bij System.Management.Automation.Runspaces.RunspaceBase.DoConcurrentCheckAndAddToRunningPipelines(PipelineBase pipeline, Boolean syncCall)
   bij System.Management.Automation.Runspaces.PipelineBase.CoreInvoke(IEnumerable input, Boolean syncCall)
   bij System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   bij System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
   bij System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
   bij System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)   
   bij System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
   bij System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings)
   bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Utility.PowerShellExtensions.InvokeAndClear[TResult](PowerShell pwsh, PSInvocationSettings invocationSettings)
   bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousPowerShellTask`1.ExecuteNormally(CancellationToken cancellationToken)
   bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousPowerShellTask`1.Run(CancellationToken cancellationToken)
   bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousTask`1.ExecuteSynchronously(CancellationToken executorCancellationToken)
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousTask`1.get_Result()
   bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost.OnPowerShellIdle(CancellationToken idleCancellationToken)
   bij Microsoft.PowerShell.PSConsoleReadLine.ReadKey()
   bij Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   bij Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken, Nullable`1 lastRunStatus)

Screenshot

N/A

Environment data

PSReadLine Version: 2.2.6
PSReadLine EditMode: Windows
OS: 10.0.22000.1 (WinBuild.160101.0800)
BufferWidth: 166
BufferHeight: 7

Steps to reproduce

The error comes every x minutes even when I don't do anything

Expected behavior

System.Management.Automation.PSInvalidOperationException: The pipeline was not run because a pipeline is already running. Pipelines cannot be run concurrently.
bij System.Management.Automation.Runspaces.PipelineBase.DoConcurrentCheck(Boolean syncCall, Object syncObject, Boolean isInLock)
bij System.Management.Automation.Runspaces.RunspaceBase.DoConcurrentCheckAndAddToRunningPipelines(PipelineBase pipeline, Boolean syncCall)
bij System.Management.Automation.Runspaces.PipelineBase.CoreInvoke(IEnumerable input, Boolean syncCall)
bij System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
bij System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
bij System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
bij System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
bij System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
bij System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings)
bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Utility.PowerShellExtensions.InvokeAndClear[TResult](PowerShell pwsh, PSInvocationSettings invocationSettings)
bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousPowerShellTask1.ExecuteNormally(CancellationToken cancellationToken) bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousPowerShellTask1.Run(CancellationToken cancellationToken)
bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousTask1.ExecuteSynchronously(CancellationToken executorCancellationToken) --- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden --- bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution.SynchronousTask1.get_Result()
bij Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost.OnPowerShellIdle(CancellationToken idleCancellationToken)
bij Microsoft.PowerShell.PSConsoleReadLine.ReadKey()
bij Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
bij Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken, Nullable`1 lastRunStatus)

Actual behavior

The error comes every x minutes even when I don't do anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions