[Mono-dev] Mono crashes when using callbacks from unmanaged to managed world

Zoltan Varga vargaz at gmail.com
Tue Oct 7 13:48:39 EDT 2008


Hi,

  Yeah, arm doesn't have fast TLS support yet, so the cost of
determining whenever to
attach is very high.

            Zoltan

On Tue, Oct 7, 2008 at 5:08 PM, Geoff Norton <gnorton at novell.com> wrote:
> Are you calling back into the runtime from a native thread that you have
> created yourself (ie; not in managed code)
>
> Zoltan,
>
>  It appears at a quick glance we aren't calling mono_jit_thread_attach
> for unregistered threads in the jit on arm, is there a reason for this
> (aside from we just havn't done the work yet?)
>
> -g
>
> On Tue, 2008-10-07 at 13:45 +0000, FirstName LastName wrote:
>> Hi,
>>
>> I have been doing some tests with Mono quite a while.  I'm working
>> with Mono on a ARM.
>>
>> When I try to call a managed callback from the unmanaged world in a
>> unmanaged thread, I get the following:
>>
>> ** ERROR **: file mini.c: line 10315 (mono_get_lmf_addr): should not
>> be reached
>>
>> When I try to call a managed callback from the unmanaged world in
>> a managed thread (actually, in the caller's thread which is managed),
>> it is ok.
>>
>> When I run this on Ubuntu on a X86, I don't get this.
>>
>> Any ideas why?
>>
>>
>>
>> ______________________________________________________________________
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


More information about the Mono-devel-list mailing list