[Mono-bugs] [Bug 78315][Maj] New - Crash in 3 line
System.Windows.Forms program
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat May 6 14:47:44 EDT 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 bbjamey at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78315
--- shadow/78315 2006-05-06 14:47:44.000000000 -0400
+++ shadow/78315.tmp.5584 2006-05-06 14:47:44.000000000 -0400
@@ -0,0 +1,101 @@
+Bug#: 78315
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com
+ReportedBy: bbjamey at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Crash in 3 line System.Windows.Forms program
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem: Crash in 3 line System.Windows.Forms program
+
+
+Steps to reproduce the problem:
+1. Compile and run the following C# program
+
+using System.Windows.Forms;
+
+class C {
+ static Form x1 = new Form();
+ static void Main() { System.Console.WriteLine("x1 = {0}",x1); }
+}
+
+
+
+
+Actual Results:
+Mono System.Windows.Forms Assembly [$auto_build_revision$]
+
+x1 = System.Windows.Forms.Form, Text:
+
+
+
+=================================================================
+
+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 (wrapper managed-to-native) System.Drawing.GDIPlus:GdipDisposeImage
+(intptr)
+
+<0x4>
+
+in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipDisposeImage
+(intptr)
+
+<0xffffffd8>
+
+in System.Drawing.Image:DisposeResources () <0x10>
+
+in System.Drawing.Image:Dispose (bool) <0x13>
+
+in System.Drawing.Image:Finalize () <0x10>
+
+in (wrapper runtime-invoke) System.Object:runtime_invoke_void
+(object,intptr,int
+
+ptr,intptr) <0xf02b948>
+
+
+
+This application has requested the Runtime to terminate it in an unusual
+way.
+
+Please contact the application's support team for more information.
+
+
+
+Expected Results:
+
+No crash should occur
+
+How often does this happen?
+
+Always
+
+Additional Information:
+
+Happens all the time to me when using System.Windows.Forms - it may be
+storing forms in static variables that is the problem.
More information about the mono-bugs
mailing list