[Mono-bugs] [Bug 75276][Nor] New - Failure with System.AppDomain:InternalUnload

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 15 10:47:58 EDT 2005


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 joannes.vermorel at ens.fr.

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

--- shadow/75276	2005-06-15 10:47:58.000000000 -0400
+++ shadow/75276.tmp.17012	2005-06-15 10:47:58.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 75276
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: joannes.vermorel at ens.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Failure with System.AppDomain:InternalUnload
+
+I have a DLL containing NUnit tests that succeed on WinXP .Net 1.1 and
+fails against mono (most recent SVN build). The problem seems related the
+AppDomain unloading.
+
+===== Steps to reproduce the problem =====
+1. Download "NGrid.Rosette-v0.1.1.zip" from
+https://sourceforge.net/project/showfiles.php?group_id=108410
+2. Unzip the archive. 
+3. Run unit tests from NUnit console 
+$ mono nunit-console.exe NGrid.Rosette.dll
+
+===== Actual Results: =====
+
+Tests run: 1, Failures: 1, Not run: 0, Time: 15.057713 seconds
+
+Failures:
+1) NGrid.Rosette.HubServices+Tests.AllTests :
+TearDown : System.CannotUnloadAppDomainException : Attempt to unload
+application domain failed.
+
+--TearDown
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) System.AppDomain:InternalUnload (int)
+in <0x0002c> System.AppDomain:Unload (System.AppDomain domain)
+in <0x00074> NGrid.Rosette.HubServices+Tests:TearDown ()
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
+(object,object[])
+in <0x000af> System.Reflection.MonoMethod:Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
+parameters, System.Globalization.CultureInfo culture)
+
+
+===== Expected Results =====
+Do not pay attention to the large amount of trace lines. The tests require
+about 15s to be run. At the end, there should be a NUnit message indicating
+that the tests have succeed.
+
+===== How often does this happen? =====
+Always
+
+===== Additional Information =====
+I am running mono on an AMD64 machine (64b OS).


More information about the mono-bugs mailing list