[Mono-bugs] [Bug 81709][Min] Changed - [WIN32] OutOfMemoryException resizing form a lot

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 22 18:16:55 EDT 2007


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 monkey at jpobst.com.

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

--- shadow/81709	2007-05-22 18:14:13.000000000 -0400
+++ shadow/81709.tmp.18944	2007-05-22 18:16:55.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 81709
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: Windows XP SP2
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Minor
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
@@ -59,6 +59,18 @@
 My guess is the later... so I'm moving this to the caller, MWF ;-)
 
 Anyway it would be useful to run mono with --debug and with
 --trace=M:System.Drawing.GDIPlus:GdipCreateFromHDC to see if I'm right
 about the HDC being NULL.
 
+
+------- Additional Comments From monkey at jpobst.com  2007-05-22 18:16 -------
+A similar error manifests itself in XplatUIWin32.GetFontMetrics for me
+once the GDI objects used reaches 10,000.  Fixed in r77817.
+
+* XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
+without calling DeleteObject.  [Should fix bug #81709]
+
+I *think* this is the same as this bug, which should now be fixed. 
+However I am confident that if it not fixed, you will reopen it.  :)
+
+A bad leak was fixed regardless.


More information about the mono-bugs mailing list