ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

assert in tier1/fileio.cpp (2519) #2391

Closed sorokin closed 7 years ago

sorokin commented 11 years ago

I have a few asserts in stderr:

/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp (2519) : Assertion Failed: Failed to determine free disk space for /mnt/a/Steam/steamapps/common/Surgeon Simulator 2013, error 2 Assert( Assertion Failed: Failed to determine free disk space for /mnt/a/Steam/steamapps/common/Surgeon Simulator 2013, error 2 ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp:2519 /home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp (2519) : Assertion Failed: Failed to determine free disk space for /mnt/a/Steam/steamapps/common/Kairo, error 2 /home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp (2519) : Assertion Failed: Failed to determine free disk space for /mnt/a/Steam/steamapps/common/Guns of Icarus Online, error 2

error 2 is ENOENT. The problem is that path should be '/mnt/a/Steam/SteamApps/common/', not '/mnt/a/Steam/steamapps/common/'.

Probably because of that updates of games do not work. Steam prints that update is 'Paused' and does not update anything.

gdrewb-valve commented 11 years ago

You've symlinked to your Steam directory or something like that? It seems like you're hitting the same thing as #2409 .

sorokin commented 11 years ago

Yes it's true. I symlinked steam to /mnt/a/Steam:

ivan@liberty:~/.steam$ LANG=en_US ls -l total 24 lrwxrwxrwx 1 ivan ivan 23 May 9 12:51 bin -> /home/ivan/.steam/bin32 lrwxrwxrwx 1 ivan ivan 24 May 9 12:51 bin32 -> /mnt/a/Steam/ubuntu12_32 lrwxrwxrwx 1 ivan ivan 24 May 9 12:51 bin64 -> /mnt/a/Steam/ubuntu12_64 -rw-rw-r-- 1 ivan ivan 7518 May 9 12:51 registry.vdf lrwxrwxrwx 1 ivan ivan 12 May 9 12:51 root -> /mnt/a/Steam lrwxrwxrwx 1 ivan ivan 20 May 9 12:51 sdk32 -> /mnt/a/Steam/linux32 lrwxrwxrwx 1 ivan ivan 20 May 9 12:51 sdk64 -> /mnt/a/Steam/linux64 lrwxrwxrwx 1 ivan ivan 12 May 9 12:51 steam -> /mnt/a/Steam -rw-rw-r-- 1 ivan ivan 5 May 9 12:51 steam.pid prw------- 1 ivan ivan 0 May 9 12:51 steam.pipe -rwxrwxr-x 1 ivan ivan 8860 Feb 9 02:14 steam_install_agreement.txt

gdrewb-valve commented 11 years ago

We'll need to try and repro here.

sorokin commented 11 years ago

As a workaround I symlinked steamapps to SteamApps.

VenKamikaze commented 11 years ago

Hi,

There's a few issues open for this, but this seemed to have been updated the most recently, so I'm adding my report here.

I just hit this aswell, except I'm running a UDF formatted file system and have a separate steam folder setup there under /data/Linux/Steam where the issue is. It occurs specifically when downloading 'Worms Reloaded', but I just tried 'VVVVVV' on the same partition and that worked fine, so I'm at a loss as to why this game is being treated differently. It gets to 99% done and then pauses the download.

I switched mirrors, verified game cache, restarted the downloaded, and finally restarted Steam from command line to get more info out of the problem and I found this:

/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp (2822) : Assertion Failed: Failed to determine free disk space for /data/Linux/Steam/steamapps/common/Worms Reloaded, error 2
Assert( Assertion Failed: Failed to determine free disk space for /data/Linux/Steam/steamapps/common/Worms Reloaded, error 2 ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier1/../tier1/fileio.cpp:2822

Installing breakpad exception handler for appid(steam)/version(1381282832_client)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/assert_20131018063552_16.dmp
Finished uploading minidump (out-of-process): success = no
error: Couldn't connect to server

I just tried symlinking 'steamapps' -> 'SteamApps' in that directory, but it still fails - as the steamapps/common directory doesn't contain "Worms Reloaded". I'll try installing it to my /home (btrfs) partition next, but it'll take me a while to download it. I'll update this later if it works.

Edit: BTW I think I have a crash dump that uploaded successfully, hopefully of the same thing:

 Thu Oct 17 18:47:31 2013 GMT: file ''/tmp/dumps/assert_20131018041703_17.dmp'', upload yes: ''CrashID=bp-438f5735-5286-42dc-abb1-ef0102131017''

Edit 2: The worms reloaded download to my main steam directory under /home worked fine.

goakley commented 8 years ago

I had a similar issue while pausing my installing of Frozen Cortex (app 237350). I was installing to a separate library located on a different disk (/mnt/steam/steamapps/). Resuming the download caused everything to complete fine.

$ cat /proc/mounts
/dev/sdb1 /mnt/steam ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
../tier1/fileio.cpp (2957) : Assertion Failed: Failed to determine free disk space for /mnt/steam/steamapps/common/Frozen Endzone, error 2
assert_20151127173715_28.dmp[1544]: Finished uploading minidump (out-of-process): success = yes
assert_20151127173715_28.dmp[1544]: response: CrashID=bp-46684277-0413-481f-972f-83fd42151127
assert_20151127173715_28.dmp[1544]: file ''/tmp/dumps/assert_20151127173715_28.dmp'', upload yes: ''CrashID=bp-46684277-0413-481f-972f-83fd42151127''
kisak-valve commented 7 years ago

Closing in favor of #2409.