[Mono-bugs] [Bug 77824][Wis] Changed - im: crash when calling PaintEventArgs.Graphics.Transform in OnPaint()

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 18 10:04:02 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=77824

--- shadow/77824	2006-05-17 17:48:52.000000000 -0400
+++ shadow/77824.tmp.21465	2006-05-18 10:04:02.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 77824
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: matt at use.net               
@@ -95,6 +95,14 @@
 
 ------- Additional Comments From sebastien at ximian.com  2006-05-17 17:48 -------
 It looks like it can be related to bug #77734.
 
 Someone, somewhere dispose e.Graphics and MS runtime re-creates a new
 one each time, while Mono re-use the same one.
+
+------- Additional Comments From sebastien at ximian.com  2006-05-18 10:04 -------
+I can't duplicate the issue myself. However I looked at the
+PaintEventArgs (by making more unit tests ;-) and found out we're
+probably disposing the provided Graphics instance when we shouldn't
+(it's not ours). This _could_ be the problem...
+
+attaching patch for review


More information about the mono-bugs mailing list