[Mono-dev] Embedded on ARM : jit_init error
Damien
maitredede at gmail.com
Wed Oct 12 02:53:14 UTC 2016
Hi,
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 4.6.1.3/abb06f1 Wed Sep 28 14:39:46
UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
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) :
mono_config_parse(cfgBuffer);
mono_trace_set_level_string("debug");
mono_jit_set_trace_options("");
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
0x72b00a06]
[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 ?
Thanks.
Damien
-------------- 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