[Mono-bugs] [Bug 82510][Maj] Changed - assert when unloading domains and throwing exception from XmlDocument.Load.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 22 16:15:38 EDT 2007

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 joe at otee.dk.


--- shadow/82510	2007-08-21 16:01:51.000000000 -0400
+++ shadow/82510.tmp.22352	2007-08-22 16:15:37.000000000 -0400
@@ -128,6 +128,16 @@
 ------- Additional Comments From joe at otee.dk  2007-08-21 16:01 -------
 > Also, changing the call to mono_jit_init () to:
 >	domain = mono_jit_init ("UnityDomainLoad.exe");
 >   seems to prevent the crash.
 It fixes the assert in the sample but for some reason it doesn't fix it in Unity, when i apply the 
 same change there.
+------- Additional Comments From joe at otee.dk  2007-08-22 16:15 -------
+I have now tried applying the workaround to Unity:
+All  assembly loading is now done from inside AppDomain.ExecuteAssembly
+But that doesn't seem to fix the crash in Unity, although it fixes the issue in the sample app.
+So i am not sure what to try next.
+Are you going to fix the reference counting problem?

More information about the mono-bugs mailing list