Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error in gc: suspendthread loop failed #7

Open
LemonLemonCloud opened this issue Aug 24, 2023 · 8 comments
Open

fatal error in gc: suspendthread loop failed #7

LemonLemonCloud opened this issue Aug 24, 2023 · 8 comments
Labels
Bug Something isn't working Investigating Actively being worked on

Comments

@LemonLemonCloud
Copy link

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 :)

@IntelSDM
Copy link
Owner

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?

@LemonLemonCloud
Copy link
Author

Just got time to test it, result as below:

  1. Game started - 700MB-1G

  2. After join the server - 2G and increase to 3.5G

  3. Playing until the game disappear (but still exist in task manager) - 4.2G

@IntelSDM
Copy link
Owner

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.

@IntelSDM
Copy link
Owner

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.

@LemonLemonCloud
Copy link
Author

LemonLemonCloud commented Aug 25, 2023

Thanks for the fix,

Just tested but the game still crashed, will test it more today.

@IntelSDM
Copy link
Owner

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.

@IntelSDM
Copy link
Owner

The issue appears to be in the misc class. So I will go through there just testing each function.

@IntelSDM IntelSDM added Bug Something isn't working Investigating Actively being worked on labels Aug 25, 2023
@mbNightstalker
Copy link

any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Investigating Actively being worked on
Projects
None yet
Development

No branches or pull requests

3 participants