protonscr

Steam SEGFAULT on exit immedietly after updating any game or tool.

steamopen Steam client
ValveSoftware/steam-for-linux#8922 · opened 2022-11-16 by KynikossDragonn · updated 2023-02-02 · 7 comments · github
KKynikossDragonn 2022-11-16 github

Your system information

  • Steam client version (build number or date): 1666144119
  • Distribution (e.g. Ubuntu): Void Linux
  • Opted into Steam client beta?: [No]
  • Have you checked for system updates?: [Yes]

Please describe your issue in as much detail as possible:

When updating anything in Steam, be it a game or a tool, the following immediately happens when Steam is closed:

[2022-11-16 17:26:23] Background update loop checking for update. . .
[2022-11-16 17:26:23] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2022-11-16 17:26:23] Manifest download: send request
[2022-11-16 17:26:23] Manifest download: waiting for download to finish
[2022-11-16 17:26:23] Manifest download: finished
[2022-11-16 17:26:23] Download skipped by HTTP 304 Not Modified
[2022-11-16 17:26:23] Nothing to do
src/vstdlib/coroutine.cpp (809) : GCoroutineMgr().IsValidCoroutine(hCoroutine)
src/vstdlib/coroutine.cpp (809) : GCoroutineMgr().IsValidCoroutine(hCoroutine)
Installing breakpad exception handler for appid(steam)/version(1666144119)
assert_20221116172634_113.dmp[11192]: Uploading dump (out-of-process)
/tmp/dumps/assert_20221116172634_113.dmp
src/vstdlib/coroutine.cpp (431) : m_cubSavedStack < k_cubMaxCoroutineStackSize
src/vstdlib/coroutine.cpp (431) : m_cubSavedStack < k_cubMaxCoroutineStackSize
crash_20221116172635_114.dmp[11195]: Uploading dump (out-of-process)
/tmp/dumps/crash_20221116172635_114.dmp
/home/kynikos/.local/share/Steam/steam.sh: line 796:  2649 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20221116172634_113.dmp[11192]: Finished uploading minidump (out-of-process): success = yes
assert_20221116172634_113.dmp[11192]: response: CrashID=bp-4ae5bb2e-2dd3-4459-8e43-b04e92221116
assert_20221116172634_113.dmp[11192]: file ''/tmp/dumps/assert_20221116172634_113.dmp'', upload yes: ''CrashID=bp-4ae5bb2e-2dd3-4459-8e43-b04e92221116''
crash_20221116172635_114.dmp[11195]: Finished uploading minidump (out-of-process): success = yes
crash_20221116172635_114.dmp[11195]: response: CrashID=bp-bc258da2-133f-467e-a866-d36c12221116
crash_20221116172635_114.dmp[11195]: file ''/tmp/dumps/crash_20221116172635_114.dmp'', upload yes: ''CrashID=bp-bc258da2-133f-467e-a866-d36c12221116''
[362849.643582] steam[2649]: segfault at ffffffbf ip 00000000f7a35069 sp 00000000ffc968c8 error 4 in libc-2.32.so[f78e4000+177000]
[362849.643591] Code: 03 30 66 0f 7f 03 0f 29 4b 10 0f 29 53 20 0f 29 5b 30 e9 78 01 00 00 f3 0f 6f 00 f3 0f 6f 48 10 f3 0f 6f 50 20 f3 0f 6f 58 30 <f3> 0f 6f 64 08 c0 f3 0f 6f 6c 08 d0 f3 0f 6f 74 08 e0 f3 0f 6f 7c

This appears to be related to my previous issue of Steam crashing on exit unless I run with -no-browser but it may be completely unrelated however.

This crash is always reproducible on my system.

Steps for reproducing this issue:

  1. Install any pending game and/or tool updates.
  2. Attempt to shut down Steam after every game and/or tool successfully updates and there are no further pending updates.

minidumps.tar.gz

HHBRJZ 2022-11-17 github

Can confirm, this happens for me too:

steam[35015]: segfault at 6c746954 ip 00000000f780edf6 sp 00000000ffd580b8 error 4 in libc.so.6[f76ae000+187000]
Code: ff f0 0f c1 43 38 83 f8 01 0f 84 9e 00 00 00 85 c0 0f 8e a9 00 00 00 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc <0f> 0b e9 3c ff ff ff 49 8b 76 08 48 8b 7b 28 49 8b 46 28 80 3e 00

steam[53727]: segfault at 85738c95 ip 0000000085738c95 sp 00000000a896191d error 14
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00

steam[54758]: segfault at 0 ip 0000000000000000 sp 00000000fff6242c error 14 in steam[5658c000+5e0000]
Code: 6f 04 03 f3 0f 6f 4c 03 10 f3 0f 6f 54 03 20 f3 0f 6f 5c 03 30 66 0f 7f 03 0f 29 4b 10 0f 29 53 20 0f 29 5b 30 e9 78 01 00 00 <f3> 0f 6f 00 f3 0f 6f 48 10 f3 0f 6f 50 20 f3 0f 6f 58 30 f3 0f 6f

