ValveSoftware / Source-1-Games

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

[TF2] hl2_linux segfault when creating server w/o LAN restriction #3478

Open ohhai opened 3 years ago

ohhai commented 3 years ago

Previously it was fine, appeared after a recent update (?)

Steps to reproduce:

Tried "steam linux runtime" TF2 compat tool, result is same.

Does NOT crash with sv_lan=1 (default).

Distro: Fedora 33 x86-64 Steam installed from RPMFusion repo.

Also observed on Gentoo, same glibc 2.32

Might be related: https://github.com/ValveSoftware/portal2/issues/330

System info on Fedora: https://gist.github.com/ohhai/aed299f9729141bc35ec4ae0fbf3c1bd System info on Gentoo: https://gist.github.com/ohhai/e4bc5345be924f36c3241226795e5bc4 Related part of /var/log/messages @ Fedora: https://gist.github.com/ohhai/a8378098849c66df1150510e53b54ce6 Note "execheap" errors. SELinux status is enabled / permissive.

Minidumps seem uploaded. From /tmp/dumps/andrew_log.txt :

Mon Dec 21 19:53:52 2020 GMT: file ''/tmp/dumps/assert_20201221215351_18.dmp'', upload yes: ''Discarded=1''
Mon Dec 21 19:54:25 2020 GMT: file ''/tmp/dumps/crash_20201221215225_1.dmp'', upload yes: ''CrashID=bp-84f31643-2c12-4c0d-a9d7-188b42201221''
Mon Dec 21 20:07:25 2020 GMT: file ''/tmp/dumps/crash_20201221220545_1.dmp'', upload yes: ''CrashID=bp-9956fa16-d10c-4125-a766-1768d2201221''

Backtrace from coredumpctl @ Fedora :

Stack trace of thread 6741:
#0  0x00000000f7df13fe memcpy (libc.so.6 + 0x8e3fe)
#1  0x00000000e6c6d551 n/a (/home/andrew/.local/share/Steam/linux32/steamclient.so + 0xd16551)
#2  0x00000000e63b4b8a n/a (/home/andrew/.local/share/Steam/linux32/steamclient.so + 0x45db8a)
#3  0x00000000e6305442 n/a (/home/andrew/.local/share/Steam/linux32/steamclient.so + 0x3ae442)
#4  0x00000000e1b1b955 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/server.so + 0x1047955)
#5  0x00000000e1b2fc59 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/server.so + 0x105bc59)
#6  0x00000000e1b2fe14 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/server.so + 0x105be14)
#7  0x00000000e1b19be5 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/server.so + 0x1045be5)
#8  0x00000000e110479a n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/server.so + 0x63079a)
#9  0x00000000e1104f72 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/server.so + 0x630f72)
#10 0x00000000e161e207 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/server.so + 0xb4a207)
#11 0x00000000eaf43af5 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x485af5)
#12 0x00000000eaf43d50 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x485d50)
#13 0x00000000eae6e5d8 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x3b05d8)
#14 0x00000000eae8745c n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x3c945c)
#15 0x00000000eae87935 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x3c9935)
#16 0x00000000eae879cd n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x3c99cd)
#17 0x00000000eaf5f5fb n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x4a15fb)
#18 0x00000000eaf5b6c0 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x49d6c0)
#19 0x00000000eaf5b7ed n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x49d7ed)
#20 0x00000000eafc3b48 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x505b48)
#21 0x00000000eaf5d53f n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/engine.so + 0x49f53f)
#22 0x00000000f63e0778 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/launcher.so + 0x2e778)
#23 0x00000000f63e0778 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/launcher.so + 0x2e778)
#24 0x00000000f63c0966 n/a (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/bin/launcher.so + 0xe966)
#25 0x00000000080487ed _init (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/hl2_linux + 0x7ed)
#26 0x00000000f7d820ae __libc_start_main (libc.so.6 + 0x1f0ae)
#27 0x00000000080488e5 _init (/home/andrew/.local/share/Steam/steamapps/common/Team Fortress 2/hl2_linux + 0x8e5)
landswellsong commented 3 years ago

Source of the Gentoo report subscribing for the updates. Steam installed from steam-overlay, using Steam runtime. glibc version 2.32-r2. The issue introduced somewhere between 2020-12-05 and 2020-12-18.

ohhai commented 3 years ago

Crash still present after game update. Source engine build: 6300758

ohhai commented 3 years ago

Still present after game update. Source engine build: 6394067