protonscr

Steam segfaults despite deleting appinfo.vdf

steamclosed AMD driversreviewed
ValveSoftware/steam-for-linux#2854 · opened 2013-09-16 by hp-pepster · updated 2013-09-20 · 18 comments · github
Hhp-pepster 2013-09-16 github

Hi,

as I wrote in one of the other reports https://github.com/ValveSoftware/steam-for-linux/issues/2841#issuecomment-24442875, I deleted everything - as far as I know - installed by steam. I purged steam and steam-launcher

$ sudo apt-get remove --purge steam steam-launcher
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  steam:i386* steam-launcher*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 2945 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 309208 files and directories currently installed.)
Removing steam:i386 ...
Removing steam-launcher ...
Purging configuration files for steam-launcher ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...

$ rm -rf ~/.steam* .local/share/Steam/

rebooted, just to be sure no unknown, fancy named steam-process is running, reinstalled steam again.

$ sudo dpkg -i steam_1.0.0.42_i386.deb steam-launcher_1.0.0.42_all.deb
Selecting previously unselected package steam:i386.
(Reading database ... 309185 files and directories currently installed.)
Unpacking steam:i386 (from steam_1.0.0.42_i386.deb) ...
Selecting previously unselected package steam-launcher.
Unpacking steam-launcher (from steam-launcher_1.0.0.42_all.deb) ...
Setting up steam-launcher (1.0.0.42) ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Setting up steam:i386 (1.0.0.42) ...

Firing up steam, the download-party starts again:

$ steam
Setting up Steam content in /home/<randomusername>/.local/share/Steam
Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
Installing breakpad exception handler for appid(steam)/version(1.0_client)
Installing breakpad exception handler for appid(steam)/version(1.0_client)
Installing breakpad exception handler for appid(steam)/version(1.0_client)
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2013-09-14 10:43:10] Startup - updater built Sep  6 2013 12:04:22
[2013-09-14 10:43:12] Verifying installation...
[2013-09-14 10:43:12] Unable to read and verify install manifest /home/<randomusername>/.local/share/Steam/package/steam_client_ubuntu12.installed
[2013-09-14 10:43:12] Verification complete
[2013-09-14 10:43:12] Downloading Update...
[2013-09-14 10:43:12] Checking for available update...
[2013-09-14 10:43:13] Package file strings_all.zip.1f4b22ca90c6726baccfa60474c472b6b9be8ae7 missing or incorrect size
[2013-09-14 10:43:13] Package file resources_all.zip.bab122a0e77d304ccb2328c28ad7d0d947adbd31 missing or incorrect size
[2013-09-14 10:43:13] Package file tenfoot_all.zip.b0d7c5e553e6e553da498c43280b25799afd2e13 missing or incorrect size
[2013-09-14 10:43:13] Package file tenfoot_fonts_all.zip.1b6915a5c23a4cf6e406f67608e9f812ff0f39aa missing or incorrect size
[2013-09-14 10:43:13] Package file tenfoot_ambientsounds_all.zip.888b796633f8a81789aeb026bc1aa3292d04f989 missing or incorrect size
[2013-09-14 10:43:13] Package file tenfoot_sounds_all.zip.dfec000915d28aa2284cede6bb6249021ce474a1 missing or incorrect size
[2013-09-14 10:43:13] Package file tenfoot_images_all.zip.064732cc08bee7dfb5933603f7d9549371809bc7 missing or incorrect size
[2013-09-14 10:43:13] Package file public_all.zip.13fd6bce2dc172618723468b07b228661b37c480 missing or incorrect size
[2013-09-14 10:43:13] Package file bins_ubuntu12.zip.9763fb345084131846039bc369dbf69b8afcc2e3 missing or incorrect size
[2013-09-14 10:43:13] Package file webkit_ubuntu12.zip.73470dadb7db9d6e1c233514d583ea1225bb7dc7 missing or incorrect size
[2013-09-14 10:43:13] Package file miles_ubuntu12.zip.f964128a918c87fcdb50b933c678855db390cba1 missing or incorrect size
[2013-09-14 10:43:13] Package file sdl2_ubuntu12.zip.7360e84ee4a667ece5e078a6b5ffc6fff2dd0f47 missing or incorrect size
[2013-09-14 10:43:13] Package file steam_ubuntu12.zip.ab3ab1f466ef3a081c78caf6af109be6bdb93403 missing or incorrect size
[2013-09-14 10:43:13] Package file runtime_part0_ubuntu12.zip.c6573440c40677b5ab5205b1d08ac811328d2f79 missing or incorrect size
[2013-09-14 10:43:13] Package file runtime_part1_ubuntu12.zip.55967b65c67094c345f53cd1106eec7157ef5b50 missing or incorrect size
[2013-09-14 10:43:13] Downloading update (0 of 210792 KB)...
[2013-09-14 10:43:13] Downloading update (80 of 210792 KB)...
[...]
[2013-09-14 10:43:35] Downloading update (31319 of 210792 KB)...
[2013-09-14 10:43:35] Downloading update (31677 of 210792 KB)...Installing breakpad exception handler for appid(steam)/version(1.0_client)
[2013-09-14 10:43:35] Downloading update (32080 of 210792 KB)...
[...]
[2013-09-14 10:45:41] Downloading update (207591 of 210792 KB)...
[2013-09-14 10:45:41] DoUploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20130914104310_1.dmp
/home/<randomusername>/.local/share/Steam/steam.sh: line 704:  3532 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/<randomusername>/.local/share/Steam/bootstrap.tar.xz
Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME has been set by the user to: /home/<randomusername>/.local/share/Steam/ubuntu12_32/steam-runtime
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-aaced9ff-be06-41b3-b825-15c2c2130914
Installing breakpad exception handler for appid(steam)/version(1378500910_client)
Installing breakpad exception handler for appid(steam)/version(1378500910_client)
Installing breakpad exception handler for appid(steam)/version(1378500910_client)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20130914104603_1.dmp
/home/<randomusername>/.local/share/Steam/steam.sh: line 704:  3859 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-df0ca17f-f3c3-466b-8401-b60a72130914

