ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
634 stars 74 forks source link

[TF2][Linux] Crash after picking character (might be a dupe?) #5822

Closed tmpaajsdlkjasld closed 4 weeks ago

tmpaajsdlkjasld commented 4 months ago

System Info:

Arch linux
i3
Radeon RX 6600 (radeonsi, navi23, LLVM 17.0.6, DRM 3.57, 6.8.7-arch1-1)
Driver Version: 4.6 (Compatibility Profile) Mesa 24.0.5-arch1.1

Reproduce: Launch tf2 join a server then pick a character it will spawn you and instantly crash

journalctl

kernel: tf_linux64[4863]: segfault at 7b362fb2b370 ip 00007b362e70196f sp 00007ffc0b27ee90 error 4 in client.so[7b362dfb6000+e31000] likely on CPU 16 (core 5, socket 0)
systemd-coredump[4983]: [🡕] Process 4863 (tf_linux64) of user 1000 dumped core.

Stack trace of thread 4863:
#0  0x00007b362e70196f n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/linux64/client.so + 0x1b0196f)
#1  0x00007b3662307d0d n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vguimatsurface.so + 0x107d0d)
#2  0x00007b3662307d9b n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vguimatsurface.so + 0x107d9b)
#3  0x00007b3662307d9b n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vguimatsurface.so + 0x107d9b)
#4  0x00007b3662307d9b n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vguimatsurface.so + 0x107d9b)
#5  0x00007b3662307d9b n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vguimatsurface.so + 0x107d9b)
#6  0x00007b3662307d9b n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vguimatsurface.so + 0x107d9b)
#7  0x00007b366230819b n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vguimatsurface.so + 0x10819b)
#8  0x00007b36625b0d19 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/vgui2.so + 0x22d19)
#9  0x00007b3664c3d603 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x63d603)
#10 0x00007b3664b24208 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x524208)
#11 0x00007b3664b37956 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x537956)
#12 0x00007b3664b39ff5 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x539ff5)
#13 0x00007b3664b4f50a n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x54f50a)
#14 0x00007b3664b4f8ee n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x54f8ee)
#15 0x00007b3664c2a57b n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x62a57b)
#16 0x00007b3664c26c1e n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x626c1e)
#17 0x00007b3664c26d41 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x626d41)
#18 0x00007b3664c894a7 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x6894a7)
#19 0x00007b3664c289c9 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/engine.so + 0x6289c9)
#20 0x00007b3672518a27 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/launcher.so + 0x31a27)
#21 0x00007b3672518a27 n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/launcher.so + 0x31a27)
#22 0x00007b36724f526e n/a (/home/{redacted}/.local/share/Steam/steamapps/common/Team Fortress 2/bin/linux64/launcher.so + 0xe26e)
#23 0x00007b3673e6acd0 n/a (/run/host/usr/lib/libc.so.6 + 0x25cd0)
ELF object binary architecture: AMD x86-64

This stack trace is the same as https://github.com/ValveSoftware/Source-1-Games/issues/5653 starting at their 4th line except the client.so address/offset is different

I strongly suspect it's the same issue but I'm not 100% sure apologies if it is a dupe

ThGrSoRu commented 4 months ago

I also experience the same pattern. No matter whether launching in normal or legacy OpenGL mode.

Arch Linux 6.9.0-rc4-next-20240419
AMD Radeon RX 6700 XT (RADV NAVI22)
Mesa 24.1.0-devel (git-04f232ed99)

Dmesg output.

[11805.104124] [  T47206] tf_linux64[47206]: segfault at 7fffd032b370 ip 00007fffcef0196f sp 00007fffffffc160 error 4 in client.so[7fffce7b6000+e31000] likely on CPU 11 (core 5, socket 0)
[11805.104133] [  T47206] Code: 2d ee 60 25 01 85 d2 49 8b 4d 00 0f 84 d2 01 00 00 83 fa ff 0f b7 c2 be ff 1f 00 00 48 0f 44 c6 c1 ea 10 48 c1 e0 05 48 01 c8 <39> 50 10 0f 85 b0 01 00 00 48 83 78 08 00 0f 84 a5 01 00 00 48 8b
Nocrex commented 4 months ago

@tmpaajsdlkjasld Can you add the Steam CrashID to the post? Should also be in the journal when the game crashes

tmpaajsdlkjasld commented 4 months ago

@Nocrex for some reason no crashid is present in the journal even when I reproduce the crash...

Nocrex commented 4 months ago

@tmpaajsdlkjasld try launching steam from a terminal and see if it shows up there

tmpaajsdlkjasld commented 4 months ago

@Nocrex ok I've reproduced and it gives CrashID=bp-79172d40-4aec-441a-9a38-ddd812240421

tmpaajsdlkjasld commented 4 months ago

This seems to be fixed by the latest update :)

ThGrSoRu commented 4 months ago

This issue seems to be back. After updating and successfully playing a few matches and restarting the game it was as if the update was reverted.

[ 4331.278221] [  T78225] tf_linux64[78225]: segfault at 7fffba72b370 ip 00007fffb9301649 sp 00007fffffffbb90 error 4 in client.so[7fffb8bb6000+e31000] likely on CPU 9 (core 3, socket 0)

CrashID=bp-6197ac00-5393-439e-bc7d-e55a62240423

tmpaajsdlkjasld commented 4 months ago

@ThGrSoRu so it was fixed and you re-encountered it?

ThGrSoRu commented 4 months ago

@ThGrSoRu so it was fixed and you re-encountered it?

Yes.

ThGrSoRu commented 4 months ago

I just tested again and it did not crash this time. It seems to be more inconsistent now.

ThGrSoRu commented 4 months ago

Restarted again and crashed again.

Tiagoquix commented 4 months ago

For me this also happens, but not always. On Fedora Linux 40.