ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Webhelper does not start because usr-mtree.txt.gz seems broken #10996

Open ramonpin opened 2 months ago

ramonpin commented 2 months ago

Your system information

Please describe your issue in as much detail as possible:

After client update it seems the soldier runtime has been updated. New version refuses to start because webhelper seems to crash every time.

After looking in the logs I found:

steamwebhelper.sh[6754]: Starting steamwebhelper with Sniper steam runtime at /home/ramon/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
pressure-vessel-wrap[6775]: E: While reading a line from /home/ramon/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/sniper_platform_0.20240423.85483/usr-mtree.txt.gz: Se necesita más entrada

It seems file usr-mtree.txt.gz is somehow not readable.

I tried to gunzip and gzip again and it started to work properly.

Steps for reproducing this issue:

  1. Remove folder $HOME/.local/share/Steam/ubuntu12_64
  2. Restart steam client and let it to download the soldier runtime again
  3. Error about usr-mtree.txt.gz somehow not readable shows
  4. gunzip a gzip file again
  5. Restart client
smcv commented 2 months ago

After client update it seems the soldier runtime has been updated

sniper runtime, not soldier.

Se necesita más entrada

This appears to be the translation of the English message "Need more input" from GLib's gzlibdecompressor, which is used to uncompress and check that file. This could indicate that your copy of that file has been corrupted or truncated or something, or it could possibly be a GLib bug.

What is the output of these commands?

sha256sum ~/.steam/root/ubuntu12_64/steam-runtime-sniper.sh
sha256sum ~/.steam/root/ubuntu12_64/steam-runtime-sniper.tar.xz
sha256sum ~/.steam/root/ubuntu12_64/steam-runtime-sniper.version.txt
cat ~/.steam/root/ubuntu12_64/steam-runtime-sniper.version.txt

If you unpack ~/.steam/root/ubuntu12_64/steam-runtime-sniper.tar.xz into a temporary location, what is the sha256sum of the file sniper/SteamLinuxRuntime_sniper/sniper_platform_*/usr-mtree.txt.gz in the newly unpacked copy? And does it match the sha256sum of the file of the same name in ~/.steam/root/ubuntu12_64/steam-runtime-sniper/?

If you completely exit from Steam, then rm -r ~/.steam/root/ubuntu12_64/steam-runtime-sniper and launch Steam again, does the problem come back?

smcv commented 2 months ago

Distribution: Linux Mint 20.3 Una

I think this is based on Ubuntu 20.04 'focal'. Is that correct?

(There are newer versions available, so I'd recommend upgrading - although that's not necessarily closely related to this issue.)