After that, ~/.local/share/Steam/ contains:

~$ ls -la ~/.local/share/Steam/
total 2996
drwx------ 18 <randomusername> <randomusername>    4096 Sep 14 10:46 .
drwxrwxr-x 27 <randomusername> <randomusername>    4096 Sep 14 10:43 ..
-rw-rw-r--  1 <randomusername> <randomusername>       0 Sep 14 10:43 .crash
-rwxrwxr-x  1 <randomusername> <randomusername>  228864 Jun 15 01:49 ThirdPartyLegalNotices.doc
drwxrwxr-x  3 <randomusername> <randomusername>    4096 Sep 14 10:45 bin
-rwxrwxr-x  1 <randomusername> <randomusername>    5390 Sep  4 00:35 bin_steam.sh
-rwxrwxr-x  1 <randomusername> <randomusername>   11155 Sep  4 00:35 bin_steamdeps.py
-rw-r--r--  1 <randomusername> <randomusername> 2672068 Sep 14 10:43 bootstrap.tar.xz
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:45 controller_config
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:45 friends
drwxrwxr-x  2 <randomusername> <randomusername>   20480 Sep 14 10:45 graphics
drwx------  2 <randomusername> <randomusername>    4096 Sep  9 23:59 linux32
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:43 logs
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:45 package
drwxrwxr-x  3 <randomusername> <randomusername>   12288 Sep 14 10:45 public
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:45 reslists
drwxrwxr-x  6 <randomusername> <randomusername>    4096 Sep 14 10:45 resource
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:45 servers
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:45 skins
drwxrwxr-x  6 <randomusername> <randomusername>    4096 Sep 14 10:45 steam
-rwx------  1 <randomusername> <randomusername>   21213 Aug  1 23:36 steam.sh
-rwxrwxr-x  1 <randomusername> <randomusername>    8860 Jun 15 01:49 steam_install_agreement.txt
-rwxrwxr-x  1 <randomusername> <randomusername>     869 Jun 15 01:49 steam_msg.sh
-rwxrwxr-x  1 <randomusername> <randomusername>     872 Jun 15 01:49 steamdeps.txt
drwxrwxr-x  3 <randomusername> <randomusername>    4096 Sep 14 10:45 tenfoot
drwx------  4 <randomusername> <randomusername>    4096 Sep 14 10:46 ubuntu12_32
drwxrwxr-x  2 <randomusername> <randomusername>    4096 Sep 14 10:45 ubuntu12_64

System specs:

$ uname -r
3.3.7-030307-generic
$ lsb_release -d
Description:    Ubuntu 12.04.3 LTS

$ fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7900 Series
OpenGL version string: 4.3.12438 Compatibility Profile Context 9.01.8

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 4
model name      : AMD Phenom(tm) II X4 955 Processor
stepping        : 2
microcode       : 0x1000086
cpu MHz         : 3200.000
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
bogomips        : 6428.74
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
[...]

$ dmesg |tail
[...]
[  440.741478] steam[3859]: segfault at 0 ip           (null) sp 00000000ffb3b348 error 14 in steam[8048000+416000]

$ ps aux | grep -i "steam"
<randomusername>       8753  0.0  0.0   6504   628 pts/1    S+   13:02   0:00 grep --color=auto steam

If you need anything else, please let me know.

Sscottlu 2013-09-17 github

Using that crashid I took a look at your stack trace. You machine is crashing inside the AMD graphics driver. I recommend checking AMD's site for a new driver and giving it a try.

Dderi82 2013-09-17 github

Why don't you upgrade kernel too? It's an old one now. You only need to download 3 deb files and install them and check dependencies fullfill and after that upgrade ati drivers.

Hhp-pepster 2013-09-17 github

Hi and thanks for the answers.

@scottlu: Last time I've checked, the latest official binary driver from AMD is 13.8-beta2, which I use. Maybe I should try a non beta driver, but the strange thing is, nothing else crashes. This driver used to work with steam before the famous september12/13 update.

