[Mono-dev] Embedded on ARM : jit_init error

Damien maitredede at gmail.com
Wed Oct 12 02:53:14 UTC 2016


I am coding a C/C++ app that use mono embedded, on a Raspberry Pi (raspbian
latest version)

I have updated mono (from Mono repositories) :
Mono JIT compiler version 4.6.1 (Stable Wed Sep 28 14:39:46
UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  armel,vfp+hard
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

When I try to run my program, I have a error when calling mono_jit_init()...

My program (shortened) :
domain = mono_jit_init("PiranhaLauncher");

The error :

Mono: AOT: FOUND method System.OutOfMemoryException:.ctor (string)
[0x726da6ec - 0x726da720 0x72b04007]
[0x76fa03f0: 0.00000 0] ENTER: (wrapper runtime-invoke)
<Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr)()
ip: (nil)
Mono: AOT: FOUND method System.Exception:.cctor () [0x7264ee8c - 0x7264eecc
[0x76fa03f0: 0.00182 1] ENTER: (wrapper runtime-invoke)
object:runtime_invoke_void (object,intptr,intptr,intptr)() ip: (nil)
[0x76fa03f0: 0.00235 2] ENTER: (wrapper alloc) object:SlowAllocSmall
(intptr,intptr)() ip: (nil)
* Assertion at mini-arm.c:434, condition `lmf_addr_tls_offset != -1' not met

Full error : http://pastebin.com/D8afH4Rx

Any idea where to start searching ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20161012/a7ff247d/attachment-0001.html>

More information about the Mono-devel-list mailing list