The last month’s worth of stupid error names is really getting irritating. Keeps us laymen from trying to figure out problems while waiting for the next update to create more issues we have to work around.
I’m getting the same error during launch. No one working on fivem has any idea what file is locked so we can unlock it? Or what is locked so we can fix the problem and move on?
I tried using Unlocker but all i get is some pid and unlocker won’t unlock any file in either the fivem or gta v folders. Restart doesn’t help, nothing is left running to tell windows to unlock whatever file needs unlocking.
This one started randomly for me, and won’t go away…period.
The ‘stupid error names’ aren’t meant to hide the actual issue, they’re to distinguish people having different problems. Previously the error messages were just ‘FiveM has stopped working’, these names are automatically generated based on the location in your computer’s memory the crash happened on: there’s no ‘hidden info’ we have that we’re hiding from you.
In addition, this error happens if multiple game instances are running at once, as the cache/priv/LOCK file exists and is locked by the other game instance.
Also, Unlocker does not work on newer Windows versions - what OS version are you running?
Blockquote In addition, this error happens if multiple game instances are running at once, as the cache/priv/LOCK file exists and is locked by the other game instance.
Actually, that’s just one cause. So far, the tons of people having this issue, it’s not the cause.There’s more users than you realize having this problem. I figured out what’s going on. FiveM crashes, freeze,s, black screens so much, even without mods, that even a restart to attempt to unlock any files doesn’t work. I had so many people with the problem yesterday I had no choice but to figure out a fix. I used IOBit Unlocker to unlock every file in the fivem client folder. Now after every crash, which is about every 5 minutes or when the UI constantly decides not to behave, I unlock the entire folder.
Blockquote The ‘stupid error names’ aren’t meant to hide the actual issue, they’re to distinguish people having different problems. Previously the error messages were just ‘FiveM has stopped working’, these names are automatically generated based on the location in your computer’s memory the crash happened on: there’s no ‘hidden info’ we have that we’re hiding from you.
Hiding information is exactly what the error names looks like they’re doing. The titles don’t make you guys look professional. If you’re naming the memory address, then put that in the message, not as the message title. This sort of nonsense shows just how badly fivem needs proper project management. If there is someone managing fivem, they’re definitely not doing any kind of job that’s worth mentioning.
Then, what is, given how you seem to know so well how to handle a software project?
except that makes no sense, the OS will release any file handles used by a crashing application, that’s the whole concept Windows NT (the basis of your current system) got designed on back in 1989.
are you running Windows 7, 8, 8.1 or another similarly outdated OS version?
if you seem to be getting all the people with ‘a problem’, then why don’t you direct them here so we can actually, you know, fix the issue by figuring out correlations between people having the issue?
Except then people will say ‘I have 02948239LOTS OF NUMBERS ERROR’, and not see the difference between the error messages themselves. We’ve seen this before: people posted in every topic about a ‘fatal error’ that they ‘have the same issue’ as they couldn’t read the small subtext, so we replaced the error title with these memory address hashes, and it had the expected result: people only post about having the same error when they have the same error.
Thanks for clarifying how error hashes to distinguish errors are ‘nonsense’. Oh, wait, you didn’t, except saying that it doesn’t ‘look professional’.
If you want to analyze your crashes yourself, each and every one gets saved to the crashes/ folder with a minidump file associated, given how you seem to be great at both developing software and reverse engineering I invite you to take a look at this directory to actually, you know, figure out what goes on.
aurum, you’re so out of touch, quit trying to help or even justify anything. You’re right in a couple of areas, but still doesn’t change the underlying issues that are constantly not being addressed.
Back to the issue at hand.
Creed_Warf, there is a fix.
The Cause
FiveM crashes, either due to a bug in FiveM or some mod that prevents FiveM from cleanly shutting down.
FiveM freezes. Examples: the ui turns into a non-responsive black screen, is in windows mode and doesn’t respond, fails to alt-tab to/from another program, fails to respond to the widows key + d key combo to go to desktop, plus several other ui issues that causes fivem to stop responding.
Because of the all the crashing and freezing, many times the computer itself needs restarting or a hard shutdown.
Windows is notoriously bad for not unlocking files from a crashed program. Even though this problem has gotten better with windows 8 and continued to get better with windows 10, files can still remained locked. One scenario leaving files locked is when the system is shutting down or restarting, not all files get a chance to unlock.
All the above leads to files in the fivem folder being locked by a rogue process that no longer exists. Windows can’t unlock the files if it doesn’t detect the crashed process since the process doesn’t exist anymore. Now the database file being locked starts to make sense. As annoying as it is, as long as fivem continues to crash and not close cleanly, leaving locked files behind will be a reality.
Solution
I use IOBits Unlocker (free) to unlock the entire fivem folder. Once installed, right click the fivem folder and select IOBits Unlocker in the menu. You will have an option to unlock all the files and folders inside your fivem folder. Make sure to unlock everything.
we’re (the ‘cfx-system’ elements) actual core developers of the project, now who are you exactly?
workaround*
no it isn’t, however there’s scenarios where some third-party software (antivirus, drivers, …) ends up suspending crashed FiveM processes rather than allowing them to exit. that’s not the OS’s fault.
that makes no sense, a file can’t be locked by a nonexistent process
the only way files can be ‘locked’ still is if the process didn’t crash nor close at all, as is the case on a number of system setups that are all running a particular yet undetermined inopportune driver.
workaround* but yes it’ll allow you to launch the game again, but uninstalling whatever driver hangs in a kernel-mode thread is probably a lot more helpful