protonscr

verbose UserLocalConfigStore errors loading steam

steamclosed reviewedSteam client
ValveSoftware/steam-for-linux#2281 · opened 2013-04-07 by sorokin · updated 2019-07-18 · 16 comments · github
Ssorokin 2013-04-07 github

I have a long list of error when I start steam:

KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file UserLocalConfigStore [offset: 49152]
UserLocalConfigStore, apptickets, 206690, (41800), (CDDialog), (NameHistory),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file UserLocalConfigStore [offset: 49152]
UserLocalConfigStore, (apptickets), (206690), (41800), (CDDialog), (NameHistory),
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/KeyValues.cpp (2388) : Assertion Failed: Error while parsing text KeyValues for resource UserLocalConfigStore
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file UserLocalConfigStore [offset: 49152]
UserLocalConfigStore, apptickets, 206690, (41800), (CDDialog), (NameHistory),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file UserLocalConfigStore [offset: 49152]
UserLocalConfigStore, (apptickets), (206690), (41800), (CDDialog), (NameHistory),
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/KeyValues.cpp (2388) : Assertion Failed: Error while parsing text KeyValues for resource UserLocalConfigStore
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file UserLocalConfigStore [offset: 49152]
UserLocalConfigStore, apptickets, 206690, (41800), (CDDialog), (NameHistory),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file UserLocalConfigStore [offset: 49152]
UserLocalConfigStore, (apptickets), (206690), (41800), (CDDialog), (NameHistory),
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/KeyValues.cpp (2388) : Assertion Failed: Error while parsing text KeyValues for resource UserLocalConfigStore

Everything works. But perhaps these errors could be fixed.

Jjohndrinkwater 2013-04-07 github

This is something like a corrupt localconfig.vdf file, it should be in Steam/userdata//config/. If you make a *backup of that file and then delete it and restart steam, does this issue (and #2282) fix itself?

Ssorokin 2013-04-07 github

Removing localconfig.vdf fixes the issue. Thank you.

Judging by content of this file I can say that it was truncated in the middle of section "apptickets".

Perhaps steam should create temporary file and then atomically rename it to localconfig.vdf?

Ggdrewb-valve maintainer 2013-04-15 github

This is likely not a Linux-specific issue.

Sshakaran 2013-06-03 github

