[Mono-bugs] [Bug 77151][Wis] New - Errors running simple form using
1.1.12.1
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jan 3 20:27:52 EST 2006
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 bill.seddon at lyquidity.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77151
--- shadow/77151 2006-01-03 20:27:52.000000000 -0500
+++ shadow/77151.tmp.21793 2006-01-03 20:27:52.000000000 -0500
@@ -0,0 +1,97 @@
+Bug#: 77151
+Product: Mono: Runtime
+Version: 1.0
+OS:
+OS Details: XP SP2
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: bill.seddon at lyquidity.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Errors running simple form using 1.1.12.1
+
+I'm filing this bug because there is a request in 77073 (which is this
+report is the same as) that a Windows bug has to be reported separately.
+
+With 1.1.12.1 on Windows I have problems whatever I do. 1.1.9.2 works
+just fine but with the latest version I get GC errors in ASP.NET
+(reported separately) and errors with the simplest of Windows forms
+(except a form by itself with no controls on).
+
+Since I don't know what "package" to file the report against I've
+selected an arbitrary one.
+
+Attached are two very simple applications. One a form with a button.
+The other a form with a button and a text box. Whether compiled with CSC
+or MCS the executable run when using 1.1.9.2 or Windows .NET.
+
+When run with 1.1.12.1 the simpler for will display but on exit shows:
+
+=================================================================
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries
+used by your application.
+=================================================================
+
+Stacktrace:
+
+in <0x4> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipDeleteGraphics (intptr)
+in <0xffffffc9> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipDeleteGraphics (intptr)
+in <0x19> System.Drawing.Graphics:Dispose ()
+in <0xff9b> (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics:Dispose ()
+in <0x23> System.Windows.Forms.Control:Dispose (bool)
+in <0xf> System.Windows.Forms.ButtonBase:Dispose (bool)
+in <0x10> System.ComponentModel.Component:Finalize ()
+in <0xf0b5bd0> (wrapper runtime-invoke) System.Object:runtime_invoke_void
+(object,intptr,intptr,intptr)
+
+This application has requested the Runtime to terminate it in an unusual
+way.
+Please contact the application's support team for more information.
+
+
+When running the example, the one with a textbox (or, it seems, any other
+control) the following message is generated:
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x00377> System.Windows.Forms.Line:RecalculateLine
+(System.Drawing.Graphics g, System.Windows.Forms.Document doc)
+in <0x000a8> System.Windows.Forms.Document:RecalculateDocument
+(System.Drawing.Graphics g, Int32 start, Int32 end, Boolean optimize)
+in <0x00017> System.Windows.Forms.Document:RecalculateDocument
+(System.Drawing.Graphics g)
+in <0x00026> System.Windows.Forms.Document:owner_HandleCreated
+(System.Object sender, System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs)
+in <0x00023> System.Windows.Forms.Control:OnHandleCreated
+(System.EventArgs e)
+in <0x0000d> System.Windows.Forms.TextBoxBase:OnHandleCreated
+(System.EventArgs e)
+in <0x0000d> System.Windows.Forms.TextBox:OnHandleCreated
+(System.EventArgs e)
+in <0x000ee> System.Windows.Forms.Control:CreateHandle ()
+in <0x0000a> System.Windows.Forms.TextBoxBase:CreateHandle ()
+in <0x00024> System.Windows.Forms.Control:get_Handle ()
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:get_Handle ()
+in <0x0005b> System.Windows.Forms.Document:PositionCaret
+(System.Windows.Forms.Line line, Int32 pos)
+in <0x00309> System.Windows.Forms.TextBoxBase:set_Text (System.String
+value)
+in <0x0000d> System.Windows.Forms.TextBox:set_Text (System.String value)
+in <0x0022f> MonoErrors.Form1:InitializeComponent ()
+in <0x00013> MonoErrors.Form1:.ctor ()
+in (wrapper remoting-invoke-with-check) MonoErrors.Form1:.ctor ()
+in <0x0001b> MonoErrors.Form1:Main ()
More information about the mono-bugs
mailing list