[GH-ISSUE #1884] Segfault crashing involving Steam binary (server_srv.so) - Only when server is installed via LinuxGSM #1479

Closed
opened 2026-02-27 02:57:20 +03:00 by kerem · 2 comments
Owner

Originally created by @rdroimfd on GitHub (Apr 17, 2018).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1884

I originally made an issue about this over a year ago I think; if I recall it was unable to be replicated and I never figured out what was going on, but thought it was related to LinuxGSM. Recently I've installed a L4D2 server again and have been running into the same exact problem, and am pretty positive it is related to LinuxGSM.

Basically, if you load into an empty server to start a game for the SECOND time, ie. joining, leaving so the server is empty, and joining again (it never crashes the first time), it will crash with a segmentation fault involving server_srv.so in /left4dead2/bin - specifically, the CSteamWorksGameStatsUploader::GetInterface()" call from server_srv.so.

Here is the thread I found in the past few days leading me to believe this must be related to LinuxGSM - This is the only post I've been able to find of someone with the same crashing and debug info. I noticed his errors mention /serverfiles/ directory which if I understand correctly is a folder created by LinuxGSM - meaning his server was run/installed through LinuxGSM as well. I got the same errors running my server through gdb and triggering the crash. The fix mentioned in the thread (installing sourcemod and having it disable the Steamworks stat functionality on the server) solves the crashing.

So I made two new VM's - One with only installing the L4D2 server manually following this guide, and one doing another vanilla install with LinuxGSM (no mods installed on either server).

I can't trigger any crashing on the server I installed L4D2 via steamcmd manually, and I have the same crashes as before on the new LinuxGSM install.

I remember when I was testing a few days ago, I tried running the server through srcds_run instead of ./l4d2server and still had the same crashing, implying the crashes weren't caused by the l4d2server wrapper (and knowing what I know now, implying whatever is causing the crashes happened during install).

I did the error fix mentioned here while installing manually via steamcmd - I didn't have the crashes before or after, but it made an error message in the console go away. I'm not sure if LinuxGSM applies the same fix or not when it installs.

So based on all of this, assuming LinuxGSM downloads the exact same files, I'm thinking possibly some kind of permission/symlink/file location problem might be causing this to happen; possibly due to something that changed in mid 2016 (since the person who made this thread mentions that it started happening after a certain update).

---Closed this because after 15 minutes of testing the same crashes started happening on the other server.. So this must be a Steam issue

Originally created by @rdroimfd on GitHub (Apr 17, 2018). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1884 I originally made an issue about this over a year ago I think; if I recall it was unable to be replicated and I never figured out what was going on, but thought it was related to LinuxGSM. Recently I've installed a L4D2 server again and have been running into the same exact problem, and am pretty positive it is related to LinuxGSM. Basically, if you load into an empty server to start a game for the SECOND time, ie. joining, leaving so the server is empty, and joining again (it never crashes the first time), it will crash with a segmentation fault involving server_srv.so in /left4dead2/bin - specifically, the CSteamWorksGameStatsUploader::GetInterface()" call from server_srv.so. [Here is the thread I found in the past few days leading me to believe this must be related to LinuxGSM](https://forums.alliedmods.net/showthread.php?t=283920) - This is the only post I've been able to find of someone with the same crashing and debug info. I noticed his errors mention /serverfiles/ directory which if I understand correctly is a folder created by LinuxGSM - meaning his server was run/installed through LinuxGSM as well. I got the same errors running my server through gdb and triggering the crash. The fix mentioned in the thread (installing sourcemod and having it disable the Steamworks stat functionality on the server) solves the crashing. So I made two new VM's - One with only [installing the L4D2 server manually following this guide](https://linode.com/docs/game-servers/install-steamcmd-for-a-steam-game-server/), and one doing another vanilla install with LinuxGSM (no mods installed on either server). I can't trigger any crashing on the server I installed L4D2 via steamcmd manually, and I have the same crashes as before on the new LinuxGSM install. I remember when I was testing a few days ago, I tried running the server through srcds_run instead of ./l4d2server and still had the same crashing, implying the crashes weren't caused by the l4d2server wrapper (and knowing what I know now, implying whatever is causing the crashes happened during install). I did the [error fix](https://linode.com/docs/game-servers/install-steamcmd-for-a-steam-game-server/#add-an-error-fix) mentioned here while installing manually via steamcmd - I didn't have the crashes before or after, but it made an error message in the console go away. I'm not sure if LinuxGSM applies the same fix or not when it installs. So based on all of this, assuming LinuxGSM downloads the exact same files, I'm thinking possibly some kind of permission/symlink/file location problem might be causing this to happen; possibly due to something that changed in mid 2016 (since the person who made [this thread](https://forums.alliedmods.net/showthread.php?t=283920) mentions that it started happening after a certain update). ---Closed this because after 15 minutes of testing the same crashes started happening on the other server.. So this must be a Steam issue
Author
Owner

@UltimateByte commented on GitHub (Apr 17, 2018):

Well, your issue could be useful if you gave distro and install info, say for example, the output of postdetails command as per https://github.com/GameServerManagers/LinuxGSM/wiki/Support#required-information-for-support
Without the minimal information about your system, there is no way we can figure out what is going on and solve it.

As per this https://github.com/GameServerManagers/LinuxGSM/wiki/FAQ#i-get-segmentation-fault-how-to-solve-this-issue , segfaults are usually either game server related, or compiler related. In your case, I'd bet on compiler (glibc) since a standalone server works, maybe a glibc fix made by lgsm is causing you more issues than solutions.

Either way, this is an interesting thing to investigate, but we need your cooperation. Whining about an issue never solved anything, but providing ways to reproduce it works, and it starts at least with distro information, postdetails output link, and any useful details.

GitHub
LinuxGSM - Linux Game Server Managers_
GitHub
LinuxGSM - Linux Game Server Managers_
<!-- gh-comment-id:381989208 --> @UltimateByte commented on GitHub (Apr 17, 2018): Well, your issue could be useful if you gave distro and install info, say for example, the output of postdetails command as per https://github.com/GameServerManagers/LinuxGSM/wiki/Support#required-information-for-support Without the minimal information about your system, there is no way we can figure out what is going on and solve it. As per this https://github.com/GameServerManagers/LinuxGSM/wiki/FAQ#i-get-segmentation-fault-how-to-solve-this-issue , segfaults are usually either game server related, or compiler related. In your case, I'd bet on compiler (glibc) since a standalone server works, maybe a glibc fix made by lgsm is causing you more issues than solutions. Either way, this is an interesting thing to investigate, but we need your cooperation. Whining about an issue never solved anything, but providing ways to reproduce it works, and it starts at least with distro information, postdetails output link, and any useful details. <blockquote><img src="https://avatars2.githubusercontent.com/u/20358373?s=400&v=4" width="48" align="right"><div><img src="https://assets-cdn.github.com/favicon.ico" height="14"> GitHub</div><div><strong><a href="https://github.com/GameServerManagers/LinuxGSM">GameServerManagers/LinuxGSM</a></strong></div><div>LinuxGSM - Linux Game Server Managers_</div></blockquote> <blockquote><img src="https://avatars2.githubusercontent.com/u/20358373?s=400&v=4" width="48" align="right"><div><img src="https://assets-cdn.github.com/favicon.ico" height="14"> GitHub</div><div><strong><a href="https://github.com/GameServerManagers/LinuxGSM">GameServerManagers/LinuxGSM</a></strong></div><div>LinuxGSM - Linux Game Server Managers_</div></blockquote>
Author
Owner

@lock[bot] commented on GitHub (Jun 16, 2019):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:502412671 --> @lock[bot] commented on GitHub (Jun 16, 2019): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1479
No description provided.