[Mono-bugs] [Bug 77354][Nor] Changed - mono_get_lmf_addr crash

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 12 09:00:57 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz at gmail.com.


--- shadow/77354	2006-02-11 12:38:45.000000000 -0500
+++ shadow/77354.tmp.10626	2006-02-12 09:00:57.000000000 -0500
@@ -58,6 +58,20 @@
 ------- Additional Comments From andreas.faerber at web.de  2006-02-11 12:38 -------
 The bridge code has been posted on the Cocoa-sharp list now.
 Any comments, questions, updates?
+------- Additional Comments From vargaz at gmail.com  2006-02-12 09:00 -------
+I know nothing about OSX, but that assert usually means a thread
+calls into managed code without being attached to the runtime. This
+usually happens with system threads calling event callbacks etc. where
+the callback happens to be a managed delegate passed to native code.
+This happens for asynch IO for example.
+If possible, those threads should be attached to the JIT by calling
+mono_thread_attach () from that thread.
+The proper fix (in the runtime) would be automatically attaching those
+ threads to the JIT the first time they call into managed code.

More information about the mono-bugs mailing list