flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
336 stars 70 forks source link

Cannot open main Steam UI - segfault : Unable to access opcode bytes #1104

Open MostHated opened 1 year ago

MostHated commented 1 year ago

I updated Steam and now attempting to open it, the taskbar daemon runs, and I can open the standalone settings window, but anything else segfaults.

The following repeats over and over until I shut down the daemon:

Jun 15 14:35:23 mosthated-pc com.valvesoftware.Steam.desktop[1988192]: steamwebhelper.sh[2510]: Runtime for steamwebhelper: defaulting to /home/mosthated/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Jun 15 14:35:23 mosthated-pc com.valvesoftware.Steam.desktop[1988192]: steamwebhelper.sh[2510]: Running under Flatpak, disabling sandbox
Jun 15 14:35:23 mosthated-pc com.valvesoftware.Steam.desktop[1988192]: steamwebhelper.sh[2510]: CEF sandbox already disabled
Jun 15 14:35:25 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: BuildCompleteAppOverviewChange: 268 apps
Jun 15 14:35:25 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: RegisterForAppOverview 1: 5ms
Jun 15 14:35:25 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: RegisterForAppOverview 2: 5ms
Jun 15 14:35:25 mosthated-pc kernel: [184958.171595] Composite Threa[1988925]: segfault at 0 ip 0000000000000000 sp 00007f0251b9cbc8 error 14 in steamwebhelper[400000+10000] likely on CPU 23 (core 7, socket 0)
Jun 15 14:35:25 mosthated-pc kernel: [184958.171601] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
Full Log Details ```log Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977070]: INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977070]: INFO:root:Will set XDG dirs prefix to /home/mosthated/.var/app/com.valvesoftware.Steam Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977070]: DEBUG:root:Checking input devices permissions Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977070]: INFO:root:Overriding TZ to America/Chicago Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977070]: steam.sh[2]: Running Steam on org.freedesktop.platform 22.08 64-bit Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977070]: steam.sh[2]: STEAM_RUNTIME is enabled automatically Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977237]: setup.sh[77]: Steam runtime environment up-to-date! Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977070]: steam.sh[2]: Steam client's requirements are satisfied Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: 06/15 14:34:18 Init: Installing breakpad exception handler for appid(steam)/version(1686779606)/tid(149) Jun 15 14:34:18 mosthated-pc steam[1977406]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed Jun 15 14:34:18 mosthated-pc steam[1977406]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: Loaded SDL version 3.0.0-1735-g2e465ae31 Jun 15 14:34:18 mosthated-pc steam[1977406]: Failed to load module "gail" Jun 15 14:34:18 mosthated-pc steam[1977406]: Failed to load module "atk-bridge" Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: GetWin32Stats: display was not open yet, good Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: GetWin32Stats: display was not open yet, good Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977542]: steamwebhelper.sh[185]: Runtime for steamwebhelper: defaulting to /home/mosthated/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977542]: steamwebhelper.sh[185]: Running under Flatpak, disabling sandbox Jun 15 14:34:18 mosthated-pc com.valvesoftware.Steam.desktop[1977542]: steamwebhelper.sh[185]: CEF sandbox already disabled Jun 15 14:35:02 mosthated-pc com.valvesoftware.Steam.desktop[1984829]: steamwebhelper.sh[1775]: Runtime for steamwebhelper: defaulting to /home/mosthated/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy Jun 15 14:35:02 mosthated-pc com.valvesoftware.Steam.desktop[1984829]: steamwebhelper.sh[1775]: Running under Flatpak, disabling sandbox Jun 15 14:35:02 mosthated-pc com.valvesoftware.Steam.desktop[1984829]: steamwebhelper.sh[1775]: CEF sandbox already disabled Jun 15 14:35:04 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: BuildCompleteAppOverviewChange: 268 apps Jun 15 14:35:04 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: RegisterForAppOverview 1: 5ms Jun 15 14:35:04 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: RegisterForAppOverview 2: 5ms Jun 15 14:35:04 mosthated-pc kernel: [184937.872654] Composite Threa[1985466]: segfault at 0 ip 0000000000000000 sp 00007f969bebebc8 error 14 in steamwebhelper[400000+10000] likely on CPU 24 (core 8, socket 0) # -- This loops over and over until I shut down the steam daemon from the taskbar ----- Jun 15 14:35:23 mosthated-pc com.valvesoftware.Steam.desktop[1988192]: steamwebhelper.sh[2510]: Runtime for steamwebhelper: defaulting to /home/mosthated/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy Jun 15 14:35:23 mosthated-pc com.valvesoftware.Steam.desktop[1988192]: steamwebhelper.sh[2510]: Running under Flatpak, disabling sandbox Jun 15 14:35:23 mosthated-pc com.valvesoftware.Steam.desktop[1988192]: steamwebhelper.sh[2510]: CEF sandbox already disabled Jun 15 14:35:25 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: BuildCompleteAppOverviewChange: 268 apps Jun 15 14:35:25 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: RegisterForAppOverview 1: 5ms Jun 15 14:35:25 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: RegisterForAppOverview 2: 5ms Jun 15 14:35:25 mosthated-pc kernel: [184958.171595] Composite Threa[1988925]: segfault at 0 ip 0000000000000000 sp 00007f0251b9cbc8 error 14 in steamwebhelper[400000+10000] likely on CPU 23 (core 7, socket 0) Jun 15 14:35:25 mosthated-pc kernel: [184958.171601] Code: Unable to access opcode bytes at 0xffffffffffffffd6. # -- Once shutting down ----- Jun 15 14:36:06 mosthated-pc systemd-resolved[1228]: Failed to send hostname reply: Transport endpoint is not connected Jun 15 14:36:10 mosthated-pc steam[1977406]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed Jun 15 14:36:10 mosthated-pc steam[1977406]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Jun 15 14:36:13 mosthated-pc steam[1977406]: message repeated 2 times: [ g_object_unref: assertion 'G_IS_OBJECT (object)' failed] Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] Startup - updater built Jun 14 2023 20:16:17 Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] Startup - Steam Client launched with: '/home/mosthated/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] Loading cached metrics from disk (/home/mosthated/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin) Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] Using the following download hosts for Public, Realm steamglobal Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] Verifying installation... Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:34:18] Verification complete Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xef86d8f0 Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xef86c1c0 Jun 15 14:36:13 mosthated-pc com.valvesoftware.Steam.desktop[1977406]: [2023-06-15 14:36:13] Shutdown Jun 15 14:36:13 mosthated-pc systemd[3142]: app-flatpak-com.valvesoftware.Steam-1977045.scope: Consumed 41.093s CPU time. ```
System Details ```sh OS: Ubuntu 22.04.2 LTS x86_64 Host: X670E Taichi Kernel: 6.3.2-060302-generic Uptime: 2 days, 3 hours, 31 mins Packages: 2870 (dpkg), 40 (flatpak), 20 (snap) Shell: zsh 5.8.1 Resolution: 2560x1080 DE: GNOME 42.5 WM: Mutter WM Theme: Adwaita Theme: Yaru-dark [GTK2/3] Icons: Yaru [GTK2/3] Terminal: alacritty CPU: AMD Ryzen 9 7950X (32) @ 4.500GHz GPU: AMD ATI 5a:00.0 Device 164e GPU: AMD ATI Radeon RX 6900 XT Memory: 16505MiB / 63389MiB ```
jntesteves commented 1 year ago

