This is what happens when you try to run the server on the raspberry pi

[email protected]:~/Downloads/cfx-server $ mono CitizenMP.Server.exe
2017-01-08 00:45:03.4854|INFO|CitizenMP.Server|Creating initial server instance.
2017-01-08 00:45:04.0227|INFO|CitizenMP.Server|Pre-parsing resources: mapmanager
2017-01-08 00:45:04.0434|INFO|CitizenMP.Server|Found resource mapmanager in resources/[managers]/mapmanager.
wrong maximal instruction length of instruction tls_get (expected 8, got 20)

  • Assertion: should not be reached at mini-arm.c:5341

Stacktrace:

at <0xffffffff>
at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo,bool) <0xffffffff>
at System.Delegate.CreateDelegate (System.Type,object,System.Reflection.MethodInfo,bool,bool) <0x007ff>
at System.Delegate.CreateDelegate (System.Type,object,System.Reflection.MethodInfo) <0x00033>
at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type,object) <0x00043>
at System.Linq.Expressions.Compiler.LambdaCompiler.CreateDelegate () <0x00077>
at System.Linq.Expressions.Compiler.LambdaCompiler.Compile (System.Linq.Expressions.LambdaExpression,System.Runtime.CompilerServices.DebugInfoGenerator) <0x00093>
at System.Linq.Expressions.LambdaExpression.Compile () <0x00017>
at CitizenMP.Server.Resources.ScriptEnvironment.Create () <0x00b07>
at CitizenMP.Server.Resources.Resource.EnsureScriptEnvironment () <0x00067>
at CitizenMP.Server.Resources.Resource.Parse () <0x00013>
at CitizenMP.Server.Resources.ResourceManager.AddResource (string,string) <0x000df>
at CitizenMP.Server.Resources.ResourceManager.ScanResources (string,string) <0x001e7>
at CitizenMP.Server.Resources.ResourceManager.ScanResources (string,string) <0x00103>
at CitizenMP.Server.Program/d__4.MoveNext () <0x0065f>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<CitizenMP.Server.Program/d__4> (CitizenMP.Server.Program/d__4&) <0x0004b>
at CitizenMP.Server.Program.Start (string) <0x00103>
at CitizenMP.Server.Program.Main (string[]) <0x00073>
at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

Debug info from gdb:

[New LWP 1763]
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/arm-linux-gnueabihf/libthread_db.so.1”.
0x76e8bef8 in __libc_waitpid (pid=1764, stat_loc=0x7ea94af0, options=0) at …/sysdeps/unix/sysv/linux/waitpid.c:40
40 …/sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Id Target Id Frame
2 Thread 0x75b4b430 (LWP 1763) “mono” 0x76e89a40 in do_futex_wait ([email protected]=0x3181a4) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:48

  • 1 Thread 0x76f9b000 (LWP 1762) “mono” 0x76e8bef8 in __libc_waitpid (pid=1764, stat_loc=0x7ea94af0, options=0) at …/sysdeps/unix/sysv/linux/waitpid.c:40

Thread 2 (Thread 0x75b4b430 (LWP 1763)):
#0 0x76e89a40 in do_futex_wait ([email protected]=0x3181a4) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76e89af4 in __new_sem_wait (sem=0x3181a4) at …/nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
#2 0x00219f98 in mono_sem_wait ()
#3 0x0019091c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x76f9b000 (LWP 1762)):
#0 0x76e8bef8 in __libc_waitpid (pid=1764, stat_loc=0x7ea94af0, options=0) at …/sysdeps/unix/sysv/linux/waitpid.c:40
#1 0x000c0ba4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Aborted
[email protected]:~/Downloads/cfx-server $ date
Sun 8 Jan 00:52:58 UTC 2017
[email protected]:~/Downloads/cfx-server $

okay, so? do you want anything done about it or are you abusing the forums as a personal blog?

you need an x64 system to run the server. no arm, no x86, no mips or ppc or sparc either.

2 Likes