[Mono-bugs] [Bug 35819][Nor] New - mono/mint exhausts memory when using accessors

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Dec 2002 12:26:48 -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 steve@przepiora.org.

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

--- shadow/35819	Wed Dec 18 07:26:48 2002
+++ shadow/35819.tmp.16512	Wed Dec 18 07:26:48 2002
@@ -0,0 +1,59 @@
+Bug#: 35819
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: RH 8.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: steve@przepiora.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono/mint exhausts memory when using accessors
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I am just learning c#, the second test program I wrote used up memory until
+it quit and didn't print out the intended result. I have narrowed it down
+to using accessors.
+
+Steps to reproduce the problem:
+1. write a program like so
+public class Test{
+  public int i
+  {
+  get{return i;}
+  set{i=value;}
+  }
+}
+
+public class Hello{
+  public static void Main(){
+  Test t = new Test();
+  t.i=10;
+  System.Console.WriteLine("i:"+t.i);
+  }
+}
+
+2. compile
+3. run and wait till the system is exhausted of memory. I tried both mint
+and mono.
+
+Actual Results:
+program exited without printing
+
+Expected Results:
+print out to the console
+
+How often does this happen? 
+every single time
+
+Additional Information:
+mono 0.17
+RH 8.0 standard install