[Mono-bugs] [Bug 78766][Nor] Changed - System.Drawing.Image:Dispose exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 5 11:40:14 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 sebastien at ximian.com.

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

--- shadow/78766	2006-07-05 11:36:18.000000000 -0400
+++ shadow/78766.tmp.11519	2006-07-05 11:40:14.000000000 -0400
@@ -86,6 +86,25 @@
 			Console.WriteLine ("Disposed");
 			img.Dispose ();
 		}
         }
 }
 
+
+------- Additional Comments From sebastien at ximian.com  2006-07-05 11:40 -------
+poupou at pollux:~/src/bugzilla> mono 78766.exe mypic.bmp 1
+Flags 73744
+Disposed
+
+So I can't duplicate your issue. Either your code is doing other
+things before disposing the image or it's related to your setup.
+
+Please provide:
+* a complete sample (code + bitmap);
+* the version of Mono and libgdiplus you are using;
+* which version of Linux you're using;
+
+You can also try to compile with debug (mcs -debug) and execute mono
+with debug (--debug) to get a few more information in your stack
+trace. You can also use mono --trace=T:System.Drawing.Image to get
+even more information.
+


More information about the mono-bugs mailing list