[Mono-list] Embedding Mono

Paolo Molaro lupus@ximian.com
Tue, 4 Mar 2003 16:49:15 +0100

On 03/04/03 Glen Starchman wrote:
> > > 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
> > 
> > More info about this would be appreciated, like a gdb stack trace and
> > the like.
> > 
> Sorry, should have done this before. For clarity's sake I am including
> the entire backtrace and at the bottom the embed example that causes the
> trace:

I assumed that by 'mono' above you meant mono the program.
If you are using the embedding API, currently you need to execute the
managed code in a separate thread. This limitation will be removed again
in the future, but in the mean time yu can look at mono/samples/embed
to see how to implement it.


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better