[Mono-dev] Embedded mono - cross compile on cygwin and linux

Matthias D. matthi.d at googlemail.com
Mon Jun 4 19:36:11 UTC 2012


Hi Robert,

I don't know if these are the same errors but if i use mono_runtime_invoke
it will crash there (a little bit later). And if i use the function
pointers returned by mono_method_get_unmanaged_thunk it will crash there
(but not every call) its always MonoLoader.cpp around line 160 in the
getInput-method (This will be called on every tick in a game or twice per
tick).
Both are SIGSEGV or SIGILL.

Thanks for the link.

Matthias

On Mon, Jun 4, 2012 at 7:22 PM, Robert Jordan <robertj at gmx.net> wrote:

> Hi Matthias,
>
>
> On 04.06.2012 16:46, Matthias D. wrote:
>
>> Note: I'm still trying to get this reproduced on a smaller program, but I
>> did not manage it jet :(.
>>
>
> Or at least tell us which thunk call is actually failing in your code.
>
>
>  Note also: These errors also happen in the (stable) 2.11.1 tarball. I will
>> always test master and 2.11.1 tarball. Did your mentioned changes are also
>> in there?
>>
>
> Yes.
>
>
>  And: I'm not using managed classes for interop, only structs as far as i
>> can see? But maybe I'm missing something here.
>>
>
> It doesn't really matter because both layouts were changed.
> However, your structs do not seem to be affected.
>
> This is the change I'm speaking about:
>
> https://github.com/mono/mono/**commit/**706aaed7c772e00b9cec76f8452ef5**
> f1cedfb5e6<https://github.com/mono/mono/commit/706aaed7c772e00b9cec76f8452ef5f1cedfb5e6>
>
>
> Robert
>
> ______________________________**_________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.**com <Mono-devel-list at lists.ximian.com>
> http://lists.ximian.com/**mailman/listinfo/mono-devel-**list<http://lists.ximian.com/mailman/listinfo/mono-devel-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120604/51c1d6c1/attachment.html>


More information about the Mono-devel-list mailing list