[Mono-bugs] [Bug 78315][Nor] Changed - Crash in 3 line System.Windows.Forms program

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 24 09:00: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 sebastien at ximian.com.

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

--- shadow/78315	2006-07-11 22:10:08.000000000 -0400
+++ shadow/78315.tmp.31900	2006-08-24 09:00:44.000000000 -0400
@@ -255,6 +255,14 @@
 
 ------- Additional Comments From peter at novonyx.com  2006-07-11 22:10 -------
 No, we still don't know what causes it. However, running applications 
 is not a problem, even with this bug. It happens on shutdown, after 
 Main has already terminated. We've been chasing this for a long time, 
 and it's interaction with MS GDI+, that seems to be doing it.
+
+------- Additional Comments From sebastien at ximian.com  2006-08-24 09:00 -------
+Note: The image (well the bitmap) being freed when the SIGSEGV happens
+was loaded using Image.FromStream. This method takes a different path
+in Windows (than Linux) and use a special wrapper:
+
+GDIPlus.GdipLoadImageFromStream(new ComIStreamWrapper(stream), out
+imagePtr);


More information about the mono-bugs mailing list