protonscr

occasional Steam crash while playing Dota

steamclosed Steam client
ValveSoftware/steam-for-linux#8253 · opened 2021-11-23 by mbenlioglu · updated 2022-10-31 · 45 comments · github
Mmbenlioglu 2021-11-23 github

Your system information

  • Steam client version (build number or date):
    • Built: Nov 19, 2021 at 20:59:59; Steam Package Version: 1637358733
  • Distribution (e.g. Ubuntu): Ubuntu 21.10 (was also present in LTS)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Other:

  • CPU/GPU: AMD Ryzen 9 4900HS / NVIDIA RTX 2060 Max-Q
  • Driver versions:
    • Nvidia: 495.44
    • Mesa: 21.2.2
    • X.org: 2:1.20.13-1ubuntu1
    • DE: GNOME Shell 40.5

Please describe your issue in as much detail as possible:

Steam client crashes in the background while playing games. I mainly play Dota 2, so this happened during matches. Steam crashes, with SEGV and subsequently Dota 2 freezes and has to be killed (since it cannot communicate with steam).

The issue is not frequent, but I've encountered it about 5-10 times since the beginning of this year.

I cannot pinpoint if there's a specific sequence of actions to trigger this crash, as it seems to happen randomly. Unfortunately, there are no debug symbols with the client, so backtrace output is useless. You can find the coredumps of the most recent crash (today) here. (too big to directly attach ~130 MB)

Sha256 checksum
f71689c5b86ad3836b9f35f3b42591d62d9ea32963a6696c0790f9725482b6be  coredumps.tar.gz

Steps for reproducing this issue:

Happens randomly, while playing games.

Kkisak-valve maintainer 2021-11-23 github

Possible duplicate of #6318.

TTTimo 2021-11-29 github

I couldn't extract anything useful out of that crash dump unfortunately. If the Steam client is writing minidumps (to /tmp/dumps), considering uploading those (or passing the crash ids for the ones that get uploaded)

FFagSoft 2021-11-30 github

I recommend checking out issue #8214. The debugging steps I did could help shed some light on the issue you have.

TTTimo 2021-11-30 github

very little useful info in the crash dump, but enough that it doesn't look like a runaway memory allocation problem - eg not #8214

Mmbenlioglu 2021-11-30 github

I've rebooted since the last crash, so /tmp/dumps is currently empty. I'll make sure to check it after the next one. Other than that, not sure how to gather more useful information. Raw coredumps out of coredumpctl are not too helpful since all the symbols are n/a

Ddrogeek 2021-12-04 github

Possible duplicate of #6318.

it's actually a duplicate of [#8071](https://github.com/ValveSoftware/steam-for-linux/issues/8071) which was closed although still happening to me (which is why I'm here commenting).
It happens both on my laptop running Ubuntu 21.10 with nvidia proprietary drivers and on my desktop running Ubuntu 20.04 LTS with latest mesa (AMD GPU).
Same behavior as described by @mbenlioglu

Eex0z3 2021-12-04 github

Same problem here, random crashes while playing Dota 2, dmp attached
Arch, prop NVidia drivers (495.44), switching from Vulkan to OpenGL didn't help
crash_20211204203706_62.zip

Ddrogeek 2021-12-04 github

I got this at some point

src/public/tier1/utlsymbol.h (457) : Symbol table grew beyond unsigned short.  Time to upgrade UtlSymId_t for the symbol type or look for unnecessary spam in the tables.
src/public/tier1/utlsymbol.h (457) : Symbol table grew beyond unsigned short.  Time to upgrade UtlSymId_t for the symbol type or look for unnecessary spam in the tables.
src/public/tier1/utlsymbol.h (457) : Fatal assert; application exiting
src/public/tier1/utlsymbol.h (457) : Fatal assert; application exiting
Installing breakpad exception handler for appid(steam)/version(1638464786)
assert_20211204192831_59.dmp[27594]: Uploading dump (out-of-process)
/tmp/dumps/assert_20211204192831_59.dmp
_ExitOnFatalAssert

