The dump points to NCrunch’s Tests Window resize/layout code on Visual Studio’s main UI thread. The process is still unresponsive and consuming CPU. That gives us a specific suspect this time: NCrunch 5.23.0.1, rather than the graphics setting.
Daily Usage Issues
visual studio hangs when resizing, dump suggests ncrunch problem
Started by anemitoff on 21 views
Remco NCrunch Developer
#18947
08 Oct 2026 23:11 UTC
Hi, thanks for sharing this issue.
Can you share the stack trace from the UI thread?
Can you share the stack trace from the UI thread?
System.Windows.Forms.SafeNativeMethods.GetWindowTextLength(System.Runtime.InteropServices.HandleRef)
System.Windows.Forms.SafeNativeMethods.GetWindowTextLength(System.Runtime.InteropServices.HandleRef) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(System.Runtime.InteropServices.HandleRef)
System.Windows.Forms.Control.get_WindowText()
System.Windows.Forms.Control.set_CacheTextInternal(Boolean)
System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.LayoutEventArgs)
System.Windows.Forms.Control.PerformLayout()
System.Windows.Forms.Control.ResumeLayout(Boolean)
System.Windows.Forms.Control.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.TabPage.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.SetBounds(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.set_Bounds(System.Drawing.Rectangle)
System.Windows.Forms.TabControl.UpdateTabSelection(Boolean)
System.Windows.Forms.Control.OnSizeChanged(System.EventArgs)
System.Windows.Forms.Control.UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)
System.Windows.Forms.Control.UpdateBounds()
System.Windows.Forms.Control.WmWindowPosChanged(System.Windows.Forms.Message ByRef)
System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
System.Windows.Forms.TabControl.WndProc(System.Windows.Forms.Message ByRef)
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(Int64, Int32, Int64, Int64)
System.Windows.Forms.SafeNativeMethods.SetWindowPos(...) [inlined]
System.Windows.Forms.SafeNativeMethods.SetWindowPos(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
System.Windows.Forms.Control.SetBoundsCore(...)
System.Windows.Forms.Control.SetBounds(...)
System.Windows.Forms.Control.set_Size(System.Drawing.Size)
System.Windows.Forms.TabControl.UpdateSize()
System.Windows.Forms.TabControl.set_ItemSize(System.Drawing.Size)
nCrunch.VSAddIn.UI.TestTree.TestsWindow.<applyLayout>b__94_0()
nCrunch.VSIntegration2022.UIScaling+<>c__DisplayClass0_0.<SuppressHostSizeTranslation>b__0()
System.RuntimeMethodHandle.InvokeMethod(...)
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(...)
System.Delegate.DynamicInvokeImpl(...)
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(...)
System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(...)
System.Threading.ExecutionContext.RunInternal(...)
System.Threading.ExecutionContext.Run(...)
System.Threading.ExecutionContext.Run(...)
System.Windows.Forms.Control.InvokeMarshaledCallback(...)
System.Windows.Forms.Control.InvokeMarshaledCallbacks()
System.Windows.Forms.Control.WndProc(...)
System.Windows.Forms.UserControl.WndProc(...)
System.Windows.Forms.NativeWindow.Callback(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.DefWndProcWrapper(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.SubclassWndProc(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.DefWndProcWrapper(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.SubclassWndProc(...)
DomainNeutralIL_STUB_ReversePInvoke(...)
System.Windows.Forms.SafeNativeMethods.GetWindowTextLength(System.Runtime.InteropServices.HandleRef) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(System.Runtime.InteropServices.HandleRef)
System.Windows.Forms.Control.get_WindowText()
System.Windows.Forms.Control.set_CacheTextInternal(Boolean)
System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.LayoutEventArgs)
System.Windows.Forms.Control.PerformLayout()
System.Windows.Forms.Control.ResumeLayout(Boolean)
System.Windows.Forms.Control.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.TabPage.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.SetBounds(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
System.Windows.Forms.Control.set_Bounds(System.Drawing.Rectangle)
System.Windows.Forms.TabControl.UpdateTabSelection(Boolean)
System.Windows.Forms.Control.OnSizeChanged(System.EventArgs)
System.Windows.Forms.Control.UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)
System.Windows.Forms.Control.UpdateBounds()
System.Windows.Forms.Control.WmWindowPosChanged(System.Windows.Forms.Message ByRef)
System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
System.Windows.Forms.TabControl.WndProc(System.Windows.Forms.Message ByRef)
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(Int64, Int32, Int64, Int64)
System.Windows.Forms.SafeNativeMethods.SetWindowPos(...) [inlined]
System.Windows.Forms.SafeNativeMethods.SetWindowPos(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
System.Windows.Forms.Control.SetBoundsCore(...)
System.Windows.Forms.Control.SetBounds(...)
System.Windows.Forms.Control.set_Size(System.Drawing.Size)
System.Windows.Forms.TabControl.UpdateSize()
System.Windows.Forms.TabControl.set_ItemSize(System.Drawing.Size)
nCrunch.VSAddIn.UI.TestTree.TestsWindow.<applyLayout>b__94_0()
nCrunch.VSIntegration2022.UIScaling+<>c__DisplayClass0_0.<SuppressHostSizeTranslation>b__0()
System.RuntimeMethodHandle.InvokeMethod(...)
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(...)
System.Delegate.DynamicInvokeImpl(...)
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(...)
System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(...)
System.Threading.ExecutionContext.RunInternal(...)
System.Threading.ExecutionContext.Run(...)
System.Threading.ExecutionContext.Run(...)
System.Windows.Forms.Control.InvokeMarshaledCallback(...)
System.Windows.Forms.Control.InvokeMarshaledCallbacks()
System.Windows.Forms.Control.WndProc(...)
System.Windows.Forms.UserControl.WndProc(...)
System.Windows.Forms.NativeWindow.Callback(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.DefWndProcWrapper(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.SubclassWndProc(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.DefWndProcWrapper(...)
DomainNeutralILStubClass.IL_STUB_ReversePInvoke(...)
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
MS.Win32.UnsafeNativeMethods.CallWindowProc(...) [inlined]
DomainNeutralILStubClass.IL_STUB_PInvoke(...)
MS.Win32.HwndSubclass.SubclassWndProc(...)
DomainNeutralIL_STUB_ReversePInvoke(...)
Post a reply
Log in to reply.