Using canary? No Windows version: Any System specifications: Various
Server
Operating system: Windows Server Artifact version: Any IP address: Localhost and on my public server Resources: +150 System specifications:
Incident
Summary: If a server has a good number of streamed resources, and use OneSync, when you are entering on the server, and the game start download streamed resources all scripts just freeze, being impossible to get out from the Loadingscreen.
When the player has a very speedy download speed, the chances to the problem happen is low Expected behavior: The scripts keep running fine while downloading streamed resources. Actual behavior: The scripts are freezes, making the loadingscreen infinite, due to spawnmanager being blocked from execute codes to ShutdownLoadingScreen. Steps to reproduce: Use a clean cache, enter on a server with a lot of streamed resources and with OneSync activated, and will have a good chance to scripts freeze. (Lower download speeds increase the chances to the problem happen)
Server/Client? Client Files for repro (if any): None Error screenshot (if any): None .dmp files/report IDs: (Only full memory dumps)
ā¦ okay, the last dump has nothing to do with that same call stack, and was actually still loading the game. Again, not āscripts hangingā. Not going to download the first dump as really, 100MB parts?
Sure this is not some completely different issue somewhere?
Iām waiting for my staff members to get more full memory dump from new players to post here to make sure what is causing that problem. And sorry for my splitted dump, i really canāt upload a 700MB file with my poor upload speed (0.50kb/s), it was done on my own PC, using the repro provided and caused the thing on resmon.
And basicly in all cases, they stay on the infinite loadscreen, but i will get more details to make sure to the new dumps have the same problem.
Itās being difficult to get more memory dumps because players normally has a low connection speed, and need to stay 5 hours or more stopped while uploading their dumps, or they donāt trust on us for send this file. But we are trying to get more dumps right now.
Iām not sure about that, but testing streamed clothes these days with a friend, him has experienced a bug who cause their clothes to stop the download, showing this on F8:
Even when i had selected other streamed clothes and asked him to look at me, their game donāt download these others streamed clothes, after the failure with the first one.
And why i think this can have some relation with the Scripts freezeā¦ Because in most of times, the F8 when the scripts freeze, i can see some clothes downloading on F8, before the game freezing. Obviously i can be completely wrong, but iām trying to understand the reason to this bug, because these last days, more players are being affected by this on my public server, even me. Thank you for you support. And told me if you require more Full memory dumps for this problem, because i had told my Staff team to stop collecting these dumps.
(These prints from āspawnmanagerā was used to debug the Scripts freeze problem, all stages has timeouts to be sure any players will not get stuck due to a script problem)
any clue what specific failure condition was logged here for this user? recurring download failures will practically break a game session as one canāt āsafelyā dequeue a gta streamer request
Probably Packet loss. I remember looking at the Connection status between us. With other friends, i had this too, even without Packet loss, but just a one time. I donāt thing all players who has provided Memory dumps are having Packet loss, even me yesterday on my main server, but maybe it can show a possible reason to the Scripts freeze, i hope.
Iām one of the staffs members from the topic creator and i will stay posting full memory dumps from players who are unable to enter in the server due to infinite loading (Scripts being freezed, causing infinite loadscreen
After the update done on morning of 07/06, we got a lot more reports of Scripts freezing while entering than the normal from our players. We are collecting full memory dumps from all of them and will post here when those dumps are available.
I tried to:
Update the artifacts to 2681, but nothing changed.
I had look at the CPU, Memory and Bandwidth usage, but nothing are strange on serverside.
And i had a unique case where a player was looking at the ā/strdbg 1ā, all data was frozen, and after a lot of time waiting on Loadscreen, their game had unfrozen randomly, with no visible reason. (This never happened with no other person, only one time with one person)
Iām running out of ideas, and after the update from yesterday, i donāt know what to do because a lot of people are wanting a fix from me, but i had tried everything i can, and nothing had worked.
Thanks for your support, and i hope this problem will get a fix sometime, i donāt know when, but i hope soonly. I will be here to provide any info to help on this, and anything to identify this bug.
Didnāt someone at one point find out something about parachutes led to fwAnimDirector hangs - assuming thatās the ones youāre still experiencing?
Thereās a lot of potential things that can hang, especially over time it might be notable to have some newer dumps.
I donāt think my players are experiencing this due to Parachutes, because itās pretty rare when someone are using parachutes on my server. My staff members are collecting newer dumps from our players and will post them here soon as they can. The most recent dumps collected was the dumps posted by @Soneka (one of my staffs members) 5 days ago.
Didnāt someone at one point find out something about parachutes led to fwAnimDirector hangs - assuming thatās the ones youāre still experiencing?
That was me and yes can confirm, removing parachute access to player fixed it, that was 100% sure it was that, did removed all scripts one by one until it never happen again, and yeah that was the parachute.
Didnāt found a repro but seems related to peds around you using parachute not yourself.
So, iām gonna remove Parachute access and block it from being used by anyone today and see if those reports will stop. Hope so
The strange part is why the FiveM client update from 07/06 had increased the relats of Scripts freeze so intensively, but lets see what will happen removing parachutes. Thanks.
Unfortunately, the Parachutes removal has not solved my problem .
I had removed them yesterday, and look at reports until today, but still ocurring. Iām looking for possible scripts causing this, but currently none had reduced the cases of Scripts freeze.
My staff will stay collecting Full memory dumps from our players and posting here until a fix, or the reason for this be found.
Thanks for your support and the attempt in helping me.
Those last days i was doing a lot of changes to spawnmanager in order to find a possible reason for this problem, but i had no luck unfortunately. But iām here to share everything i had see these days:
I got a decent way to repro this on my server, i was using this to test some changes:
I enter on the server (we have a Login screen who shows up when Session became active), and when the Login screen shows up, i wait 60 seconds, put my Password and press Enter, if i wait those 60 seconds, i had a >95% chance from being stuck on Loadscreen (From 100 times i had entered to test some changes for it, 96 times i became frozen), but if i log-in pretty fast, this tax drops decently, but when more and more players are connected, even connecting fast, it still happening and you can only trust in your luck to enter without being stuck on Loadscreen.
I have observed too, some rare cases while waiting for those 60 seconds, some times the game stucks even without trying to connect or just doing nothing, because the resmon is completely frozen, and the Login button donāt work, forcing me to Close the FiveM totally.
Some players are creating some strange (but creative) ways trying to bypass that problem, i canāt prove the accuracy of them (and i donāt believe on them), but some players are having some success with them, soā¦
Putting FiveM_GTAProccess with High priority on Task Manager had shown a good result for some peoples
Logging pretty fast when the Login screen shows up
Log-in with less things possible opened, only really necessary ones, like FiveM, Steam, Discord, etc
What i had done:
Remove all Parachutes interactions from the servers (No result).
Try to avoid any possible broken interactions on Login function, using only simple functions, but nothing had shown a improvement.
I had disabled a lot of scripts, rewritted other ones due to a suspect in how they work, but no luck too.
Tried to force it to happen on my local server, but even on my main server, i can only repro it while there is at least 10~15 players.
Use newer Canary client.
Where it getting stuck?
When i press the Login button, it received data from a Net EventHandler, and when i call ANY āwhileā function, it will became stuck, and if i call ANY āCreateThreadā function, the code inside will not be triggered, as you can see here:
I guess i donāt have forgot anything to say here, but if i had i will add more information here. Thanks all of you, and keep your good work FiveM team.