Server error SIGABRT RPI2
#1
Hi, i am trying to run a server in my Raspberry PI 2b (i am using Arch Linux). I downloaded latest precompiled version, but when i start the server, it crashes.

This is my console log. Thanks!

Code:
[10:14:30] --- Started Log ---

[10:14:30] MCServer Jenkins gcc armhf Release build id: #31
[10:14:30] from commit id: e7708d483eee57fbdd457f566a97315a72fa09e3 built at: Thu Feb 26 03:40:34 EST 2015
[10:14:30] Creating new server instance...
[10:14:30] Reading server config...
[10:14:30] Regenerating settings.ini, all settings will be reset
[10:14:30] Starting server...
pure virtual method called
terminate called without an active exception
[10:14:30]   D:    | MCServer has encountered an error and needs to close
[10:14:30] Details | SIGABRT: Server self-terminated due to an internal fault
[10:14:30] Compatible clients: 1.7.x, 1.8
[10:14:30] Compatible protocol versions 4, 5, 47
./MCServer(_Z15PrintStackTracev+0x14)[0x1ad53c]
./MCServer(_Z14NonCtrlHandleri+0xa0)[0x1a665c]
/usr/lib/libc.so.6(__default_sa_restorer+0x0)[0xb6c52f50]
/usr/lib/libc.so.6(gsignal+0x34)[0xb6c51d24]
/usr/lib/libc.so.6(abort+0x12c)[0xb6c530c8]
/usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x154)[0xb6e5cafc]
/usr/lib/libstdc++.so.6(+0x4a934)[0xb6e5a934]
Abortado (`core' generado)
Reply
Thanks given by:
#2
The raspberry pi build is aimed at the pi 1 which uses an ARMv6 processor. The pi 2 uses an ARMv7 processor which has proved in practise to not be backwards compatible to the ARMv6 processors. So the pre-built pi build does not work on pi twos. The current recommendation is that you build the server yourself.

Edit: ARMv6 and v7 not v7 and v9.
Reply
Thanks given by: mjuezath
#3
Wait, isn't the RPi1 ARMv6 and the RPI ARMv7?
Reply
Thanks given by: worktycho
#4
(02-28-2015, 10:09 PM)worktycho Wrote: The raspberry pi build is aimed at the pi 1 which uses an ARMv7 processor. The pi 2 uses an ARMv9 processor which has proved in practise to not be backwards compatible to the ARMv7 processors. So the pre-built pi build does not work on pi twos. The current recommendation is that you build the server yourself.

I thought that ARMv6 (RPI1) and ARMv7 (RPI2) are compatible architectures and both can run the precompiled server without problem. So, I built the server on my RPI from github source, and everything works now. Lot of thanks!
Reply
Thanks given by:
#5
They are in theory. And I suspect that our builds are doing optimisations that break the compatibility, or that there is an OS issue.
Reply
Thanks given by:
#6
I add a dedicated raspberry pi build too soon.
Reply
Thanks given by:




Users browsing this thread: 4 Guest(s)