[Mono-bugs] [Bug 77536][Nor] New - appdomain-unload.exe regression

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 12 10:51:26 EST 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 vargaz at gmail.com.

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

--- shadow/77536	2006-02-12 10:51:26.000000000 -0500
+++ shadow/77536.tmp.11854	2006-02-12 10:51:26.000000000 -0500
@@ -0,0 +1,52 @@
+Bug#: 77536
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: vargaz at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: appdomain-unload.exe regression
+
+Hey,
+
+This patch:
+http://lists.ximian.com/archives/public/mono-patches/2006-February/070618.html
+
+causes appdomain-unload.exe to crash on most platforms.
+
+Here is a reduced testcase:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+using System.Threading;
+using System.Reflection;
+
+public class Tests
+{
+	public static int Main() {
+		AppDomain domain = AppDomain.CreateDomain ("Test3");
+
+		try {
+			domain.DoCallBack (new CrossAppDomainDelegate (SyncCallback));
+		}
+		catch (Exception ex) {
+			/* Should throw a ThreadAbortException */
+			Thread.ResetAbort ();
+		}
+
+		return 0;
+	}
+
+	public static void SyncCallback () {
+		AppDomain.Unload (AppDomain.CurrentDomain);
+	}		
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


More information about the mono-bugs mailing list