https://drive.google.com/file/d/14TpnmbRzTds62IF0a9FHCSIh_iqsmXdb/view?usp=sharing

(couldn't attach the file directly here for some reason)

Mmbenlioglu 2021-12-11 github

If the Steam client is writing minidumps (to /tmp/dumps), considering uploading those (or passing the crash ids for the ones that get uploaded)

I've confirmed they are Steam dumps. This part is no longer relevant

@TTimo is there a name convention for steam logs? Crash happened again today and /tmp/dumps only has a couple of assert_<timestamp>_<number>.dmp and a crash_<timestamp>_<number>.dmp files along with
this file, which appears to be the index of those files.

Edit: Those are indeed mindump files belonging to steam. I've briefly inspected them with lldb, the issue could be caused by the game overlay. @TTimo
minidumps.tar.gz

Ddrogeek 2021-12-11 github

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/8253#issuecomment-991674132

I've disabled the game overlay, still happening though

Mmbenlioglu 2021-12-11 github

Yeah, could be something else. Can't tell with the release version. Internal builds may use the dumps to pinpoint exact place, hopefully.

Also, this crash belongs to the latest version of the steam.
Screenshot from 2021-12-11 21-19-39

Mmbenlioglu 2021-12-13 github

Another crash today, this time no games open. After I've recently closed Dota 2. (Although closing dota is not graceful, and I have to killall -9 dota2 every time. Described in this issue: https://github.com/ValveSoftware/Dota-2/issues/1992 )

minidumps.tar.gz

TTTimo 2021-12-13 github

@mbenlioglu thanks, the latest minidumps confirm this is the symbol table crash also reported at https://github.com/ValveSoftware/steam-for-linux/issues/8290

Mmbenlioglu 2021-12-13 github

Glad to help! I wanted to add that, today, it's been crashing consistently every time I close off Dota 2 (fresh installation + -gl launch option to bypass https://github.com/ValveSoftware/Dota-2/issues/1992). So it made me suspect that the latest crash dumps I provided versus this one: https://github.com/ValveSoftware/steam-for-linux/issues/8253#issuecomment-991674132 might have different causes.

Ddanginsburg 2021-12-14 github

A fix for this will be in the next Steam Beta update.

Wwebaake 2021-12-14 github

Nice with a fix! Thanks guys! I've sort of narrowed it down to if I go to "Discussion" in Steam it then crashes almost immediately. But the fix is coming, so...

Thanks again!

MMario156090 2021-12-20 github

This is happening me. When I play DOTA2 this is freezing randomly and I should to kill the Game and re Open.

I use cinnamon DE and Nvidia Rtx 3060 Mobile with the last drivers 495.X.

Is ready the build with the fix now?

Ddrogeek 2021-12-20 github

Well I definitely got a Steam update after this message came up, and yet still happening

MMario156090 2021-12-20 github

Well I definitely got a Steam update after this message came up, and yet still happening

Beta version?

Ddrogeek 2021-12-20 github

Yes, when I go to settings/account I see Steam Beta Update

MMario156090 2021-12-21 github

I tried steam flatpak version and there is not problem.

MMario156090 2021-12-22 github

I friends, test flatpak steam version. Dota can plays correctly.

Wwebaake 2021-12-24 github

Working okay now, since 16 december update. ( I think it was 16 dec). This is standard Steam, updated as scheduled, in Ubuntu 18.04 LTS. Please don't mix beta versions into github Issues. Beta is always a risk for trouble.

Mmbenlioglu 2021-12-25 github

Issue still present on non-beta branch, waiting for beta to merge the main version.

MMario156090 2021-12-25 github

I don't understand, who is notice us if the bug will be fixed or no?

Ddrogeek 2022-01-01 github

still happens every day for me on steam beta update, I just got banned because of it on dota2…
why is the steam program such a strong dependency for the game in the first place anyway? It's weird that the games freeze when steam crashes, it shouldn't be the case. Wouldn't that make sense to have a background service, independent from the Steam app itself that handles things that are necessary for the games? I mean, I don't see why Steam is necessary there, it should be simply a launcher or something.

TTTimo 2022-01-01 github

Hello @drogeek, do you have updated crash ids and minidumps you can provide against current steam beta? You may be experiencing additional crashes than the fix made in #8290

MMario156090 2022-01-01 github

Hello @drogeek, do you have updated crash ids and minidumps you can provide against current steam beta? You may be experiencing additional crashes than the fix made in #8290

Is this problem fixed?

Mmbenlioglu 2022-01-02 github

I've updated to beta version today. I'll provide further info if a crash occurs again.

MMario156090 2022-01-11 github

Inside arch and arch distribution based I found a workaround:

install steam-native-runtime package and steam package and this is fixed, DOTA 2 does not close nevermore.
image

latest beta build:
image

Mmbenlioglu 2022-01-12 github

Crash still happens in the latest beta version of the steam. I'm attaching the latest minidumps. @TTimo

minidumps.tar.gz

MMario156090 2022-01-12 github

Crash still happens in the latest beta version of the steam. I'm attaching the latest minidumps. @TTimo

minidumps.tar.gz

No, it's we're fixed for me.

What steamd build number have You?

Mmbenlioglu 2022-01-12 github

No, it's we're fixed for me.

Crash happens randomly, how exactly did you verify that it's fixed?

What steamd build number have You?

image

MMario156090 2022-01-12 github

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/8253#issuecomment-1011524024

I'm using Arch Linux, so I disable beta version and crashed appears newly, bur when I renable beta crash does not appears nevermore.

Mmbenlioglu 2022-01-12 github

Well this is the latest beta version and the crash happened less than an hour ago

MMario156090 2022-01-13 github

Well this is the latest beta version and the crash happened less than an hour ago

That's so bad, can You test with nvidia 4.70 driver?

Mmbenlioglu 2022-01-13 github

I'm using the latest nvidia drivers for development purposes, so rolling back driver versions is impractical for me. Yesterday's crash happened with 4.95, but I've upgraded it to 5.10 today, so I'll see if that improves the situation. In the meantime, it's confirmed that the issue still persists with the latest beta version & nvidia 4.95 drivers.

MMario156090 2022-01-13 github

I'm using the latest nvidia drivers for development purposes, so rolling back driver versions is impractical for me. Yesterday's crash happened with 4.95, but I've upgraded it to 5.10 today, so I'll see if that improves the situation. In the meantime, it's confirmed that the issue still persists with the latest beta version & nvidia 4.95 drivers.

Oh ok, well for me works with this combination:

Steam beta
Nvidia 470 drivers

TTTimo 2022-01-19 github

Thanks @mbenlioglu - I've renamed the bug to reflect the crash you are seeing now. I'm pretty sure there were two distinct issues, so that leaves this one now.

If you're not @mbenlioglu here - please make sure this is the same issue you are seeing before posting to keep the noise down. Steam crashing in the background while playing a VAC enabled game.

Mmbenlioglu 2022-02-05 github

Thanks @TTimo glad to help. I got another crash today. With Nvidia 510.47.03 and Steam built on Feb 3, 2022 at 00:45:52 & package versions: 1643850988

minidumps.tar.gz

Kkisak-valve maintainer 2022-02-05 github

For reference, the asserts are DUMP_REQUESTED in crashhandler.so, and the crash marked minidump is a SIGSEGV coming from steamservice.so.

Mmbenlioglu 2022-04-17 github

Since the last update, number of crashes decreased significantly. I've had 2 crashes since February. One of the causes definitely resolved, but it seems there's still one more. This one happened today, attaching dumps.

Screenshot from 2022-04-18 02-35-17

minidumps.tar.gz

Mmbenlioglu 2022-08-20 github

I haven't encountered this issue again for a long time. I'm closing the issue as fixed.

Mmbenlioglu 2022-10-29 github

This issue is back again after recent patches

TTTimo 2022-10-31 github

Please open a new issue, providing up to date logs, crash dump IDs etc. - you have not provided clear indication that we are looking at the same problem (other than "occasional crash").