1

Resolved

Crash in ProcessOutput.FlushAndCloseOutput

description

InvalidOperationException "No async read operation is in progress on the stream."
    System.dll!System.Diagnostics.Process.CancelOutputRead()    Unknown
    Microsoft.PythonTools.Analysis.dll!Microsoft.VisualStudioTools.Project.ProcessOutput.FlushAndCloseOutput() Line 514 C#
    Microsoft.PythonTools.Analysis.dll!Microsoft.VisualStudioTools.Project.ProcessOutput.GetAwaiter.AnonymousMethod__11(object s, System.EventArgs e) Line 589  C#
    Microsoft.PythonTools.Analysis.dll!Microsoft.VisualStudioTools.Project.ProcessOutput.OnExited(object sender, System.EventArgs e) Line 625   C#
>   Microsoft.PythonTools.Analysis.dll!Microsoft.VisualStudioTools.Project.ProcessOutput.OnErrorDataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e) Line 446    C#
    System.dll!System.Diagnostics.Process.ErrorReadNotifyUser(string data)  Unknown
    System.dll!System.Diagnostics.AsyncStreamReader.FlushMessageQueue() Unknown
    System.dll!System.Diagnostics.AsyncStreamReader.ReadBuffer(System.IAsyncResult ar)  Unknown
    mscorlib.dll!System.IO.Stream.ReadWriteTask.InvokeAsyncCallback(object completedTask)   Unknown
    mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)   Unknown
    mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)   Unknown
    mscorlib.dll!System.IO.Stream.ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(System.Threading.Tasks.Task completingTask) Unknown
    mscorlib.dll!System.Threading.Tasks.Task.FinishContinuations()  Unknown
    mscorlib.dll!System.Threading.Tasks.Task.FinishStageThree() Unknown
    mscorlib.dll!System.Threading.Tasks.Task.FinishStageTwo()   Unknown
    mscorlib.dll!System.Threading.Tasks.Task.Finish(bool bUserDelegateExecuted) Unknown
    mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot)    Unknown
    mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown
    mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() Unknown
    mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch()    Unknown
    mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() Unknown

comments