protonscr

Failed to determine free disk space (Wheezy, LUKS)

steamclosed reviewedSteam client
ValveSoftware/steam-for-linux#3500 · opened 2014-09-24 by jonasfj · updated 2014-09-25 · 4 comments · github
Jjonasfj 2014-09-24 github

Downloading most of the game worked fine, then after 1.5 GB it just started to fail.

Installing breakpad exception handler for appid(steam)/version(1409240101)
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp (2984) : Assertion Failed: Failed to determine free disk space for /home/jonasfj/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive, error 2
Assert( Assertion Failed: Failed to determine free disk space for /home/jonasfj/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive, error 2 ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp:2984

Installing breakpad exception handler for appid(steam)/version(1409240101)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20140923222723_32.dmp
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-6232801c-770e-4247-a83f-33a952140923
Installing breakpad exception handler for appid(steam)/version(1409240101)

I'm on Wheezy installed using Steam-Installer-for-Wheezy. Which seems to work fine..

Other issues regarding Failed to determine free disk space suggests that you can't handle various file systems, symlinks, etc... This to me suggests that you are doing something obscure.
In my case I suspect it might be because I'm using full disk encryption, which seems to be necessary these days :)

I suggest the following course of action:

  1. Don't crash on "Failed to determine free disk space": display a warning if you must
  2. Use something like LC_ALL=C POSIXLY_CORRECT=true df -Pk /home/jonasfj/.local/share/Steam/steamapps/

Note checking for available disk space is nice. But failing on it is not acceptable. Oh, and don't be smart about parsing the output from df... Or try to reimplement df unless you're willing to test all the corner cases :)

TTele42 2014-09-24 github

I agree that this should not be fatal, endless nag messages that the safety check failed would be better. Related to #2515.

Ggdrewb-valve maintainer 2014-09-24 github

The assert isn't fatal so if it's actually crashing later that would be due to something else (which could still be related to the disk write failure that provoked the check for space, but it's not possible to say from the crash report).

Jjonasfj 2014-09-24 github

@gdrewb-valve,
I'm sorry, you are correct it's not fatal... steam doesn't crash. But it stops downloading and restarting the download doesn't help, it's stops a few seconds later. So steam is completely unusable.

Note, there is no lack of disk space or write errors as far as I'm aware.

Jjonasfj 2014-09-25 github

The issue somehow went away... today I had no problems downloading the remaining 3 GiB...

As the issue is not reliably reproducible, I'm hereby closing it...

Nothing extracted yet.