[Mono-dev] Embedded on ARM : jit_init error

Vlad Brezae vlbrez at microsoft.com
Wed Oct 12 17:56:09 UTC 2016


Hello Damien,

        Would you be able to build mono from source and reproduce this issue ? If so, would you like to try a potential fix ?

Thanks,
   Vlad


From: Mono-devel-list <mono-devel-list-bounces at lists.dot.net> on behalf of Damien <maitredede at gmail.com>
Date: Wednesday, 12 October 2016 at 05:53
To: "mono-devel-list at lists.ximian.com" <mono-devel-list at lists.ximian.com>
Subject: [Mono-dev] Embedded on ARM : jit_init error

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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F4.6.1.3%2Fabb06f1&data=01%7C01%7Cvlbrez%40microsoft.com%7C68f185ec0343490885d708d3f24aed0b%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=FZUCYCnKjQjRn56iCwoXS2XLZdm23DCuQ9lQCdaVy38%3D&reserved=0> Wed Sep 28 14:39:46 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mono-project.com&data=01%7C01%7Cvlbrez%40microsoft.com%7C68f185ec0343490885d708d3f24aed0b%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=wZtwEeIe52vzFqDGAh%2BhQJd3FOAleCRnKrAHEHl6o3Q%3D&reserved=0>
        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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpastebin.com%2FD8afH4Rx&data=01%7C01%7Cvlbrez%40microsoft.com%7C68f185ec0343490885d708d3f24aed0b%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=WKHI378AXZkAArUCDaCpg%2Bn30amWzMzxbkHUZW4n5zk%3D&reserved=0>

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/e32f3821/attachment.html>


More information about the Mono-devel-list mailing list