[Mono-list] mono_jit_init abort

Robert Jordan robertj at gmx.net
Sun Mar 14 10:01:30 EDT 2010

On 14.03.2010 14:25, Ruud v A wrote:
> I have a class 'scripting_manager'.
> In this class a MonoDomain* is declared like this: MonoDomain* _mono_domain;
> In the constructor of scripting_manager I do this:
> mono_set_dirs("mono/lib", "mono/etc");
> _mono_domain = mono_jit_init("VenioEngineManaged.dll");
> Note that setting the dirs or not does not make a difference. I copied the
> lib and etc folders to a folder called 'mono' which is in the same directory
> as the executable. The mono dll is also in this directory.

Calling mono_set_dirs () is mandatory under Windows. Try absolute

Also, don't expect to be able to call mono_jit_init more than
once per process, even if paired with mono_jit_cleanup ().

> 3 I tried a source version I built myself (as debug), not from svn but form
> the site, the latest change in the cangelog of this version is 2010-02-18. I
> also tried the DLL from my mono installation, version 2.6.1.

You should use the official version (at present Mono 2.6.1)
of mono.dll and its etc and lib dirs, otherwise no one will be
able to reproduce your issues.


More information about the Mono-list mailing list