[Mono-list] Embedding Mono

Daniel Lopez daniel@rawbyte.com
Mon, 3 Mar 2003 12:45:36 -0800

> 2) If I build with "./configure --with-gc=boehm", any assembly run by
> mono segfaults with an assertion on line 4099 of jit.c
> (mono_get_lmf_addr) on cleanup

This occurs with regular Mono from the command line or when embedding?
When embedding, with recent versions of mono you need to do certain things
when running managed code in the main thread (either mono_thread_attach() or
special calls for running managed code in a separate thread)
Otherwise you will get that error. You can have a look at embed/ in the
documentation directory