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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82134 --- shadow/82134 2007-07-18 12:14:31.000000000 -0400 +++ shadow/82134.tmp.25514 2007-07-18 12:14:31.000000000 -0400 @@ -0,0 +1,51 @@ +Bug#: 82134 +Product: Mono: Compilers +Version: 1.2 +OS: +OS Details: 2.6 Linux +Status: NEW +Resolution: +Severity: +Priority: Major +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: AutoResetEvent causes memory leak when compiled with gmcs + +Description of Problem: +When using AutoResetEvent and compiling with gmcs, memory is leaked; +however, this does not occur when using mcs. + + +Steps to reproduce the problem: +Compile this app with gmcs and run, then with mcs and run + +using System; +using System.Threading; + +namespace Ipop { + public class IPOP_Common { + public static void Main() { + AutoResetEvent re = null; + while(true) { + re = new AutoResetEvent(false); + re.Close(); + } + } + } +} + +Actual Results: +gmcs: memory usage explodes +mcs: memory stabilizes at > 5 MB + +Expected Results: +gmcs should not explode + + +How often does this happen? +Every time _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
