[Mono-bugs] [Bug 76313][Nor] New - C# GUIs crash when typing into
textboxes
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Oct 1 22:12:27 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by max at digitaldownpour.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76313
--- shadow/76313 2005-10-01 22:12:27.000000000 -0400
+++ shadow/76313.tmp.16453 2005-10-01 22:12:27.000000000 -0400
@@ -0,0 +1,84 @@
+Bug#: 76313
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details: Gentoo, kernel 2.6.12-r6, KDE 3.4
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: max at digitaldownpour.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: C# GUIs crash when typing into textboxes
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem: In a C# app using System.Windows.Forms, the app
+will crash on any attempt to type text into a text box.
+
+
+Steps to reproduce the problem:
+1. Create a new solution, use one main form that contains a text box.
+2. Compile and run the app.
+3. Click on the text box in the app and type.
+
+Actual Results: App crashes with the following output:
+Creating caret
+Destroying caret
+Creating caret
+Got WM_KEYFIRST
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Windows.Forms.XplatUIX11:GetFontMetrics (intptr,intptr,int&,int&)
+in <0x00034> System.Windows.Forms.XplatUIX11:GetFontMetrics
+(System.Drawing.Graphics g, System.Drawing.Font font, System.Int32 ascent,
+System.Int32 descent)
+in <0x0001e> System.Windows.Forms.XplatUI:GetFontMetrics
+(System.Drawing.Graphics g, System.Drawing.Font font, System.Int32 ascent,
+System.Int32 descent)
+in <0x00325> System.Windows.Forms.Line:RecalculateLine
+(System.Drawing.Graphics g, System.Windows.Forms.Document doc)
+in <0x000b5> System.Windows.Forms.Document:RecalculateDocument
+(System.Drawing.Graphics g, Int32 start, Int32 end, Boolean optimize)
+in <0x00069> System.Windows.Forms.Document:UpdateView
+(System.Windows.Forms.Line line, Int32 pos)
+in <0x0007c> System.Windows.Forms.Document:InsertCharAtCaret (Char ch,
+Boolean move_caret)
+in <0x00206> System.Windows.Forms.TextBoxBase:WndProc
+(System.Windows.Forms.Message m)
+in <0x0000d> System.Windows.Forms.TextBox:WndProc
+(System.Windows.Forms.Message m)
+in <0x00014> System.Windows.Forms.Control+ControlNativeWindow:WndProc
+(System.Windows.Forms.Message m)
+in <0x0011e> System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg
+msg, IntPtr wParam, IntPtr lParam)
+in <0x00016> System.Windows.Forms.XplatUIX11:DispatchMessage
+(System.Windows.Forms.MSG msg)
+in <0x00015> System.Windows.Forms.XplatUI:DispatchMessage
+(System.Windows.Forms.MSG msg)
+in <0x00222> System.Windows.Forms.Application:Run ()
+in <0x000a4> System.Windows.Forms.Application:Run
+(System.Windows.Forms.ApplicationContext context)
+in <0x0002e> System.Windows.Forms.Application:Run
+(System.Windows.Forms.Form mainForm)
+in <0x0001f> MainForm:Main ()
+
+
+
+
+Expected Results: Text shows up in the textbox without crashing.
+
+
+How often does this happen? Always, since I've upgraded to mono run-time
+1.1.9.1 and monodevelop 0.7.0.0.
+
+
+Additional Information:
More information about the mono-bugs
mailing list