[Mono-bugs] [Bug 59597][Maj] New - GC failing to collect some objects

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Jun 2004 08:57:19 -0400 (EDT)


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

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

--- shadow/59597	2004-06-04 08:57:19.000000000 -0400
+++ shadow/59597.tmp.27436	2004-06-04 08:57:19.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 59597
+Product: Mono: Runtime
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lluis@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: GC failing to collect some objects
+
+The following test case has leaks for me:
+
+using System;
+using System.Collections.Specialized;
+
+class Test
+{
+	public static void Main(string[] args)
+	{
+		for (int n=0; n<1000000; n++) {
+			NameValueCollection col = new NameValueCollection ();
+			col.Add("a", "a");
+		}
+	}
+}
+
+
+I have RH9. spouliot also get the leak in FC1, although lupus does not in
+Debian.
+
+As a side effect of this, XSP is leaking for me.