[Mono-bugs] [Bug 52217][Wis] Changed - Bitmap.SaveTo (stream) doesn't work

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 21 Dec 2003 08:34:51 -0500 (EST)


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 duncan@ximian.com.

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

--- shadow/52217	2003-12-21 08:04:34.000000000 -0500
+++ shadow/52217.tmp.31136	2003-12-21 08:34:51.000000000 -0500
@@ -154,6 +154,25 @@
 So definetly this is a System.Drawing bug.
 
 ------- Additional Comments From cmello@gmx.net  2003-12-21 08:04 -------
 Created an attachment (id=6288)
 Attachment to reproduce the bug in non-asp code
 
+
+------- Additional Comments From duncan@ximian.com  2003-12-21 08:34 -------
+An observation:
+
+I noticed a similar bug when I was working on the DrawArc
+implementation this afternoon: When I run my test app repeatedly, with
+very little break in between each invocation, I see the same
+NullReference crash. After a few more tries, the crash goes away
+temporarily. Try again, and you see the crash once more.
+
+That behavior is probably related to this bug, as removing the outer
+loop eliminates the crash, though no reliably.
+
+I started printing out the loop number (i) in the first
+Console.WriteLine. I noticed that while the crash often occurs in the
+first iteration, sometimes it also occurs in the second iteration,
+being that the first iteration was successful.
+
+Could this be a Cairo bug?