[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:43:51 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-08-24 09:00:44.000000000 -0400
+++ shadow/78315.tmp.32138 2006-08-24 09:43:51.000000000 -0400
@@ -10,12 +10,13 @@
Component: Windows.Forms
AssignedTo: peter at novonyx.com
ReportedBy: bbjamey at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
+Cc: jonathan.chambers at ansys.com,kornelpal at gmail.com
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
@@ -263,6 +264,14 @@
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);
+
+------- Additional Comments From sebastien at ximian.com 2006-08-24 09:43 -------
+The error seems to happen only with the COM wrapper.
+
+E.g. if I save the stream to a file and load the image from the file I
+don't get the error under Win32.
+
+c.c. author of this code
More information about the mono-bugs
mailing list