[Mono-bugs] [Bug 76191][Nor] New - OpenFileDialog.ShowDialog() leak

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 22 14:56:34 EDT 2005

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 kornelpal at hotmail.com.


--- shadow/76191	2005-09-22 14:56:34.000000000 -0400
+++ shadow/76191.tmp.7818	2005-09-22 14:56:34.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 76191
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: kornelpal at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: OpenFileDialog.ShowDialog() leak
+Code to reproduce bug:
+class OpenFileDialogBug
+	static void Main()
+	{
+		new System.Windows.Forms.OpenFileDialog().ShowDialog();
+	}
+When I call OpenFileDialog.ShowDialog() on Windows it results in no 
+dialog being shown but causes mono.exe to allocate all the available 
+memory and use all the available CPU resources. The only thing I can do 
+is to kill the process.
+I was unable to figure out the problem because dialog is shown without 
+the leak when I build and use MWF on .NET Framework.

More information about the mono-bugs mailing list