[Mono-bugs] [Bug 35266][Maj] New - this typo causes the compiler to suck CPU and memory

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 Dec 2002 03:01:01 -0000


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

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

--- shadow/35266	Sat Dec  7 22:01:01 2002
+++ shadow/35266.tmp.1488	Sat Dec  7 22:01:01 2002
@@ -0,0 +1,25 @@
+Bug#: 35266
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: peterw@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: this typo causes the compiler to suck CPU and memory
+
+I added the following line here at corlib/System.IO/Directory.cs:65:
+
+	Console.WriteLine ("considering sum <<" + pathsumm.ToString + ">>");
+
+Note the lack of parentheses after "pathsumm.ToString". The compiler sucked
+up all my CPU and was on course to allocating all my RAM too. Adding the
+parentheses resulted in normal compilation.