[Mono-bugs] [Bug 27663][Maj] Changed - AppDomain fails loading from same dll name different classes

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 23 Jun 2004 08:35:40 -0400 (EDT)


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 miguel@ximian.com.

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

--- shadow/27663	2004-05-27 23:53:12.000000000 -0400
+++ shadow/27663.tmp.10398	2004-06-23 08:35:40.000000000 -0400
@@ -91,6 +91,50 @@
 Loading the new domain2...
  
 ** ERROR **: type 0x61 not handled in do_mono_metadata_parse_type
 aborting...
 Aborted
 ----
+
+------- Additional Comments From miguel@ximian.com  2004-06-23 08:35 -------
+I get this:
+
+mono$ mono testdomain.exe 
+Hola!
+
+** (testdomain.exe:6721): WARNING **: : unref on 14 called when ref
+was already 0
+Sleeping
+
+mono$ mono testdomain.exe &
+[1] 6727
+mono$ Hola!
+
+** (testdomain.exe:6728): WARNING **: : unref on 14 called when ref
+was already 0
+Sleeping
+
+mono$ vi domain1.cs 
+mono$ mcs -target:library   domain1.cs -r:./alexdll.dll 
+Compilation succeeded
+mono$ fg
+mono testdomain.exe
+Hola!xx
+
+** (testdomain.exe:6728): WARNING **: : unref on 38 called when ref
+was already 0
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+
+** (testdomain.exe:6727): WARNING **: Finalization of domain uno timed
+out.
+
+Unhandled Exception: System.CannotUnloadAppDomainException:
+Finalization of domain uno timed out.
+in (unmanaged) (wrapper managed-to-native)
+System.AppDomain:InternalUnload (int)
+in <0x00004> (wrapper managed-to-native)
+System.AppDomain:InternalUnload (int)
+in <0x00049> System.AppDomain:Unload (System.AppDomain)
+in <0x0025e> Lalala:Main ()
+