[Mono-bugs] [Bug 81709][Nor] New - [WIN32] OutOfMemoryException resizing form a lot

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 22 17:03:24 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 gert.driesen at pandora.be.

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

--- shadow/81709	2007-05-22 17:03:24.000000000 -0400
+++ shadow/81709.tmp.18318	2007-05-22 17:03:24.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 81709
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: Windows XP SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [WIN32] OutOfMemoryException resizing form a lot
+
+When rapidly resizing a form for while (by dragging the sizing grip to all 
+corners of the screen), the following exception is reported:
+
+System.OutOfMemoryException: Not enough memory to complete operation [GDI+ 
+status: OutOfMemory]
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
+  at System.Drawing.Graphics.FromHdc (IntPtr hdc) [0x00000] 
+  at System.Windows.Forms.XplatUIWin32.GetOffscreenGraphics (System.Object 
+offscreen_drawable) [0x00000] 
+  at System.Windows.Forms.XplatUI.GetOffscreenGraphics (System.Object 
+offscreen_drawable) [0x00000] 
+  at System.Windows.Forms.Control+DoubleBuffer.Start 
+(System.Windows.Forms.PaintEventArgs pe) [0x00000] 
+  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& 
+m) [0x00000] 
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& 
+m) [0x00000] 
+  at System.Windows.Forms.ScrollableControl.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc 
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, 
+IntPtr wParam, IntPtr lParam) [0x00000] 
+
+I stumbled onto this by accident and found no other way to reproduce it 
+after that.
+
+I was only able to reproduce it with the "smaller" repro attached to bug 
+#80394.
+
+Have fun ;-)


More information about the mono-bugs mailing list