[Mono-bugs] [Bug 78766][Wis] New - System.Drawing.Image:Dispose exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 5 10:45:50 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 pjmarcosa at hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78766

--- shadow/78766	2006-07-05 10:45:50.000000000 -0400
+++ shadow/78766.tmp.11049	2006-07-05 10:45:50.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 78766
+Product: Mono: Class Libraries
+Version: 1.1
+OS: unknown
+OS Details: linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: pjmarcosa at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Drawing.Image:Dispose exception
+
+Description of Problem:
+Fatal error
+
+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,intptr,intptr) <0x6df8b2b0>
+
+
+Steps to reproduce the problem:
+1. 
+System.Drawing.Image img;
+img=System.Drawing.Image.FromFile(.......);
+.
+.
+.
+if (img.Flags==73744) {
+  img.Dispose(); // exception
+} else {
+  img.Dispose(); // ok
+}
+
+Actual Results:
+Exception
+
+Expected Results:
+ok
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list