Smugger
Refugee
Dedicated Server Random Crashes
Unity Mono Error / 64bit Linux Guest VM
-- UNSOLVED -- NO FIX --
--- BUT POSSIBLE WORK AROUND IN POSTS BELOW ---
Link to Workround
I move my Dedicated Server over from a Windows PC to a Linux Server.
It worked great for a while, but then a little while ago, I started randomly crashing, there has been no method to the madness of the crashes.
I tried to collect as much information as I could, like what people were doing when it happened, if they got any errors on their end.
It did not seem to be attached to any particular action or reasoning, in fact, it has even just crashed randomly when no one was on it and no one was on it for a while, sometimes it will go a day with no issues, many times it will be many hours, but sometimes it will crash over and over again back to back like every 15-20 min. I can not figure this our at all.
It have even gotten a couple of crashes when I started it up and it ran for a few hours with no one logging in at all, and then it will just crash.
My current workaround is a script I wrote to check if the server is still up and running, if not it will start it back up again.
Most of the time the process will just completely crash and will not be running after the error, but sometimes when it crashes the process will still be running and it has to be killed.
Google searches have been of no help!
This is on a 64bit linux system, I have all the 32bit libraries
PS: Do anyone know how to get any additional debugging information!?!?
I already know about the loglevel command and how to use it, that provides no additional info.
Here is what the errors tend to look like:
Code:
Receiving unhandled NULL exception
#0 0x007f682dd38140 in funlockfile
#1 0x007f682dd386d0 in mono_array_element_size
#2 0x007f682dd386e0 in mono_array_new_specific
#3 0x007f682dd38710 in (Unknown)
#4 0x007f682dd38720 in (Unknown)
#5 0x007f682dd38730 in (Unknown)
#6 0x007f682dd38740 in (Unknown)
#7 0x007f682dd38750 in mono_set_defaults
#8 0x007f682dd38c10 in mono_runtime_invoke
#9 0x007f682dd38c40 in mono_runtime_invoke_array
#10 0x007f682dd38d00 in mono_store_remote_field_new
#11 0x007f682dd38d60 in mono_thread_create
#12 0x007f682dd38da0 in mono_thread_create
#13 0x007f682dd38de0 in mono_thread_create
#14 0x007f682dd38e30 in mono_pthread_key_for_tls
#15 0x007f682dd38e50 in GC_end_blocking
#16 0x007f682dd38f00 in start_thread
#17 0x007f682dd38fc0 in clone
Here is the stacktrace info:
Stacktrace:
at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0x00064>
at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0x00064>
at MapChunkDatabase.allocateDataStorage () <0x0001a>
at DatabaseWithFixedDS`2<int, uint16[]>.read (System.IO.BinaryReader,uint) <0x001a8>
at DatabaseWithFixedDS`2<int, uint16[]>.Load (string,string) <0x0024c>
at MapChunkDatabase.LoadAsync (ThreadManager/TaskInfo) <0x0009f>
at ThreadManager.myQueuedTaskInvoke (object) <0x00101>
at (wrapper runtime-invoke) object.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0x00069>
Native stacktrace:
/home/sdtd/engine/7DaysToDieServer_Data/Mono/x86_64/libmono.so(+0x98673) [0x7f6abc7c3673]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f6ac0096890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f6abf18ae97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f6abf18c801]
/home/sdtd/engine/7DaysToDieServer.x86_64() [0xb13b5c]
/home/sdtd/engine/7DaysToDieServer_Data/Mono/x86_64/libmono.so(+0xd8f65) [0x7f6abc803f65]
/home/sdtd/engine/7DaysToDieServer_Data/Mono/x86_64/libmono.so(+0x3721f) [0x7f6abc76221f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f6ac0096890]
/home/sdtd/engine/7DaysToDieServer_Data/Mono/x86_64/libmono.so(mono_array_element_size+0x1) [0x7f6abc810dc5]
/home/sdtd/engine/7DaysToDieServer_Data/Mono/x86_64/libmono.so(mono_array_new_specific+0x1f) [0x7f6abc869d54]
[0x413457e4]
Debug info from gdb:
=================================================================
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.
=================================================================
Hey Fun Pimps, why do you not have any Official Support? I should not have to depend on the community for help.
Last edited by a moderator: