7DTD
7DTD copied to clipboard
fatal error in gc: suspendthread loop failed
Hi Mate:
Thanks for you work!
It works perfect but,
The game will crash every ~15mins after joined a server and sometimes raised an error :
fatal error in gc (suspendthread loop failed)
my version is 21.1(b16)
Have a good one :)
Thanks for your report. By the look of the error, it appears to be an issue with the garbage collector. My current guess is that somehow the cheat might be affecting the maximum garbage collection time, it might have something to do with the unity garbage collection setup for the game. It is also possible that the issue resides with a memory leak. Could you open task manager and see if memory radically increases while playing with the cheat?
Just got time to test it, result as below:
-
Game started - 700MB-1G
-
After join the server - 2G and increase to 3.5G
-
Playing until the game disappear (but still exist in task manager) - 4.2G
Thanks for the reply. So its not a memory leak then which makes diagnosing this issue more difficult. What server have you been playing on? so I can try to see if the server causes the same issues for myself. My guess right now is its either something in the default garbage collector settings in the game or it could be something to do with a mod messing up a parameter for a hooked function effectively vehing a massive loop in a hooked function until the stack gets full.
I just updated the release and source to include a new feature that tries to disable the garbage collector every few seconds and reenable it so it can't get into vicious loops of exceptions. It's in the new debug menu called "Garbage Collector Setting" You could try turning that on.
Thanks for the fix,
Just tested but the game still crashed, will test it more today.
After some trial and error, I have deduced that the error seems to be within either misc or aimbot. So I will keep trying to brute force the issue.
The issue appears to be in the misc class. So I will go through there just testing each function.
any updates on this?