T
Tom C
We have a window named FormApplication which just happens to be our
mid parent window. When I open it in the designer, it is stuck in a
loop redisplaying a c1flexgrid. maxing out our cpu's. By attaching to
the process from another visual studio, I can get it to break on some
user code with this huge callstack, most of which is native. So are we
instantiating something in design mode that we should not be? Does
this mean anything to anyone? Is there any way to track dow the cause
of this?
System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs
e) + 0x57 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.OnPaint(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x36 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x35 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintWithErrorHandling(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}, short layer,
bool disposeEventArgs = false) + 0x5b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmPaint(ref
System.Windows.Forms.Message m) + 0x20b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x2e7 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0x1ef bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.DesignerWindowTarget.DefWndProc(ref
System.Windows.Forms.Message m) + 0xb bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.WndProc(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0xcca bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.DesignerWindowTarget.OnMessage(ref
System.Windows.Forms.Message m) + 0x46 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 15, System.IntPtr wparam, System.IntPtr lparam) + 0x75
bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Control.Update() +
0x6b bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.InvalidateAdornerWindow(System.Drawing.Region
region) + 0x62 bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior.ClearInsertionMark(System.Windows.Forms.ToolStripItem
item) + 0x1fd bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior.OnMouseLeave(System.Windows.Forms.Design.Behavior.Glyph
g) + 0x4d bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.InvokeMouseEnterLeave(System.Windows.Forms.Design.Behavior.Glyph
leaveGlyph, System.Windows.Forms.Design.Behavior.Glyph enterGlyph =
{System.Windows.Forms.Design.ToolStripItemGlyph}) + 0x4e bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.PropagateHitTest(System.Drawing.Point
pt) + 0xaa bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.WndProcProxy(ref
System.Windows.Forms.Message m = {msg=0x200 (WM_MOUSEMOVE)
hwnd=0xa0a80 wparam=0x0 lparam=0x2d101d3 result=0x0}, int x, int y) +
0x32 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.MouseHook.ProcessMouseMessage(System.IntPtr
hWnd, int msg, int x, int y) + 0x172 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.MouseHook.MouseHookProc(int
nCode = 0, System.IntPtr wparam = 512, System.IntPtr lparam = 1241372)
+ 0x5f bytes
[Native to Managed Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x38c bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayControl.WndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 274, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x87a bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayControl.WndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 161, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes
mid parent window. When I open it in the designer, it is stuck in a
loop redisplaying a c1flexgrid. maxing out our cpu's. By attaching to
the process from another visual studio, I can get it to break on some
user code with this huge callstack, most of which is native. So are we
instantiating something in design mode that we should not be? Does
this mean anything to anyone? Is there any way to track dow the cause
of this?
System.Windows.Forms.dll!AdvancedSoftwareDesigns.Windows.Forms.dll!AdvancedSoftwareDesigns.Windows.Forms.FlexGrid._flex_Paint(Object sender = {ProductVision.Windows.Forms.FlexGrid}, System.Windows.Forms.PaintEventArgs e = {ClipRectangle = {System.Drawing.Rectangle}}) Line 441 Basic
System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs
e) + 0x57 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.OnPaint(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x36 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x35 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintWithErrorHandling(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}, short layer,
bool disposeEventArgs = false) + 0x5b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmPaint(ref
System.Windows.Forms.Message m) + 0x20b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x2e7 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0x1ef bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.DesignerWindowTarget.DefWndProc(ref
System.Windows.Forms.Message m) + 0xb bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.WndProc(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0xcca bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.DesignerWindowTarget.OnMessage(ref
System.Windows.Forms.Message m) + 0x46 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 15, System.IntPtr wparam, System.IntPtr lparam) + 0x75
bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Control.Update() +
0x6b bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.InvalidateAdornerWindow(System.Drawing.Region
region) + 0x62 bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior.ClearInsertionMark(System.Windows.Forms.ToolStripItem
item) + 0x1fd bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior.OnMouseLeave(System.Windows.Forms.Design.Behavior.Glyph
g) + 0x4d bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.InvokeMouseEnterLeave(System.Windows.Forms.Design.Behavior.Glyph
leaveGlyph, System.Windows.Forms.Design.Behavior.Glyph enterGlyph =
{System.Windows.Forms.Design.ToolStripItemGlyph}) + 0x4e bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.PropagateHitTest(System.Drawing.Point
pt) + 0xaa bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.WndProcProxy(ref
System.Windows.Forms.Message m = {msg=0x200 (WM_MOUSEMOVE)
hwnd=0xa0a80 wparam=0x0 lparam=0x2d101d3 result=0x0}, int x, int y) +
0x32 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.MouseHook.ProcessMouseMessage(System.IntPtr
hWnd, int msg, int x, int y) + 0x172 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.MouseHook.MouseHookProc(int
nCode = 0, System.IntPtr wparam = 512, System.IntPtr lparam = 1241372)
+ 0x5f bytes
[Native to Managed Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x38c bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayControl.WndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 274, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x87a bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayControl.WndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg = 161, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes