[Mono-bugs] [Bug 35276][Maj] New - Mcs Hangs when compiling some code (code into bug text)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 Dec 2002 14:34:54 -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 kiwnix@yahoo.es.

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

--- shadow/35276	Sun Dec  8 09:34:54 2002
+++ shadow/35276.tmp.2256	Sun Dec  8 09:34:54 2002
@@ -0,0 +1,52 @@
+Bug#: 35276
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: kiwnix@yahoo.es               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mcs Hangs when compiling some code (code into bug text)
+
+Description of Problem:
+
+  Mcs Hangs when compiling some code
+
+How often does this happen? 
+
+  Allways.
+
+Results:
+ Without ulimit = 
+mono /usr/bin/mcs.exe 2.cs
+
+<Mono eats all the available memory>
+ 
+ With ulimit 
+mono /usr/bin/mcs.exe 2.cs
+GC Warning: Out of Memory!  Returning NIL!
+Trace/breakpoint trap
+
+
+Additional Information:
+Test:
+
+using System;
+using System.Text;
+
+class Test1
+{
+       public static void Main(string s)
+       {
+	StringBuilder a = new StringBuilder(s);
+	a.Add("(").Add("A").Add(")");
+       }
+}