[Mono-list] Mono embedding issue

Robert Jordan robertj at gmx.net
Mon Oct 9 21:19:20 EDT 2006


Andreas Färber wrote:
> 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...

This basically means that io-layer's GetCurrentThread returned
NULL, which is completely nonsense because it always returns
a constant value != NULL.

I suppose MacOS has its own GetCurrentThread function which gets
linked and called instead Mono's:

http://bugzilla.ximian.com/show_bug.cgi?id=77324

Robert



More information about the Mono-list mailing list