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 ?