[Mono-bugs] [Bug 65883][Wis] Changed - runtime exception in System.AppDomain:LoadAssemblyRaw -- does not happen in microsoft's runtime

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 13 Sep 2004 16:09:58 -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 ddulai@bloomberg.net.

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

--- shadow/65883	2004-09-13 15:27:47.000000000 -0400
+++ shadow/65883.tmp.7818	2004-09-13 16:09:58.000000000 -0400
@@ -159,6 +159,29 @@
 Test constructor
 Test2 constructor
 Test constructor
 Test2 constructor
 
 
+
+------- Additional Comments From ddulai@bloomberg.net  2004-09-13 16:09 -------
+i changed it to:
+
+public AppContainerDispatcher(string lib) {
+   _appdomain = AppDomain.CreateDomain("mydomain" + lib);
+   _appdomain.Load(loadFile(lib));
+   _t1 = _appdomain.CreateInstance(
+                                   "libd",
+                                   "BB.Test", false,
+                  System.Reflection.BindingFlags.CreateInstance,
+                                   null, null, null, null, null );
+}
+
+and the output is:
+
+Test constructor
+free(): invalid pointer 0x40a35378!
+free(): invalid pointer 0x40a350d8!
+free(): invalid pointer 0x40a356d8!
+free(): invalid pointer 0x40a35ad8!
+Test constructor
+