[Mono-list] Mono embedding issue
andreas.faerber at web.de
Mon Oct 9 17:33:46 EDT 2006
When embedding Mono 22.214.171.124 on OS X i386, I get an assertion failure
** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
It goes on to mention SIGABRT and includes an empty stacktrace.
The same code, compiled against the corresponding ppc Mono.framework,
works great on PPC. I've looked at the beforementioned source file in
SVN head and found no clue.
The http://www.mono-project.com/Embedding_Mono Wiki page mentioned
including a gc.h before pthread.h but such an include file is not
distributed together with Mono, some other include paths on the page
might need updating as well (mono/jit/jit.h instead of mono/mini/
jit.h). However, I am not spawning any threads myself, thus not using
pthread.h, just calling the mono_jit_init function within my library
More information about the Mono-list