Bugzilla – Bug 318277
Failure with System.AppDomain:InternalUnload
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by joannes.vermorel@ens.fr 2005-06-15 10:47:57 MST ---- 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). ---- Additional Comments From vargaz@gmail.com 2005-07-07 16:48:11 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO75357 *** This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"