You are not logged in.

#1 2016-10-05 17:09:54

WebFreak001
Member
Registered: 2016-10-05
Posts: 14

[Solved] Steam broke randomly

Hi, recently my steam crashed during a game and when I started it again it got stuck on the updater dialog. I hit cancel there after a while and now steam doesn't start anymore (It segfaults when I try to start it)

Output:

Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
crash_20161005190240_1.dmp[19627]: Uploading dump (out-of-process)
/tmp/dumps/crash_20161005190240_1.dmp
/home/webfreak/.local/share/Steam/steam.sh: line 756: 19624 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20161005190240_1.dmp[19627]: Finished uploading minidump (out-of-process): success = yes
crash_20161005190240_1.dmp[19627]: response: CrashID=bp-a053f643-fdb3-412f-bf98-a94d02161005
crash_20161005190240_1.dmp[19627]: file ''/tmp/dumps/crash_20161005190240_1.dmp'', upload yes: ''CrashID=bp-a053f643-fdb3-412f-bf98-a94d02161005''

This happens both when I run `steam` or `steam-native`

When I run steam with gdb, I see that it tries to access code at memory location 0x0

Installing breakpad exception handler for appid(steam)/version(0)

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
Traceback (most recent call last):
  File "<string>", line 616, in lines
  File "<string>", line 113, in run
gdb.error: No function contains program counter for selected frame.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 180, in <lambda>
  File "<string>", line 191, in on_stop
  File "<string>", line 222, in display
  File "<string>", line 633, in lines
gdb.MemoryError: Cannot access memory at address 0x0
>>> bt
#0  0x00000000 in ?? ()
#1  0xf6d1c89a in ?? () from /usr/lib32/dri/amdgpu_dri.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I am pretty sure its not my driver though because I reinstalled amdgpu several times when this bug occured and I didn't do anything to it before the bug occured.

I am really running out of ideas what it could be because I am not sure if it was some steam update, hitting cancel on the update when it was stuck or if it has something to do with my GPU / drivers.

Last edited by WebFreak001 (2016-10-23 18:27:26)

Offline

#2 2016-10-05 18:41:59

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [Solved] Steam broke randomly


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-10-05 19:33:02

WebFreak001
Member
Registered: 2016-10-05
Posts: 14

Re: [Solved] Steam broke randomly

These shared libraries didn't exist because I wiped my steam folder and reinstalled steam to try to fix steam. However I made a backup so I could copy those files and run that command, but that didn't fix it either. Probably because of this warning/error now:

ERROR: ld.so: object '/usr/lib32/libudev.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Because of that it's still the same segmentation fault

Offline

#4 2016-10-12 10:17:08

WebFreak001
Member
Registered: 2016-10-05
Posts: 14

Re: [Solved] Steam broke randomly

ok I found out that it might have something to do with my user, when I created a new user and ran steam on there, it worked. However I don't want to logout and login to that user every time I wanna play something. Doing `xhost +` and then redirecting X while running steam using su worked too, but I got an OpenGL warning at first (dunno if it affects games, but steam UI started) but then when I select anything in steam, it crashes my X server. So thats not really an option either when I cant select any game without crashing basically every application running

Offline

#5 2016-10-12 20:58:06

escondida
Package Maintainer (PM)
Registered: 2008-04-03
Posts: 157

Re: [Solved] Steam broke randomly

Since it's just your user, you don't have any personal wrapper scripts around steam, do you? You haven't edited its launch script or anything?

Offline

#6 2016-10-12 21:00:37

WebFreak001
Member
Registered: 2016-10-05
Posts: 14

Re: [Solved] Steam broke randomly

no I always left everything as it is, I also completely removed steam multiple times as well as the .steam and .local/share/Steam folder + .steampid and .steampath. Basically all the steam files/folders I could find in my home directory.

I would try to use strace on it, but it will only trace the script and not the children, and for that both the output on the working user and on my broken main user have the exact same output (well except for home paths and memory addresses)

Offline

#7 2016-10-23 17:43:50

WebFreak001
Member
Registered: 2016-10-05
Posts: 14

Re: [Solved] Steam broke randomly

ok so actually I tried logging off and logging into the account that worked with `xhost +` and there it segfaults there now too. If I start steam with any account once, it becomes broken (even with xhost + on other accounts), but creating a user and using it to start steam actually starts steam. However it crashes X if you click anything in your steam library, so not an option.

Offline

#8 2016-10-23 18:27:16

WebFreak001
Member
Registered: 2016-10-05
Posts: 14

Re: [Solved] Steam broke randomly

ok I fixed it!

First uninstall steam & delete all files/folders

sudo rm /var/cache/pacman/pkg/steam-*
sudo rm /var/lib/systemd/coredump/core.steam.100*
yaourt -Sc   # do Y to all

Reinstall steam

Offline

Board footer

Powered by FluxBB