protonscr

[Arch] Segfault caused by Steamwebhelper leading to System Freeze

steamopen NVIDIA driversDistro Family: ArchWeb Component
ValveSoftware/steam-for-linux#7370 · opened 2020-09-19 by jannis3005 · updated 2023-12-08 · 12 comments · github
Jjannis3005 2020-09-19 github

Your system information

  • Steam client version (build number or date): 1599174997, Sep 3 2020 21:18:20
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

For a few days now, sometimes when I play games my pc randomly freezes. This does happen especially when I play RocketLeague through Proton or Cities Skylines. However, this does not seem to be a Problem with the games but more with Steam. Here's a Short snippet from journalctl after the crash:

Sep 19 18:40:10 JANNIS-PC audit[2384]: ANOM_ABEND auid=1000 uid=1000 gid=985 ses=2 pid=2384 comm="GpuWatchdog" exe="/home/jannis/.local/share/Steam/ubuntu12_64/steamwebhelper" sig=11 res=1

Sep 19 18:40:10 JANNIS-PC kernel: GpuWatchdog[2425]: segfault at 0 ip 00007fe39cf2729d sp 00007fe393d67570 error 6 in libcef.so[7fe3991a1000+69a4000]

Sep 19 18:40:10 JANNIS-PC kernel: Code: 00 79 09 48 8b 7d a0 e8 e1 7f c1 02 41 8b 85 00 01 00 00 85 c0 0f 84 ab 00 00 00 49 8b 45 00 4c 89 ef be 01 00 00 00 ff 50 58 <c7> 04 25 00 00 00 00 37 13 00 00 c6 05 81 a5 37 03 01 80 bd 7f ff 

Sep 19 18:40:10 
JANNIS-PC kernel: audit: type=1701 audit(1600533610.103:135): auid=1000 uid=1000 gid=985 ses=2 pid=2384 comm="GpuWatchdog" exe="/home/jannis/.local/share/Steam/ubuntu12_64/steamwebhelper" sig=11 res=1

I have not been able to find any more info as to why this happens, but steamwebhelper seems to cause a segfault from my understanding.

(https://gist.github.com/jannis3005/57e8d1bdd7e75e300b11e47af830b791)

Steps for reproducing this issue:

  1. Have a working up to date Arch with Steam installed
  2. Play e.g. some Rocket League
  3. After some time (almost always) there's a system freeze
Kkisak-valve maintainer 2020-09-19 github

Hello @jannis3005, have you seen this issue while using steam-runtime instead of steam-native?

Jjannis3005 2020-09-19 github

Hey @kisak-valve this has been occurring whilst using steam-native. I've made sure all libraries are up to date

TTTimo 2020-09-21 github

Using steam-native is unsupported. We recommend steam-runtime.

KKev-Jia 2020-11-01 github

Hey @kisak-valve @TTimo I have run into this issue with steam-runtime just today.
I am also using Arch Linux with the latest kernel.

I have the same format of journalctl logs as with jannis, with different numbers.

TTTimo 2020-11-02 github

How reproducible is the problem? op qualified it as "sometimes when I play games my pc randomly freezes". Overall this reads like a driver problem.

KKev-Jia 2020-11-02 github

Well, it is certainly reproducible - but the time it takes to segfault is random. For me it can occur as long as I have steam open, native or runtime. Sometimes I am just browsing on Google Chrome or using Discord - and my computer just suddenly freezes entirely. Ctrl+Alt TTYs don't respond either. I haven't experienced it yet while playing any games though.

Bbxkx 2021-12-23 github

I've just experienced this too for the very first time. Wasn't playing, just using my browser with Steam running in the background as usual.

kernel: GpuWatchdog[41077]: segfault at 0 ip 00007fdf54bb1b5f sp 00007fdf4b9d54a0 error 6 in libcef.so[7fdf50977000+6f56000]
kernel: Code: 89 de e8 54 36 8e fe 80 7d cf 00 79 09 48 8b 7d b8 e8 65 54 d1 02 41 8b 84 24 e0 00 00 00 89 45 b8 48 8d 7d b8 e8 61 65 dc fb <c7> 04 25 00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e
kernel: audit: type=1701 audit(1640291052.593:281): auid=1000 uid=1000 gid=1000 ses=1 pid=41075 comm="GpuWatchdog" exe="/home/user/.local/share/Steam/ubuntu12_64/steamwebhelper" sig=11 res=1

Unfortunately wasn't able to do a core dump.

I'm using Steam beta on Arch, Ryzen first gen and Nvidia GPU with latest drivers.

GGladox114 2022-08-21 github

I also got this today after resuming from a suspend (I noticed that every shortcut I could execute steam with is Steam-Native)

I am running Arch.
GPU: Nvidia GTX 1060 6gb | Driver: 515.65.01
CPU: Intel® Core™ i5-8600K × 6
using Gnome 42.4

kernel: GpuWatchdog[164948]: segfault at 0 ip 00007f32c5b91cb6 sp 00007f32baffd530 error 6 in libcef.so[7f32c16ef000+776f000]
kernel: Code: 89 de e8 7d ef 6e ff 80 7d cf 00 79 09 48 8b 7d b8 e8 be 65 2c 03 41 8b 84 24 e0 00 00 00 89 45 b8 48 8d 7d b8 e8 4a dc b5 fb <c7> 04 25 00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e
kernel: audit: type=1701 audit(1661073295.686:835): auid=1000 uid=1000 gid=1000 ses=4 pid=164946 comm="GpuWatchdog" exe="/home/yuki/.local/share/Steam/ubuntu12_64/steamwebhelper" sig=11 res=1
Eeolder 2023-03-28 github

I captured a trace of what I believe to be the same bug, I've attached it to this comment.

issue7370_trace.txt

Operating System: Arch Linux
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Graphics Processor: NVIDIA Corporation GP108M [GeForce MX150]

?ghost 2023-04-28 github

Same here but its starts to happen when i switch my kernel to a linux tkg kernel (6.3, BMQ, and numa disabled because errors on compiling)

the log that i could get
log.txt

system.txt

(also in the beta with the new UI i cant get the system information, doesnt show and doesnt copy anything)

SSaroumane 2023-07-09 github

I do have these kind of random segfaults involving GpuWatchdog and the libcef.so of Steam whenever I re-enable "Enable GPU accelerated rendering in web views" in Steam settings.

I know it is highly tempting to enable this setting, notably during Steam sales (the current Summer Sale frontpage of Steam client absurdly uses 2,5 cores on my Ryzen 3600X CPU / 4K monitor setup !) but I highly suggest to avoid it for now (and also avoid Steam frontpage from inside the linux client, use a real browser).
You won't miss anything as GPU acceleration does not seem to work anyway. ( https://github.com/ValveSoftware/steam-for-linux/issues/9675 )

(Ubuntu 23.04, kernel 6.3.7, Wayland, AMD Radeon 5700XT,Mesa 23.0.2, Steam non-beta 1687386907)
Edit : I had chromium opened in background, so it might also interest users involved in this bug report : https://github.com/ValveSoftware/steam-for-linux/issues/9793

KKenSharp 2023-12-08 github

This affects more than just Steam. Users of the Electron framework could help by working together.

https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.2/+bug/2045951