steam[38241]: segfault at 21433325 ip 00000000f7780df6 sp 00000000ffdd3fa8 error 4 in libc.so.6[f7620000+187000]
Code: 01 01 e8 25 a4 62 00 0f 0b c3 cc cc cc cc 80 3d 75 61 85 01 00 75 85 48 c7 c7 10 a8 b4 ab c6 05 65 61 85 01 01 e8 02 a4 62 00 <0f> 0b c3 cc cc cc cc 80 3d 50 61 85 01 00 0f 85 5e ff ff ff 48 c7

steam[12027]: segfault at 19 ip 00000000f7780ca3 sp 00000000ff938738 error 4 in libc.so.6[f7620000+187000]
Code: 8b 44 24 0c 8b 54 24 08 39 d0 83 f9 10 0f 86 99 02 00 00 e8 a8 52 ff ff 81 c3 ab 61 0a 00 3b 8b 80 03 00 00 0f 83 53 01 00 00 <f3> 0f 6f 00 f3 0f 6f 4c 08 f0 83 f9 20 f3 0f 7f 02 f3 0f 7f 4c 0a

CHTTPClientThre[51765]: segfault at d66750de ip 00000000f78390a2 sp 00000000d6efce90 error 4 in libc.so.6[f781e000+182000]
Code: 14 d4 07 00 83 c4 10 0f b7 7e fe 89 44 24 0c 83 e8 02 89 44 24 08 85 db 75 10 eb ce 8d 74 26 00 8b 5d 04 83 c5 04 85 db 74 c0 <66> 3b 3b 75 f1 83 ec 04 8d 43 02 ff 74 24 0c 56 50 e8 c8 a3 06 00

steam[78938]: segfault at ff3f18b0 ip 00000000e86fec83 sp 00000000ff3f18b0 error 6 in libvstdlib_s.so[e86e0000+5d000]
Code: 83 f1 ff ff 2b 86 a4 00 00 00 8d 50 40 85 d2 7e 19 8d 50 4f 83 e2 f0 83 c2 10 29 d4 8d 54 24 13 83 e2 f0 8d 44 02 3f c6 00 0f <89> 34 24 e8 85 fd ff ff 90 8d 74 26 00 56 53 e8 34 b7 fe ff 81 c3

It happens when closing Steam using either the package from the Arch repository or the Flatpak from Flathub.

Where the segfault happens can vary but it is mostly in libc.so.

This isn't new to the latest version of Steam for me. It has been happening occasionally for months.

System information

  • Steam client version (build number or date): 1668654564
  • Distribution (e.g. Ubuntu): EndeavourOS
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

System information

  • Operating System: EndeavourOS
  • KDE Plasma Version: 5.26.3
  • KDE Frameworks Version: 5.99.0
  • Qt Version: 5.15.7
  • Kernel Version: 6.0.8-arch1-1 (64-bit)
  • Graphics Platform: Wayland
  • Processors: 20 × 12th Gen Intel® Core™ i7-12700K
  • Memory: 31,1 GiB of RAM
  • Graphics Processor: AMD Radeon RX 6800 XT
KKynikossDragonn 2022-11-19 github

This issue seems to also happen if you launch anything, and then try to exit steam after you quit the game/tool.

Played Cruelty Squad for a moment under Proton 7.0 to test 4K rendering, quit. Go to close Steam to shut down my PC and this immediately happened:

src/vstdlib/coroutine.cpp (809) : GCoroutineMgr().IsValidCoroutine(hCoroutine)
src/vstdlib/coroutine.cpp (809) : GCoroutineMgr().IsValidCoroutine(hCoroutine)
Installing breakpad exception handler for appid(steam)/version(1668654564)
assert_20221119132617_37.dmp[12101]: Uploading dump (out-of-process)
/tmp/dumps/assert_20221119132617_37.dmp
crash_20221119132617_38.dmp[12104]: Uploading dump (out-of-process)
/tmp/dumps/crash_20221119132617_38.dmp
/home/kynikos/.local/share/Steam/steam.sh: line 798:  4713 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20221119132617_37.dmp[12101]: Finished uploading minidump (out-of-process): success = yes
assert_20221119132617_37.dmp[12101]: response: CrashID=bp-a0853696-7e25-4815-a528-e61432221119
assert_20221119132617_37.dmp[12101]: file ''/tmp/dumps/assert_20221119132617_37.dmp'', upload yes: ''CrashID=bp-a0853696-7e25-4815-a528-e61432221119''
crash_20221119132617_38.dmp[12104]: Finished uploading minidump (out-of-process): success = yes
crash_20221119132617_38.dmp[12104]: response: CrashID=bp-9abb89f2-c010-49ff-b95f-926972221119
crash_20221119132617_38.dmp[12104]: file ''/tmp/dumps/crash_20221119132617_38.dmp'', upload yes: ''CrashID=bp-9abb89f2-c010-49ff-b95f-926972221119''
[240668.230734] steam[4713]: segfault at 61532074 ip 00000000f7c9e056 sp 00000000ffa8f108 error 4 in libc-2.32.so[f7b4d000+177000]
[240668.230746] Code: 6f 04 03 f3 0f 6f 4c 03 10 f3 0f 6f 54 03 20 f3 0f 6f 5c 03 30 66 0f 7f 03 0f 29 4b 10 0f 29 53 20 0f 29 5b 30 e9 78 01 00 00 <f3> 0f 6f 00 f3 0f 6f 48 10 f3 0f 6f 50 20 f3 0f 6f 58 30 f3 0f 6f

