Jump to content

A20 Garbage Collector Crash


Recommended Posts

I am running the vinanrra/7dtd-server docker container and have been since A18 without issue.

A20 has an issue where the garbage collector is crashing the server. This has happened twice since the latest_experimental branch has launched.


Server logs:

2021-12-11T08:10:53 23225.385 INF Clearing all pools
2021-12-11T08:10:58 23230.217 INF Time: 384.09m FPS: 20.27 Heap: 3933.5MB Max: 4586.4MB Chunks: 283 CGO: 0 Ply: 0 Zom: 1 Ent: 0 (196) Items: 1 CO: 0 RSS: 5937.7MB
mmap(PROT_NONE) failed
Caught fatal signal - signo:6 code:-6 errno:0 addr:0x3e80000049b
Obtained 24 stack frames.
#0  0x007f3a929ab980 in funlockfile
#1  0x007f3a925e6fb7 in gsignal
#2  0x007f3a925e8921 in abort
#3  0x007f3a91c5adf1 in GC_unmap
#4  0x007f3a91c5ae5e in GC_unmap_old
#5  0x007f3a91c5dfc4 in GC_finish_collection
#6  0x007f3a91c5e391 in GC_try_to_collect_inner
#7  0x007f3a91c60480 in GC_try_to_collect_general
#8  0x007f3a91c619c6 in GC_gcollect
#9  0x0000004144c126 in (wrapper managed-to-native) System.GC:InternalCollect (int)
#10 0x00000040e987c0 in GameManager:Update ()
#11 0x007f3a91a78be5 in mono_print_method_from_ip
#12 0x007f3a91be8a10 in mono_perfcounter_foreach
#13 0x007f3a91be98bd in mono_runtime_invoke
#14 0x007f3a9401eca2 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#15 0x007f3a9401cf42 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#16 0x007f3a93fffd48 in MonoBehaviour::CallUpdateMethod(int)
#17 0x007f3a93d3d346 in void BaseBehaviourManager::CommonUpdate<BehaviourManager>()
#18 0x007f3a93e9fca7 in ExecutePlayerLoop(NativePlayerLoopSystem*)
#19 0x007f3a93e9fc62 in ExecutePlayerLoop(NativePlayerLoopSystem*)
#20 0x007f3a93ea020e in PlayerLoop()
#21 0x007f3a9407daf6 in PlayerMain(int, char**)
#22 0x007f3a925c9bf7 in __libc_start_main
#23 0x005639c7dec029 in _start


I am running the container on alpine linux, but the container itself is ubuntu-18. I do not see a core dump generated for this crash, please advise how I can further assist you to fix this issue.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...