Closed
Description
This issue has been moved from a ticket on Developer Community.
I'm not sure what exactly triggered it, I had the git diff of a .fsx file open.
Main Thread
[Waiting on lock owned by Thread 17980, double-click or press enter to switch to thread]
FSharp.Editor.dll! <StartupCode$FSharp-Editor>[email protected](Microsoft.CodeAnalysis.DocumentEventArgs args) Line 225 F#
> FSharp.Core.dll!Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.h@346<Microsoft.CodeAnalysis.DocumentEventArgs>. Invoke(object _arg1, Microsoft.CodeAnalysis.DocumentEventArgs args) Line 346 F#
Microsoft.CodeAnalysis.Workspaces.dll! Roslyn.Utilities.EventMap.Registry<System.__Canon>. Invoke(System.Action<System.__Canon> invoker) Unknown
Microsoft.CodeAnalysis.Workspaces.dll! Roslyn.Utilities.EventMap.EventHandlerSet<System.EventHandler<Microsoft.CodeAnalysis.DocumentEventArgs>>. RaiseEvent(System.Action<System.EventHandler<Microsoft.CodeAnalysis.DocumentEventArgs>> invoker) Unknown
Microsoft.CodeAnalysis.Workspaces.dll! Roslyn.Utilities.TaskExtensions.SafeContinueWith.__continuationFunction|0(System.Threading.Tasks.Task antecedent) Unknown
Microsoft.CodeAnalysis.Workspaces.dll! Roslyn.Utilities.TaskExtensions.SafeContinueWith.__outerFunction|0(System.Threading.Tasks.Task t) Unknown
mscorlib.dll! System.Threading.Tasks.ContinuationResultTaskFromTask<bool>. InnerInvoke() Unknown
mscorlib.dll! System.Threading.Tasks.Task.Execute() 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.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) Unknown
mscorlib.dll! System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown
Microsoft.CodeAnalysis.EditorFeatures.dll! Microsoft.CodeAnalysis.Editor.Shared.Utilities.ThreadingContextTaskSchedulerProvider.JoinableTaskFactoryTaskScheduler.QueueTask.AnonymousMethod__0() Unknown
[Resuming Async Method]
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.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown
Microsoft.VisualStudio.Threading.dll! Microsoft.VisualStudio.Threading.JoinableTaskFactory.SingleExecuteProtector.TryExecute() Unknown
WindowsBase.dll! System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown
WindowsBase.dll! System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown
WindowsBase.dll! System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown
WindowsBase.dll! System.Windows.Threading.DispatcherOperation.Invoke() Unknown
WindowsBase.dll! System.Windows.Threading.Dispatcher.ProcessQueue() Unknown
WindowsBase.dll! System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown
WindowsBase.dll!MS. Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown
WindowsBase.dll!MS. Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown
WindowsBase.dll! System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown
WindowsBase.dll! System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown
WindowsBase.dll! System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown
WindowsBase.dll!MS. Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown
[Async Call Stack]
[Async] Microsoft.VisualStudio.Threading.dll! Microsoft.VisualStudio.Threading.JoinableTask.SetWrappedTask.AnonymousMethod__87_0(System.Threading.Tasks.Task t, object s) Unknown
Thread 17980
mscorlib.dll! System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown
mscorlib.dll! System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown
mscorlib.dll! System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown
mscorlib.dll! System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) Unknown
mscorlib.dll! System.Threading.Tasks.Task.Wait(System.TimeSpan timeout) Unknown
[Waiting on Async Operation, double-click or press enter to view Async Call Stacks]
Microsoft.VisualStudio.Threading.dll! Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronouslyCore(System.Threading.Tasks.Task task) Unknown
Microsoft.VisualStudio.Threading.dll! Microsoft.VisualStudio.Threading.JoinableTaskFactory.WaitSynchronously(System.Threading.Tasks.Task task) Unknown
Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread() Unknown
Microsoft.VisualStudio.Threading.dll! Microsoft.VisualStudio.Threading.JoinableTask<Microsoft.VisualStudio.LanguageServices.ProjectSystem.IWorkspaceProjectContext>. CompleteOnCurrentThread() Unknown
Microsoft.VisualStudio.LanguageServices.Implementation.dll! Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.CPS.CPSProjectFactory.Microsoft.VisualStudio.LanguageServices.ProjectSystem.IWorkspaceProjectContextFactory.CreateProjectContext(string languageName, string projectUniqueName, string projectFilePath, System.Guid projectGuid, object hierarchy, string binOutputPath) Unknown
> FSharp.Editor.dll! Microsoft.VisualStudio.FSharp.Editor.FSharpWorkspaceProjectContextFactory.Microsoft.VisualStudio.FSharp.Editor.IFSharpWorkspaceProjectContextFactory.CreateProjectContext(string filePath) Line 136 F#
FSharp.Editor.dll! <StartupCode$FSharp-Editor>.$SingleFileWorkspaceMap.action@1(Microsoft.VisualStudio.FSharp.Editor.FSharpMiscellaneousFileService this, string[] refSourceFiles, Microsoft.FSharp.Core.FSharpRef<Microsoft.VisualStudio.FSharp.Editor.IFSharpWorkspaceProjectContext> projectContext, Microsoft.FSharp.Core.Unit unitVar0) Line 199 F#
FSharp.Editor.dll! <StartupCode$FSharp-Editor>[email protected](FSharp.Compiler.CodeAnalysis.FSharpProjectOptions scriptProjectOptions) Line 195 F#
FSharp.Editor.dll! <StartupCode$FSharp-Editor>.$FSharpProjectOptionsManager[Redacted]@[Redacted]System.Tuple<FSharp.Compiler.CodeAnalysis.FSharpProjectOptions, Microsoft.FSharp.Collections.FSharpList<FSharp.Compiler.Diagnostics.FSharpDiagnostic>> _arg3) Line 191 F#
FSharp.Core.dll! <StartupCode$FSharp-Core>.$Async[Redacted]@[Redacted]object _arg3, bool timeOut) Line 1667 F#
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.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(object state, bool timedOut) Unknown
Original Comments
Feedback Bot on 8/23/2021, 08:13 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)