mono 4.4.0.40-2 illegal instruction (core dumped)

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

mono 4.4.0.40-2 illegal instruction (core dumped)

Postby popux » Thu Mar 31, 2016 3:31 pm

I had crashes with mono applications like hubic, on a Raspberrry Pi 1 B.
It is crashing because of this file: /usr/lib/mono/4.5/mscorlib.dll.so
This file is generated by mono aot optimisation (Ahead of Time), which is producing a shared object targeting ARM from mscorlib.dll.
One solution is to disable aot, by using mono like this:
$this->bbcode_second_pass_code('', 'mono -O=-aot')
Or mscorlib.dll.so can be regenerated:
$this->bbcode_second_pass_code('', '# mono --aot /usr/lib/mono/4.5/mscorlib.dll')
/usr/lib/mono/4.5/mscorlib.dll.so will be overwritten and all was working fine after that.
Did it happened to some other people ?
popux
 
Posts: 2
Joined: Thu Mar 31, 2016 2:49 pm

Re: mono 4.4.0.40-2 illegal instruction (core dumped)

Postby replay5 » Sat Apr 02, 2016 8:32 am

Have the same problem.

Cannot aot mscorlib :(


Mono Ahead of Time compiler - compiling assembly /usr/lib/mono/4.5/mscorlib.dll
Code: 5304072(86%) Info: 126802(2%) Ex Info: 182683(2%) Unwind Info: 185033(3%) Class Info: 102272(1%) PLT: 7149(0%) GOT Info: 132042(2%) Offsets: 109454(1%) GOT: 64016
Compiled: 25177/25179 (99%), No GOT slots: 16057 (63%), Direct calls: 39344 (81%)
Executing the native assembler: "as" -o /tmp/mono_aot_cJ1bZa.o /tmp/mono_aot_cJ1bZa
AOT of image /usr/lib/mono/4.5/mscorlib.dll failed.
replay5
 
Posts: 1
Joined: Sat Apr 02, 2016 8:28 am

Re: mono 4.4.0.40-2 illegal instruction (core dumped)

Postby popux » Mon Apr 04, 2016 8:51 am

Did you try this as root?
popux
 
Posts: 2
Joined: Thu Mar 31, 2016 2:49 pm


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 5 guests