Bug 318277 (MONO75276) - Failure with System.AppDomain:InternalUnload
Summary: Failure with System.AppDomain:InternalUnload
Status: RESOLVED MOVED
Alias: MONO75276
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Red Hat 9.0
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 17:47 UTC by Joannes Vermorel
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:21:29 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"