ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.13k stars 174 forks source link

[Arch Linux] steam.sh: line 813: 15086 Segmentation fault #10841

Closed ndavd closed 2 weeks ago

ndavd commented 2 weeks ago

Your system information


~[main]₿ steam
steam.sh[14959]: Running Steam on arch rolling 64-bit
steam.sh[14959]: STEAM_RUNTIME is enabled automatically
setup.sh[15032]: Steam runtime environment up-to-date!
steam.sh[14959]: Steam client's requirements are satisfied
[2024-05-02 16:01:35] Startup - updater built Apr 30 2024 22:32:46
[2024-05-02 16:01:35] Startup - Steam Client launched with: '/home/ndavd/.local/share/Steam/ubuntu12_32/steam'
[2024-05-02 16:01:35] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
05/02 16:01:35 /tmp/dumps: insufficient permissions - delete and recreate
05/02 16:01:35 minidumps folder is set to /tmp/dumps
05/02 16:01:35 Init: Installing breakpad exception handler for appid(steam)/version(1714520927)/tid(15086)
crash_20240502160135_2.dmp[15089]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240502160135_2.dmp
/home/ndavd/.local/share/Steam/steam.sh: line 813: 15086 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"
~[main]₿ crash_20240502160135_2.dmp[15089]: Finished uploading minidump (out-of-process): success = yes
crash_20240502160135_2.dmp[15089]: response: CrashID=bp-4dd0d164-4f8c-4733-b725-03f182240502
crash_20240502160135_2.dmp[15089]: file ''/tmp/dumps/crash_20240502160135_2.dmp'', upload yes: ''CrashID=bp-4dd0d164-4f8c-4733-b725-03f182240502''```
jlsalvador commented 2 weeks ago

running through gdb seems it doesn't crash.

$ DEBUGGER=gdb steam
(gdb) run
[...]
(gdb) quit

🤔

ndavd commented 2 weeks ago

running through gdb seems it doesn't crash.

$ DEBUGGER=gdb steam
(gdb) run
[...]
(gdb) quit

🤔

Can confirm, yea. That's very weird, no?

jlsalvador commented 2 weeks ago

It's because lib32-glibc 2.39-3. Downgrade it to 2.39-2 and steam will not crash any more.

$ sudo pacman -U https://archive.archlinux.org/packages/l/lib32-glibc/lib32-glibc-2.39-2-x86_64.pkg.tar.zst
kisak-valve commented 2 weeks ago

Hello @jlsalvador, the distro packaging regression should be mentioned to your distro's package maintainers.

jlsalvador commented 2 weeks ago

Hello @jlsalvador, the distro packaging regression should be mentioned to your distro's package maintainers.

Yes I known; I'm on it (I'm trying to create an issue for Archlinux maintainers, DONE). My message was to help other users with the same problem. Thank you @kisak-valve 👍.

DataCpt commented 2 weeks ago

It's because lib32-glibc 2.39-3. Downgrade it to 2.39-2 and steam will not crash any more.

$ sudo pacman -U https://archive.archlinux.org/packages/l/lib32-glibc/lib32-glibc-2.39-2-x86_64.pkg.tar.zst

Bless you, that was a stressful hour. How could you tell?

ptr1337 commented 2 weeks ago

Added Packaging Issue: https://gitlab.archlinux.org/archlinux/packaging/packages/glibc/-/issues/10

and next time, you should create a upstream packaging issue, if you know that downgrading fixes it. It does really not help anyone, if the issue is for you fixed but rolled out to many people.

jlsalvador commented 2 weeks ago

Added Packaging Issue: https://gitlab.archlinux.org/archlinux/packaging/packages/glibc/-/issues/10

and next time, you should create a upstream packaging issue, if you know that downgrading fixes it. It does really not help anyone, if the issue is for you fixed but rolled out to many people.

Thank you @ptr1337 for reporting the issue in their Gitlab. Just for your context, I reported this issue through emailing directly to Frederik Schwan as soon as I known it is a packaging regression. I can not create an Archlinux Gitlab account (because its Gitlab registration is locked); and because of that I was not be able to create this issue in their Gitlab.

Thank you all.

ptr1337 commented 2 weeks ago

@jlsalvador @ndavd

Frederik is requesting more logs from you, I can not reproduce the issue on my machine. Could you please update to -3 again and provide the maintainer the required logs?

Thanks! https://gitlab.archlinux.org/archlinux/packaging/packages/glibc/-/issues/10#note_182195

freswa commented 2 weeks ago

Is there anyone affected who doesn't run nvidia drivers?

HydeFromT70s commented 2 weeks ago

@freswa I've sent on your @ requested log + coredump (don't have acc on GitLab). I hope it will help.

ndavd commented 2 weeks ago

@jlsalvador @ndavd

Frederik is requesting more logs from you, I can not reproduce the issue on my machine. Could you please update to -3 again and provide the maintainer the required logs?

Thanks! https://gitlab.archlinux.org/archlinux/packaging/packages/glibc/-/issues/10#note_182195

Sure, I don't have an account there, could you share it with him? steam-runtime-system-info.json

Paiusco commented 2 weeks ago

@freswa also emailed you my logs even tho I also use nvidia drivers. Hope it helps to find a pattern. (requested an account into gitlab as well)

mries92 commented 2 weeks ago

It's because lib32-glibc 2.39-3. Downgrade it to 2.39-2 and steam will not crash any more.

$ sudo pacman -U https://archive.archlinux.org/packages/l/lib32-glibc/lib32-glibc-2.39-2-x86_64.pkg.tar.zst

Thank you so much! Like DataCpt I am also curious about how you figured that out. I don't see anything about this library in the crash logs.

nipnipj commented 2 weeks ago

This happened on my second day using arch. Hours of panic.

srmfx commented 2 weeks ago

This happened on my second day using arch. Hours of panic.

You got really lucky this time,

freswa commented 2 weeks ago

Please test glibc-2.39-4

iddm commented 2 weeks ago

Please test glibc-2.39-4

Works.

Installed via:

sudo pacman -U https://archive.archlinux.org/packages/l/lib32-glibc/lib32-glibc-2.39-4-x86_64.pkg.tar.zst
HydeFromT70s commented 2 weeks ago

Please test glibc-2.39-4.

Can confirm that Steam works again with glibc-2.39-4. Thanks for solving the problem quickly.

wallentx commented 2 weeks ago

You all rock. I was chasing my tail the past hour until I thought to toss my error in google. sudo pacman -U https://archive.archlinux.org/packages/l/lib32-glibc/lib32-glibc-2.39-4-x86_64.pkg.tar.zst Worked like a charm. Now i can squeeze in a few rounds before bed

ndavd commented 2 weeks ago

Legendary🪙

nipnipj commented 2 weeks ago

I think my issue started after I used sudo pacman -Syu, which makes me wonder whether this is the best way to keep up-to-date the system. I used this command today and steam didnt open. After I installed glibc-2.39-4 and it is working now.

ptr1337 commented 2 weeks ago

I think my issue started after I used sudo pacman -Syu, which makes me wonder whether this is the best way to keep up-to-date the system. I used this command today and steam didnt open. After I installed glibc-2.39-4 and it is working now.

Just use -Syu. This regression happened due a change in buildflags and arch did miss to not apply this to lib32 packages. Things like this can happen, when doing changes on the buildsystem and updates.

TTimo commented 2 weeks ago

Closing per Arch fix (glibc-2.39-4)