Dead lock on serviceStateCounter:
Stack traces of 2 dead locked threads:
Main thread:
WindowsBase.dll!System.Windows.Threading.DispatcherSynchronizationContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) + 0x23 bytes
mscorlib.dll!System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext syncContext, System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) + 0x14 bytes
[Native to Managed Transition]
[Managed to Native Transition]
mscorlib.dll!System.Threading.Monitor.Enter(object obj, ref bool lockTaken) + 0x17 bytes
> DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.SetState(DevExpress.CodeRush.TestRunner.Core.TestRunnerServiceState state) Line 321 + 0x19 bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.BuildProjectsAsync(System.Collections.Generic.IEnumerable<DevExpress.CodeRush.TestRunner.Data.TestFilterGroup> groups) Line 413 + 0x12 bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.RunOrDebugTask(System.Collections.Generic.IEnumerable<DevExpress.CodeRush.TestRunner.Data.TestFilterGroup> groups, bool debug, bool profiling) Line 440 + 0x17 bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.Run(System.Collections.Generic.IEnumerable<DevExpress.CodeRush.TestRunner.Data.TestFilterGroup> groups) Line 741 + 0x10 bytes C#
DevExpress.CodeRush.TestRunner.Plugin.dll!DevExpress.CodeRush.TestRunner.Plugin.RunFromSolutionExplAction.ExecuteAction(DevExpress.CodeRush.Foundation.Actions.ActionExecuteInfo info) Line 29 + 0x18 bytes C#
DevExpress.CodeRush.Foundation.dll!DevExpress.CodeRush.Foundation.Actions.ActionBase.DoExecute(DevExpress.CodeRush.Foundation.Actions.ActionExecuteInfo info) Line 35 + 0xe bytes C#
DevExpress.CodeRush.Package.dll!DevExpress.CodeRush.Package.CommandServices.ExecuteAction(System.Guid commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT commandExecOption, ref object varIn, ref object varOut, ref bool handled) Line 547 + 0xc bytes C#
DevExpress.CodeRush.Package.dll!DevExpress.CodeRush.Package.CommandServices.Execute(System.Guid cmdGroup, uint cmdID, uint cmdexecopt, ref object varIn, ref object varOut) Line 686 + 0x33 bytes C#
DevExpress.CodeRush.VisualStudio.dll!DevExpress.CodeRush.VisualStudio.DefaultOleCommandListenerChain.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Line 47 + 0x31 bytes C#
DevExpress.CodeRush.Package.dll!DevExpress.CodeRush.Package.CodeRushPackage.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) Line 159 + 0x23 bytes C#
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(string verb, object pvaIn, out object pvaOut) + 0x21 bytes
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(object parameter) + 0x22 bytes
PresentationFramework.dll!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource commandSource, bool userInitiated) + 0xb1 bytes
PresentationFramework.dll!System.Windows.Controls.MenuItem.InvokeClickAfterRender(object arg) + 0x6e bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) + 0x34 bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() + 0xd2 bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) + 0x3c bytes
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x5b bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() + 0x165 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x5a bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) + 0x34 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x131 bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xee bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent.AnonymousMethod__218_1(object sender, Microsoft.VisualStudio.PlatformUI.OleComponentSupport.PreTranslateMessageEventArgs args) + 0x60 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.FPreTranslateMessageCore(Microsoft.VisualStudio.OLE.Interop.MSG[] pMsg) + 0xf2 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage.AnonymousMethod__0() + 0x13 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.CallAndReturnOnException(System.Func<int> method, int retValueOnException) + 0x26 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage(Microsoft.VisualStudio.OLE.Interop.MSG[] pMsg) + 0x4d bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent() + 0x2d7 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.HierarchyUtilities.ExecHierParentChain.AnonymousMethod__1() + 0x47 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Func<int> method, bool reportError, bool setShellErrorInfo) + 0x20 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.HierarchyUtilities.ExecHierParentChain(Microsoft.VisualStudio.Shell.IVsHierarchyItemManager manager, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy lpUIHCmd, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy lpUIHCurrent, uint itemidCurrent, ref System.Guid pguidCmdGroupRef, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x113 bytes
Microsoft.VisualStudio.Shell.TreeNavigation.HierarchyProvider.dll!Microsoft.VisualStudio.PlatformUI.HierarchyItem.HierarchyContextMenuController.ShowContextMenu(System.Collections.Generic.IEnumerable<object> items, System.Windows.Point location) + 0xc3 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.ContextMenuController.ShowContextMenu(System.Collections.Generic.IEnumerable<Microsoft.Internal.VisualStudio.PlatformUI.IContextMenuPattern> items, System.Windows.Point location, System.Func<Microsoft.Internal.VisualStudio.PlatformUI.IContextMenuPattern,Microsoft.Internal.VisualStudio.PlatformUI.IContextMenuController> getController) + 0x60 bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.ContextMenuController.ShowContextMenu(System.Collections.Generic.IEnumerable<Microsoft.Internal.VisualStudio.PlatformUI.IContextMenuPattern> items, System.Windows.Point location) + 0x9b bytes
Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.PivotTreeView.OnContextMenuOpening(System.Windows.Controls.ContextMenuEventArgs e) + 0xc7 bytes
PresentationFramework.dll!System.Windows.FrameworkElement.OnContextMenuOpeningThunk(object sender, System.Windows.Controls.ContextMenuEventArgs e) + 0x44 bytes
PresentationFramework.dll!System.Windows.Controls.ContextMenuEventArgs.InvokeEventHandler(System.Delegate genericHandler, object genericTarget) + 0x30 bytes
PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) + 0x2e bytes
PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) + 0x3f bytes
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) + 0xae bytes
PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) + 0x73 bytes
PresentationCore.dll!System.Windows.ContentElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args) + 0x46 bytes
PresentationCore.dll!System.Windows.ContentElement.RaiseEvent(System.Windows.RoutedEventArgs args, bool trusted) + 0x59 bytes
PresentationFramework.dll!System.Windows.Controls.PopupControlService.RaiseContextMenuOpeningEvent(System.Windows.IInputElement source, double x, double y, bool userInitiated) + 0x108 bytes
PresentationFramework.dll!System.Windows.Controls.PopupControlService.ProcessMouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e) + 0xc3 bytes
PresentationFramework.dll!System.Windows.Controls.PopupControlService.OnPostProcessInput(object sender, System.Windows.Input.ProcessInputEventArgs e) + 0x37c bytes
PresentationCore.dll!System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler postProcessInput, System.Windows.Input.ProcessInputEventArgs processInputEventArgs) + 0x9a bytes
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() + 0x233 bytes
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) + 0x45 bytes
PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport) + 0x62 bytes
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel) + 0x2c9 bytes
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x4bd bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x6c bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x52 bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) + 0x34 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x131 bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xee bytes
mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x21 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne(System.TimeSpan timeout, bool exitContext) + 0x60 bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.DispatcherOperationEvent.WaitOne() + 0x2f bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Wait(System.TimeSpan timeout) + 0x60 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherOperation operation, System.Threading.CancellationToken cancellationToken, System.TimeSpan timeout) + 0x9a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.Invoke(System.Action callback, System.Windows.Threading.DispatcherPriority priority, System.Threading.CancellationToken cancellationToken, System.TimeSpan timeout) + 0x1ca bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.Invoke(System.Action callback) + 0x45 bytes
> DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.UI.TestMenu.ehServiceStateChanged(object sender, DevExpress.CodeRush.TestRunner.Core.TestRunnerServiceState state) Line 86 + 0x3b bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.OnStateChanged() Line 318 + 0x3b bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.UnsetState(DevExpress.CodeRush.TestRunner.Core.TestRunnerServiceState state) Line 349 + 0x9 bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.StopDiscover() Line 200 + 0xd bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.DiscoverDocumentInternalAsync(string assemblyName, string filePath, DevExpress.CodeRush.TestRunner.Core.IDocumentChangesAnalyser updater, System.Threading.CancellationToken cancellationToken) Line 289 + 0xd bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.DiscoverDocument() + 0xa5 bytes C#
mscorlib.dll!System.Threading.Tasks.Task<System.Threading.Tasks.Task>.InnerInvoke() + 0x39 bytes
mscorlib.dll!System.Threading.Tasks.Task.Execute() + 0x32 bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) + 0x1a bytes
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) + 0xd8 bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) + 0xbc bytes
mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0xc bytes
mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x12f bytes
mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0xa bytes
[Native to Managed Transition]
Background thread:
mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x21 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne(System.TimeSpan timeout, bool exitContext) + 0x60 bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.DispatcherOperationEvent.WaitOne() + 0x2f bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Wait(System.TimeSpan timeout) + 0x60 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherOperation operation, System.Threading.CancellationToken cancellationToken, System.TimeSpan timeout) + 0x9a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.Invoke(System.Action callback, System.Windows.Threading.DispatcherPriority priority, System.Threading.CancellationToken cancellationToken, System.TimeSpan timeout) + 0x1ca bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.Invoke(System.Action callback) + 0x45 bytes
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.UI.TestMenu.ehServiceStateChanged(object sender, DevExpress.CodeRush.TestRunner.Core.TestRunnerServiceState state) Line 86 + 0x3b bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.OnStateChanged() Line 318 + 0x3b bytes C#
> DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.UnsetState(DevExpress.CodeRush.TestRunner.Core.TestRunnerServiceState state) Line 349 + 0x9 bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.StopDiscover() Line 200 + 0xd bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.DiscoverDocumentInternalAsync(string assemblyName, string filePath, DevExpress.CodeRush.TestRunner.Core.IDocumentChangesAnalyser updater, System.Threading.CancellationToken cancellationToken) Line 289 + 0xd bytes C#
DevExpress.CodeRush.TestRunner.dll!DevExpress.CodeRush.TestRunner.Core.TestRunnerService.DiscoverDocument() + 0xa5 bytes C#
mscorlib.dll!System.Threading.Tasks.Task<System.Threading.Tasks.Task>.InnerInvoke() + 0x39 bytes
mscorlib.dll!System.Threading.Tasks.Task.Execute() + 0x32 bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) + 0x1a bytes
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) + 0xd8 bytes
mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) + 0xbc bytes
mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0xc bytes
mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x12f bytes
mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0xa bytes
[Native to Managed Transition]