So, not only does Steam have a penchant for segfaulting when using it normally without -no-browser it will still segfault when exiting if Steam ever updates any product in the library, or after launching any product in the library, even if running it under -no-browser to prevent CEF from being used anywhere whatsoever.

HHBRJZ 2022-11-20 github

Got this one today when closing Steam:

steam[12981]: segfault at ffffffff ip 00000000ffffffff sp 00000000ff8e8c4c error 14
Code: Unable to access opcode bytes at RIP 0xffffffd5.
HHBRJZ 2022-11-26 github

And here is another one, this time on Fedora 37:

steam[28751]: segfault at aaaaaaaa ip 00000000f0bb20a1 sp 00000000ff8062e0 error 4 in libgobject2.0.so.0.7200.4[f0b87000+35000]
Code: 5b 5e 5f c3 8d 74 26 00 90 f3 0f 1e fb 53 e8 b6 83 fd ff 81 c3 2e fc 02 00 83 ec 08 8b 44 24 10 85 c0 74 75 8b 00 85 c0 74 7f <8b> 10 81 fa fc 03 00 00 77 45 89 d0 c1 e8 02 8b 8c 83 28 04 00 00

steam[29993]: segfault at aaaaaaaa ip 00000000f0b9f0a1 sp 00000000ffc2b490 error 4 in libgobject-2.0.so.0.7200.4[f0b74000+35000]
Code: 5b 5e 5f c3 8d 74 26 00 90 f3 0f 1e fb 53 e8 b6 83 fd ff 81 c3 2e fc 02 00 83 ec 08 8b 44 24 10 85 c0 74 75 8b 00 85 c0 74 7f <8b> 10 81 fa fc 03 00 00 77 45 89 d0 c1 e8 02 8b 8c 83 28 04 00 00
HHBRJZ 2022-11-29 github

Looks like at least for the Steam Flatpak the segfault in libgobject-2.0.so seems to happen every time now when I close Steam.

So I also created an issue over there since that one might be unique to the Steam Flatpak (https://github.com/flathub/com.valvesoftware.Steam/issues/1011).

HHBRJZ 2023-01-04 github

There is also now a SEGFAULT with "gldriverquery" from Steam on Fedora 37 frequently:

gldriverquery[12755]: segfault at 20 ip 00007f9247bbf440 sp 00007ffed869fa40 error 4 in libLLVM-15.so[7f924783e000+33d2000]
Code: 21 d1 48 89 ca 48 c1 e2 04 49 8d 04 13 49 8b 2c 13 49 39 ef 75 72 4c 89 70 08 48 83 c3 08 4c 39 e3 0f 84 49 01 00 00 48 8b 03 <4c> 8b 78 20 85 f6 75 b8 31 c0 41 8b 8d d8 00 00 00 8d 14 8d 04 00

trace_and_core_dump.zip

image

HHBRJZ 2023-02-02 github

The SEGFAULT in libc.so is still happening with the latest Steam version (normal package and Flatpak):

steam[3849]: segfault at 2e657261 ip 00000000f7980f86 sp 00000000ffddf528 error 4 in libc.so.6[f7820000+187000] likely on CPU 11 (core 20, socket 0)
Code: 6f 04 03 f3 0f 6f 4c 03 10 f3 0f 6f 54 03 20 f3 0f 6f 5c 03 30 66 0f 7f 03 0f 29 4b 10 0f 29 53 20 0f 29 5b 30 e9 78 01 00 00 <f3> 0f 6f 00 f3 0f 6f 48 10 f3 0f 6f 50 20 f3 0f 6f 58 30 f3 0f 6f
team[6252]: segfault at 30 ip 0000000000000030 sp 00000000ff8374dc error 14 in steam[56650000+64d000] likely on CPU 6 (core 12, socket 0)
Code: Unable to access opcode bytes at 0x6.

image

The SEGFAULT mentioned in https://github.com/ValveSoftware/steam-for-linux/issues/8922#issuecomment-1330278927 seems to have been specific to the Flatpak and is not happening anymore since that update.

Proton versions

Upstream links