I have the same issue in Ubuntu Linux 13.10 (Alpha 1). I think that this problem prevents me to install a game (Don't Starve)

KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, (*Software*), (*Valve*), (*Steam*), (*apps*), (*221030*), 
KeyValues.cpp (2386) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
KeyValues Error: RecursiveLoadFromBuffer:  got empty keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, apps, 221030, 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, apps, (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, (*Steam*), (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, (*Valve*), (*Steam*), (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, (*Software*), (*Valve*), (*Steam*), (*apps*), (*221030*), 
KeyValues.cpp (2386) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
KeyValues Error: RecursiveLoadFromBuffer:  got empty keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, apps, 221030, 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, apps, (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, (*Steam*), (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, (*Valve*), (*Steam*), (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, (*Software*), (*Valve*), (*Steam*), (*apps*), (*221030*), 
KeyValues.cpp (2386) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore

/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/KeyValues.cpp (2389) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore
KeyValues Error: RecursiveLoadFromBuffer:  got empty keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, apps, 221030, 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, apps, (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, Steam, (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, Valve, (*Steam*), (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, Software, (*Valve*), (*Steam*), (*apps*), (*221030*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file InstallConfigStore [offset: 4096]
InstallConfigStore, (*Software*), (*Valve*), (*Steam*), (*apps*), (*221030*), 
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/KeyValues.cpp (2389) : Assertion Failed: Error while parsing text KeyValues for resource InstallConfigStore

I backup and move the Steam/userdata/*/config/ but still doesn't work properly.

Ggdrewb-valve maintainer 2013-06-03 github

Try renaming Steam/ClientRegistry.blob and see if that helps.

Sshakaran 2013-06-04 github

@gdrewb-valve Same issue executing:

mv Steam/ClientRegistry.blob Steam/ClientRegistry-backup.blob

What file it is reading exactly KeyValues.cpp? Maybe it helps if debug trace shows the config file parsed for errors. I can't even install any game update (Champion of Regnum or Killing Floor). This bug is preventing me to play new games or use game updates in Steam.

Ggdrewb-valve maintainer 2013-06-04 github

The debug message is mentioning that it's reading the InstallConfigStore information. That's in a config file, such as the places johndrinkwater mentioned, and that's why it fixed it for sorokin. That didn't work for you so I suggested ClientRegistry.blob in case there was something else going on. However, I see that yours is InstallConfigStore instead of UserLocalConfigStore, so your issue may be in ~/Steam/config/config.vdf. Try renaming that.

The most comprehensive thing to do is completely remove Steam and reinstall it, we're just suggesting less painful routes.

Sshakaran 2013-06-04 github

@gdrewb-valve the problem was indeed with Steam/config/config.vdf file. It seems truncated (this are the last lines, note that finish in character ")

"221030"
                    {
                        "installdir"        "~/Steam/SteamApps/common/townsdemo"
                        "UpdateKBtoDL"      "0"
                        "HasAllLocalContent"        "1"
                        "

I just rename the file like you said with:

mv ~/Steam/config/config.vdf ~/Steam/config-backup.vdf

Then when I start steam, a new file is generated and I can now install or update games available, yay!.

So, could be a workaround if when you get a KeyValues Error ask to the user to regenerate the file and backup the last corrupted file.

IMHO, there are a lot scenarios that a config file cannot be totally writen at all or truncated. For example, shutdown the pc, unexpected crash, etc, that could cause a truncate config.vdf file.

Ggdrewb-valve maintainer 2013-06-04 github

There should never be a truncated file since Steam shouldn't write them in a way that can leave them invalid. There's a different issue open for that, but we'll leave this one open also as a reminder. This isn't a Linux-specific issue, though, so there won't be live tracking here.

Bboltronics 2014-01-27 github

I get this issue on occasion also, and the localconfig.vdf certainly looks truncated.

My suspicion is that it's related to occasionally running out of HDD space. Sometimes the Steam client will be downloading an update and then will pause, and I'll quickly realize that my /home partition is 100% full. When this happens, I'll close down Steam, free up some space, and open it up again some time later.

Both running out of space and this Steam issue have happened a few times (I'm holding out for 1Tb mSATA SSDs released next month), and while I'm not certain, there could be some correlation here.

Mmx1up 2014-02-04 github

hi, thanks a lot for the tips in this thread.
I had the same problem with the InstallConfigStore and indeed, my config.vdf was truncated too. Removing it fixed the problem.

At first I thought all the trouble was caused because I added an extra install location which was located on a partition which was not always mounted.

I have to agree with @boltronics though that it is more likely caused by a full HD. I also remember running out of space a few weeks ago so that's probably when the trouble started. I didn't notice immediately because it only showed when games started receiving updates and I couldn't update anymore.

Bboltronics 2014-02-04 github

The Samsung 1Tb mSATA SSD came out quicker than expected, so I installed it last week. Now that I finally have plenty of space, I don't expect to ever see this issue reappear again. I promise to report back here if I ever do see it though.

Kkisak-valve maintainer 2017-04-25 github

Hello, is anyone still experiencing this issue with an up to date client?

Bboltronics 2017-05-02 github

Haven't seen it in ages. Haven't ran out of space in ages either. :smiley:

Kkisak-valve maintainer 2017-05-11 github

Closing in favor of #2543.

Zzor1984qq 2017-08-31 github

Its not a space issue dude it something worse, I have the same on my Manjaro system and it can be possible corrupted due to power outage or recent bad system shutdown and I have a lot of space in there and it happens for me much more frequently under hipster Linux systems, on Ubuntu (or any flavour) I haven't had such problems like NEVER:

dev 3,9G 0 3,9G 0% /dev
run 3,9G 1,6M 3,9G 1% /run
/dev/sda3 908G 160G 702G 19% /
tmpfs 3,9G 26M 3,9G 1% /dev/shm
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
tmpfs 3,9G 7,0M 3,9G 1% /tmp
/dev/sda2 976M 97M 812M 11% /boot
tmpfs 799M 16K 799M 1% /run/user/1000

Nothing extracted yet.