Closed Kaede573 closed 2 years ago
Please note that I am using Dropbox to keep my scores synced and backuped. I got to think about it some more, and I'm strongly suspecting OF is trying to acquire a lock after Dropbox has put a lock on the file (for uploading after last change). Since duplicates appeared in my Stats.xml at some point and it grew huge (10MB), it would explain why I am starting to notice these delays more and more (though I would expect even more delay than that, considering I have got around 500KB/s upload speed). Sorry for the useless bug report if this theory is true. I will try to confirm it.
We cannot write to a file that is locked, so the main thread will hang until the lock is released.
You should turn off Dropbox when playing as it can cause dual entries and corruption.
Is there an existing issue for this?
Operating System
Windows 10
CPU
i5-12600KF
GPU
Radeon RX 6700 XT
Storage
WD_BLACK SN770 NVMe
Game Version
4.16.0HF
Game Mode
dance
Theme
Simply Love v5.1.2 (latest)
Describe the problem
Oftentimes after clearing a song I get 3-4 seconds (or longer) pauses when leaving the gameplay screen. It doesn't happen 100% of the time but it is frequent. I haven't reproduced the issue with the default theme yet (but I have given it just a few tries, I never use default). I think this is an old problem. It happened to me back in 2021-09-04 (using latest OutFox release at that time), but maybe less frequent at that time (smaller Stats.xml ?).
I have attached logs I copied just after the freeze happened. I have checked the "theme errors" (that can be displayed using the debug menu, "Show recent errors") but nothing was shown there.
Logs.zip
Describe what should happen
The game shouldn't hang
Relevant Log output
No response