[Mono-bugs] [Bug 79061][Wis] New - Unreleased WAPI shared handles after AppDomain unload

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 11 19:44:11 EDT 2006


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 brian at fluggo.com.

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

--- shadow/79061	2006-08-11 19:44:11.000000000 -0400
+++ shadow/79061.tmp.6171	2006-08-11 19:44:11.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 79061
+Product: Mono: Runtime
+Version: 1.1
+OS: SUSE 9.2
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: brian at fluggo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Unreleased WAPI shared handles after AppDomain unload
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Shared handles persist after an AppDomain has unloaded. Seems to be a
+leftover case from:
+  http://bugzilla.ximian.com/show_bug.cgi?id=78241
+
+Steps to reproduce the problem:
+using System;
+
+namespace Test {
+    class Test {
+        static void Main() {
+            for( ;; ) {
+                AppDomain domain = AppDomain.CreateDomain( "dummy" );
+                domain.DoCallBack( new CrossAppDomainDelegate( Callback ) );
+                AppDomain.Unload( domain );
+            }
+        }
+
+        public static void Callback() {
+        }
+    }
+}
+
+Actual Results:
+WAPI shared thread handles get used up like crazy, as evidenced by mono
+--wapi=hps.
+
+Expected Results:
+Shared handles disappear with the AppDomain.
+
+How often does this happen? 
+Every time.
+
+Additional Information:


More information about the mono-bugs mailing list