Hi,<div><br></div><div>I&#39;m new here (just signed up), following the <a href="http://mono-project.com/Contributing">http://mono-project.com/Contributing</a> #Ways to Contribute. If okay/appropriate, I would like to throw into the ring suggested fixed as I find them.</div>
<div>Constructive feedback is appreciated.</div><div>My motive/goal: To get this working...</div><div><div style="font-family: Helvetica; font-size: medium; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(212, 39, 34); ">
<span style="color: rgb(0, 0, 0); "><span class="Apple-tab-span" style="white-space: pre; ">        </span></span><span style="color: rgb(115, 62, 164); ">MonoDomain</span><span style="color: rgb(0, 0, 0); ">* domain = </span><span style="color: rgb(64, 31, 125); ">mono_jit_init_version</span><span style="color: rgb(0, 0, 0); "> (</span>&quot;Root Domain&quot;<span style="color: rgb(0, 0, 0); ">, </span>&quot;v2.0.50727&quot;<span style="color: rgb(0, 0, 0); ">);</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(64, 31, 125); "><span style="color: rgb(0, 0, 0); "><span class="Apple-tab-span" style="white-space: pre; ">        </span></span>mono_jit_cleanup<span style="color: rgb(0, 0, 0); ">(domain);</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(212, 39, 34); "><span style="color: rgb(0, 0, 0); "><span class="Apple-tab-span" style="white-space: pre; ">        </span>domain = </span><span style="color: rgb(64, 31, 125); ">mono_jit_init_version</span><span style="color: rgb(0, 0, 0); "> (</span>&quot;Root Domain&quot;<span style="color: rgb(0, 0, 0); ">, </span>&quot;v2.0.50727&quot;<span style="color: rgb(0, 0, 0); ">);</span></div>
<div><span class="Apple-style-span" style="font-family: arial; font-size: small; ">The fix: The first one (of many) is very simple &amp; trivial; set the global_codeman back to NULL so that it goes through the correct code path in function </span><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; ">mono_global_codeman_reserve</span></div>
<div><span class="Apple-style-span" style="font-family: arial; font-size: small; ">My Code base: Tarball 2.10.2</span></div><div><span class="Apple-style-span" style="font-family: arial; font-size: small; ">File: mini.c</span></div>
<div><span class="Apple-style-span" style="font-family: arial; font-size: small; ">Function: </span><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; ">mini_cleanup</span></div><div><span class="Apple-style-span" style="font-family: arial; font-size: small; ">Line: 6706 to 6707</span></div>
<div><span class="Apple-style-span" style="font-family: arial; font-size: small; ">Old code:</span></div><div><span class="Apple-style-span" style="font-family: arial; font-size: small; "><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">
<span class="Apple-tab-span" style="white-space:pre">        </span><span style="color: #be299d">if</span> (!mono_dont_free_global_codeman)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><span class="Apple-tab-span" style="white-space:pre">                </span>mono_code_manager_destroy (global_codeman);</p><div>New code:</div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">
<span class="Apple-tab-span" style="white-space:pre">        </span><span style="color: #be299d">if</span> (!mono_dont_free_global_codeman)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>{</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><span class="Apple-tab-span" style="white-space:pre">                </span>mono_code_manager_destroy (global_codeman);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><span class="Apple-tab-span" style="white-space:pre">                </span>global_codeman = <span style="color: #be299d">NULL</span>;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><span class="Apple-tab-span" style="white-space:pre">        </span>}</p></div><div><br></div></span></div><div><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">Regards,</span></font></div>
<div><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br></span></font></div><div><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">Richard Sykes.</span></font></div></div></div>