[215] Resharper locking up with 100% CPU

I've been getting frequent lockups in VS.NET that seem to be Resharper
related.

I attached a second instance of VS.NET 2005 and the stack trace I get
over and over when breaking is below.

Note that hitting "step out" never seems to get past this function. Is
there an infinite loop in here?

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.Impl.PopupWindow.PositionChanged(object
sender, System.EventArgs e) Line 240 C#

Here's the stack trace:


>
JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.VSTextControl.VisualToCanvasRect(JetBrains.ReSharper.TextControl.VisualPosition
visualPosition = {JetBrains.ReSharper.TextControl.VisualPosition}) Line
274 + 0x29 bytes C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.GetDeltaY(System.Drawing.Size
size,
JetBrains.ReSharper.UI.PopupWindowManager.RelativeTextControlPosition
relativeTextControlPosition, int offset) Line 187 C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.GetPosition(System.Drawing.Size
size) Line 133 + 0x23 bytes C#

JetBrains.ReSharper.CodeInsight.Services.dll!JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPositionProvider.GetPosition(System.Drawing.Size
size) Line 80 + 0x1d bytes C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.Impl.PopupWindow.UpdatePosition(bool
useCurrentSize) Line 185 + 0x1e bytes C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.Impl.PopupWindow.PositionChanged(object
sender, System.EventArgs e) Line 240 C#

JetBrains.ReSharper.CodeInsight.Services.dll!JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPositionProvider.InvokePositionChanged()
Line 132 C#

JetBrains.ReSharper.CodeInsight.Services.dll!JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPositionProvider.EditorProviderPositionChanged(object
sender, System.EventArgs e) Line 66 C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.InvokePositionChanged()
Line 209 C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.VisibleAreaChanged(JetBrains.ReSharper.TextControl.VisibleAreaChange
change) Line 83 C#



JetBrains.ReSharper.TextControl.dll!JetBrains.ReSharper.TextControl.Impl.ScrollingModelImplBase.RaiseVisibleAreaChange(JetBrains.ReSharper.TextControl.VisibleAreaChange
visibleAreaChange) Line 113 C#

JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.VSScrollingModel.RaiseEvents()
Line 84 + 0xa bytes C#

JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.VSWindowModel.OnChangeScrollInfo(Microsoft.VisualStudio.TextManager.Interop.IVsTextView
pView = {System.__ComObject}, int iBar = 1, int iMinUnit = 0, int
iMaxUnits = 169, int iVisibleUnits = 60, int iFirstVisibleUnit = 63)
Line 159 + 0x33 bytes C#


System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {System.Windows.Forms.Message}) +
0x94 bytes

System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0x5 bytes

JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.Windows.VsEditorParentWindow.WndProc(ref
System.Windows.Forms.Message m = {System.Windows.Forms.Message}) Line
176 + 0xb bytes C#

System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 522, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes

1 comment
Comment actions Permalink

Matthew,

Thanks for the report, we will investigate that.

Friendly,
Dmitry
Matthew Mastracci wrote:

I've been getting frequent lockups in VS.NET that seem to be Resharper
related.

I attached a second instance of VS.NET 2005 and the stack trace I get
over and over when breaking is below.

Note that hitting "step out" never seems to get past this function. Is
there an infinite loop in here?

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.Impl.PopupWindow.PositionChanged(object
sender, System.EventArgs e) Line 240 C#

Here's the stack trace:


>
JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.VSTextControl.VisualToCanvasRect(JetBrains.ReSharper.TextControl.VisualPosition
visualPosition = {JetBrains.ReSharper.TextControl.VisualPosition}) Line
274 + 0x29 bytes C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.GetDeltaY(System.Drawing.Size
size,
JetBrains.ReSharper.UI.PopupWindowManager.RelativeTextControlPosition
relativeTextControlPosition, int offset) Line 187 C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.GetPosition(System.Drawing.Size
size) Line 133 + 0x23 bytes C#

JetBrains.ReSharper.CodeInsight.Services.dll!JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPositionProvider.GetPosition(System.Drawing.Size
size) Line 80 + 0x1d bytes C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.Impl.PopupWindow.UpdatePosition(bool
useCurrentSize) Line 185 + 0x1e bytes C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.Impl.PopupWindow.PositionChanged(object
sender, System.EventArgs e) Line 240 C#

JetBrains.ReSharper.CodeInsight.Services.dll!JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPositionProvider.InvokePositionChanged()
Line 132 C#

JetBrains.ReSharper.CodeInsight.Services.dll!JetBrains.ReSharper.CodeInsight.ParameterInfo.ParameterInfoPositionProvider.EditorProviderPositionChanged(object
sender, System.EventArgs e) Line 66 C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.InvokePositionChanged()
Line 209 C#

JetBrains.ReSharper.IDECore.dll!JetBrains.ReSharper.UI.PopupWindowManager.TextControlPositionProvider.VisibleAreaChanged(JetBrains.ReSharper.TextControl.VisibleAreaChange
change) Line 83 C#



JetBrains.ReSharper.TextControl.dll!JetBrains.ReSharper.TextControl.Impl.ScrollingModelImplBase.RaiseVisibleAreaChange(JetBrains.ReSharper.TextControl.VisibleAreaChange
visibleAreaChange) Line 113 C#

JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.VSScrollingModel.RaiseEvents()
Line 84 + 0xa bytes C#

JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.VSWindowModel.OnChangeScrollInfo(Microsoft.VisualStudio.TextManager.Interop.IVsTextView
pView = {System.__ComObject}, int iBar = 1, int iMinUnit = 0, int
iMaxUnits = 169, int iVisibleUnits = 60, int iFirstVisibleUnit = 63)
Line 159 + 0x33 bytes C#


System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x94
bytes

System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0x5 bytes

JetBrains.ReSharper.VSIntegration.dll!JetBrains.ReSharper.TextControl.VSIntegration.Windows.VsEditorParentWindow.WndProc(ref
System.Windows.Forms.Message m = {System.Windows.Forms.Message}) Line
176 + 0xb bytes C#

System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 522, System.IntPtr wparam, System.IntPtr lparam) + 0x75
bytes



--
Dmitry Lomov
Senior Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"

0

Please sign in to leave a comment.