[Mono-list] Mono embedding issue
Andreas Färber
andreas.faerber at web.de
Mon Oct 9 17:33:46 EDT 2006
Hello,
When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
in mono_jit_init:
** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
failed: (thread_handle)
aborting...
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
method.
Any ideas?
Andreas
More information about the Mono-list
mailing list