Does this issue also happen when Steam is launched from a terminal with flatpak run com.valvesoftware.Steam? And does it persist if launching with DRI_PRIME=1 flatpak run com.valvesoftware.Steam?

MostHated commented 1 year ago

About a week or so after I posted this it began to work and continues to do so. My apologies for forgetting about this ticket. It can be closed now, it seems we are all good.

orowith2os commented 1 year ago

Noticing a similar issue with DRI_PRIME=1, using Steam from the Arch Linux repositories. I'm also using it in a weird config (two desktop GPUs: RX 560 + RX 5500XT) so that could be triggering it. Not quite sure what's triggering it, but running it on the "integrated" GPU (DRI_PRIME=0) works.

jntesteves commented 1 year ago

Noticing a similar issue with DRI_PRIME=1, using Steam from the Arch Linux repositories. I'm also using it in a weird config (two desktop GPUs: RX 560 + RX 5500XT) so that could be triggering it. Not quite sure what's triggering it, but running it on the "integrated" GPU (DRI_PRIME=0) works.

You're likely running into ValveSoftware/steam-for-linux#9383, there's been a lot of similar issues since the release of Steam's new UI a month ago. The same issue was reported in #1103 in this repo.

gnouts commented 1 year ago

I got the same issue (fedora silverblue) and indeed :

Does this issue also happen when Steam is launched from a terminal with flatpak run com.valvesoftware.Steam?

it does not happen when launching from terminal, or clicking 'Open' from fedora's Gnome software. It only happens, to my knowledge, when launched from Gnome Dash or app drawer.

jarekpelczar commented 11 months ago

Same thing happens in Kubuntu 23.10 (KDE) with Radeon 7900 XTX. If steam is launched from terminal then there's no issue.

kernel: Composite Threa[481075]: segfault at 0 ip 0000000000000000 sp 00007fcd840526c8 error 14 in steamwebhelper[400000+10000] likely on CPU 24 (core 8, socket 0)
kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.