@deri82: This old kernel is the latest stable mainline kernel for precise. But I've seen, there are now LTS enablement stack kernel (3.8-something). In former times, I build my own kernel, but to improve the stability and usability of my linux, I decided to skip the kernel panic sessions and use a stockish one.

As soon as I'm back at home I will fiddle arround with a new kernel version and another glx driver.

Kind regards.

[EDIT]
Yesterday I've re-installed my amd driver. There is a certain possibility that the crashdump was created with an older driver version, as far as I remeber I used the 13.8-beta1 before and maybe my update/install script updated the driver without infoming me, impertinent script!

Sscottlu 2013-09-17 github

Is it working now? I am seeing a small number of crash dumps from people with the same stack trace. Looking at the code, it looks like we are making valid calls that shouldn't crash the driver. Thanks.

Hhp-pepster 2013-09-17 github

Hi Sir,

got home 1 hour ago, lots of meetings today...
As promised, I tried a different kernel version and another amd driver version (catalyst-13-4-x86.x86_64):

$ uname -vr
3.8.0-30-generic [#44](/issue/ValveSoftware/steam-for-linux/44)~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013

$ fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7900 Series
OpenGL version string: 4.2.12217 Compatibility Profile Context 9.01.8

But even after deleting amd purging the whole steam stuff and rebooting, here you go:

CrashID=bp-6d13b335-1088-4e58-a343-db2f62130917
CrashID=bp-58b2c429-e039-4918-9531-38dcf2130917

Thanks again for your help. If you need anything else...

Dderi82 2013-09-17 github

Don't lost your hope.

I don't know if this helps, but try to delete all files on directory

~/.steam/steam/appcache >

going there and just rm .

that's how i got steam working when it had issue not restarting. Had to do that every 2nd start, but then steam got update that fixed the issue.

So just don't try to delete one file.

Hhp-pepster 2013-09-17 github

Hi,

as mentioned before, I deleted all files and folders installed by steam:

sudo apt-get remove --purge steam steam-launcher && rm -rf ~/.steam* ~/.local/share/Steam/

But ~/.local/share/Steam/ contains no appcache folder. Steam doesn't live long enough to creating the folder.

[EDIT]
Corrected wrong/incomplete path

Hhp-pepster 2013-09-18 github

Hi,

tried the newest amd driver, 13.9 non beta. but:

CrashID=bp-cc2f7138-9780-4e0c-b9d9-660a82130918
Dderi82 2013-09-18 github

~/.steam/steam/appcache >
I delete the files from here.

Hhp-pepster 2013-09-19 github

I really appreciate your enthusiasm :)
~/.steam/steam is a symlink to ~/.local/share/Steam/. By deleting both directories I also deleted the (non-existing) appcache folder.

rm -rf ~/.steam*

deleted these files/dirs

.steam/     .steampath  .steampid

Maybe I'll try a clean livesystem with the amd driver and steam, just to be sure it's no hardware problem.

Dderi82 2013-09-19 github

Better to wait someone from valve to respond.

Hhp-pepster 2013-09-19 github

As promised, I tried a clean install of kubuntu 13.04 64bit with the latest stable amd driver. I've seen a steam login window.

But as far as I remember, with the latest update, steam wanted to install some dependecies and started a separate window with a list of stuff to install. Unfortunately I can't remember, which packages were missing, but the install process failed and I had to correct broken packages with

sudo apt-get install -f

Today I reinstalled all dependecies from steamdeps.txt. Maybe I could try the radeon driver...

Dderi82 2013-09-19 github

maybe you can check your software center, it should have some log what files has been installed and when.

Hhp-pepster 2013-09-19 github

tried that, couldn't find anything of interest.

Anyways, I confirmed Mr. scottlus glx driver crashing statement by switching to the stock radeon driver, and stem is working, but slow as a stone. So the amd driver seems to be broken and steam found one or more bugs with the september12/13 update.

So, what's next? Anyone from steam or amd around?

Hhp-pepster 2013-09-20 github

Hi,

sadly, this might be my last post regarding this bugreport. Yesterday, I relinked, updated, purged, reinstalled and repaired a lot of things. Suddenly my X didn't come up and after fixing this, steam forgave me and started without a crash.

As far as I remember - besides some random stuff -I installed the new kernel 3.8.0-31, removed the wrong "stable" 13.9 amd driver and installed the 13.8-beta2. After that, my system was very unhappy and I had to fix some broken links to gl-libs. Thats it.

May no one be affected with this strange error.

Thank you all for your effords, I wish you a nice weekend

Dderi82 2013-09-20 github

I just recently read that ati driver 3.9 is not actually new driver. It was published by accident. 13.8 betas are newer. You can find this information on amd forum (no link) and phoronix forum. I noticed that they had 3.9 on their site but it was taken down later. So it kinda confirms what I read.

You should wait someone from valve. They have good suggestions to problems.

Hhp-pepster 2013-09-20 github

Thanks, I've read that too. Sorry for being not clear on this, but my problem is fixed, steam is running again.