S
Sandman
We have a control that is extending TextBox. At times when we instantiate
the object, the TextBox constructor hangs. I managed to catch the issue
occuring a couple of times during a debug session and paused the execution.
The stack trace was the same in both cases. This is the stack trace on that
thread above our class that extends TextBox:
System.Windows.Forms.dll!System.Windows.Forms.Control._InitInstance(Microsoft.AGL.Forms.WNT wnt = WNT_TEXTBOX, uint dwStyle = 1032) + 0x4b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.Control(Microsoft.AGL.Forms.WNT wnt = WNT_TEXTBOX, uint dwStyle = 1032) + 0xe bytes
System.Windows.Forms.dll!System.Windows.Forms.TextBoxBase.TextBoxBase(Microsoft.AGL.Forms.WNT wnt = WNT_TEXTBOX, uint dw = 1032) + 0x8 bytes
System.Windows.Forms.dll!System.Windows.Forms.TextBox.TextBox() + 0xd bytes
The repro rate is very low and it appears we are doing nothing different
when it works.
We are running .Net Compact Framework 2.0 SP1.
Any help or insight would be appreciated.
the object, the TextBox constructor hangs. I managed to catch the issue
occuring a couple of times during a debug session and paused the execution.
The stack trace was the same in both cases. This is the stack trace on that
thread above our class that extends TextBox:
System.Windows.Forms.dll!Microsoft.AGL.Forms.WL.Create(Microsoft.AGL.Forms.WNT wnt = WNT_TEXTBOX, uint dwStyle = 1032, object pvDelegate = {Microsoft.AGL.Forms.WnProc}, System.Runtime.InteropServices.GCHandle gchThis = {System.Runtime.InteropServices.GCHandle}, out System.IntPtr hwnNew = 0)
System.Windows.Forms.dll!System.Windows.Forms.Control._InitInstance(Microsoft.AGL.Forms.WNT wnt = WNT_TEXTBOX, uint dwStyle = 1032) + 0x4b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.Control(Microsoft.AGL.Forms.WNT wnt = WNT_TEXTBOX, uint dwStyle = 1032) + 0xe bytes
System.Windows.Forms.dll!System.Windows.Forms.TextBoxBase.TextBoxBase(Microsoft.AGL.Forms.WNT wnt = WNT_TEXTBOX, uint dw = 1032) + 0x8 bytes
System.Windows.Forms.dll!System.Windows.Forms.TextBox.TextBox() + 0xd bytes
The repro rate is very low and it appears we are doing nothing different
when it works.
We are running .Net Compact Framework 2.0 SP1.
Any help or insight would be appreciated.