[GH-ISSUE #154] [gmodserver] CentOS 7 ./srcds_run: line 372: 4014 Segmentation fault (core dumped) $HL_CMD #121

Closed
opened 2026-02-27 01:59:37 +03:00 by kerem · 18 comments
Owner

Originally created by @ghost on GitHub (Sep 2, 2014).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/154

This is a fresh install of centos7 64.

Is this a steam problem ?

Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
./srcds_run: line 372: 4014 Segmentation fault (core dumped) $HL_CMD
cat: hlds.4006.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Tue 2 Sep 21:56:26 BST 2014: Server restart in 10 seconds

thanks

Originally created by @ghost on GitHub (Sep 2, 2014). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/154 This is a fresh install of centos7 64. Is this a steam problem ? Auto detecting CPU Using default binary: ./srcds_linux Enabling debug mode Server will auto-restart if there is a crash. ./srcds_run: line 372: 4014 Segmentation fault (core dumped) $HL_CMD cat: hlds.4006.pid: No such file or directory email debug.log to linux@valvesoftware.com Tue 2 Sep 21:56:26 BST 2014: Server restart in 10 seconds thanks
kerem 2026-02-27 01:59:37 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@dgibbs64 commented on GitHub (Sep 2, 2014):

Yeah im getting that issue as well. Not sure why as there are no useful logs. I was going to test garrys mod on CentOS 6 again to see if this is just an issue with CentOS 7

<!-- gh-comment-id:54218168 --> @dgibbs64 commented on GitHub (Sep 2, 2014): Yeah im getting that issue as well. Not sure why as there are no useful logs. I was going to test garrys mod on CentOS 6 again to see if this is just an issue with CentOS 7
Author
Owner

@Scarsz commented on GitHub (Sep 3, 2014):

warning: Expected absolute pathname for libpthread in the inferior, but got bin/libpthread.so.0.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: Expected absolute pathname for libpthread in the inferior, but got bin/libpthread.so.0.

<!-- gh-comment-id:54260435 --> @Scarsz commented on GitHub (Sep 3, 2014): warning: Expected absolute pathname for libpthread in the inferior, but got bin/libpthread.so.0. warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. warning: Expected absolute pathname for libpthread in the inferior, but got bin/libpthread.so.0.
Author
Owner

@ghost commented on GitHub (Sep 3, 2014):

What is the most stable linux for this, pref 64bit ?

<!-- gh-comment-id:54330353 --> @ghost commented on GitHub (Sep 3, 2014): What is the most stable linux for this, pref 64bit ?
Author
Owner

@Scarsz commented on GitHub (Sep 3, 2014):

VALVe uses Ubuntu 12.10 32bit (I'm almost positive) for their build server, so I'd assume that, though I don't know if you'd sacrifice for a 32 bit OS.

<!-- gh-comment-id:54330919 --> @Scarsz commented on GitHub (Sep 3, 2014): VALVe uses Ubuntu 12.10 32bit (I'm almost positive) for their build server, so I'd assume that, though I don't know if you'd sacrifice for a 32 bit OS.
Author
Owner

@ghost commented on GitHub (Sep 3, 2014):

Giving up alot of RAM options then. I knew that MS could only use 4G ram at 32bit. Linux can use 32GB but only alocate 4G per application using PAE.

<!-- gh-comment-id:54334173 --> @ghost commented on GitHub (Sep 3, 2014): Giving up alot of RAM options then. I knew that MS could only use 4G ram at 32bit. Linux can use 32GB but only alocate 4G per application using PAE.
Author
Owner

@dgibbs64 commented on GitHub (Sep 3, 2014):

I personally use and prefer CentOS. However Valve use Ubuntu. 64-bit Ubuntu is compatible with 32-bit binarys you just need to install the 32-libs. So I would recommend an LTS version of Ubuntu. I haven't personally tested all the servers on the latest version of Ubuntu though.

I'm in the process of putting together a compatibility spreadsheet so I know which servers work and when last tested.

<!-- gh-comment-id:54336904 --> @dgibbs64 commented on GitHub (Sep 3, 2014): I personally use and prefer CentOS. However Valve use Ubuntu. 64-bit Ubuntu is compatible with 32-bit binarys you just need to install the 32-libs. So I would recommend an LTS version of Ubuntu. I haven't personally tested all the servers on the latest version of Ubuntu though. I'm in the process of putting together a compatibility spreadsheet so I know which servers work and when last tested.
Author
Owner

@dgibbs64 commented on GitHub (Sep 4, 2014):

I can confirm that Garry's Mod server runs of CentOS 6. However is failing on CentOS 7 and Ubuntu 14.04. May be something Facepunch have to fix. Worth looking on the forums, I may raise this as an issue for them to fix

<!-- gh-comment-id:54551213 --> @dgibbs64 commented on GitHub (Sep 4, 2014): I can confirm that Garry's Mod server runs of CentOS 6. However is failing on CentOS 7 and Ubuntu 14.04. May be something Facepunch have to fix. Worth looking on the forums, I may raise this as an issue for them to fix
Author
Owner

@dgibbs64 commented on GitHub (Sep 9, 2014):

I have reported this issue to Facepunch. Hopfully they will have a fix for this issue.

https://github.com/Facepunch/garrysmod-issues/issues/1488

<!-- gh-comment-id:55024369 --> @dgibbs64 commented on GitHub (Sep 9, 2014): I have reported this issue to Facepunch. Hopfully they will have a fix for this issue. https://github.com/Facepunch/garrysmod-issues/issues/1488
Author
Owner

@djstrikes3 commented on GitHub (Sep 11, 2014):

I ran into the same problem with ubuntu 14.04 64 bit. However whenever I used the instructions at http://wiki.garrysmod.com/page/Linux_Dedicated_Server_Hosting the server runs perfectly with no segmentation fault. It seems that something in the script is causing the segmentation fault not gmod server itself.

<!-- gh-comment-id:55331339 --> @djstrikes3 commented on GitHub (Sep 11, 2014): I ran into the same problem with ubuntu 14.04 64 bit. However whenever I used the instructions at http://wiki.garrysmod.com/page/Linux_Dedicated_Server_Hosting the server runs perfectly with no segmentation fault. It seems that something in the script is causing the segmentation fault not gmod server itself.
Author
Owner

@dgibbs64 commented on GitHub (Sep 11, 2014):

Interesting update that is very useful. Will have to investigate further :-)

<!-- gh-comment-id:55337465 --> @dgibbs64 commented on GitHub (Sep 11, 2014): Interesting update that is very useful. Will have to investigate further :-)
Author
Owner

@Scarsz commented on GitHub (Sep 11, 2014):

Currently doing this, though I highly don't believe it'll be successful.

<!-- gh-comment-id:55337806 --> @Scarsz commented on GitHub (Sep 11, 2014): Currently doing this, though I highly don't believe it'll be successful.
Author
Owner

@djstrikes3 commented on GitHub (Sep 11, 2014):

I modified the script to run the server that I installed with the gmod wiki method and it works perfectly. start | restart | update | update-restart | etc all work. It must be the initial installation that causes something to go wrong.

<!-- gh-comment-id:55338475 --> @djstrikes3 commented on GitHub (Sep 11, 2014): I modified the script to run the server that I installed with the gmod wiki method and it works perfectly. start | restart | update | update-restart | etc all work. It must be the initial installation that causes something to go wrong.
Author
Owner

@dgibbs64 commented on GitHub (Sep 11, 2014):

Maybe the dependency's its adding to the bin dir on install

<!-- gh-comment-id:55338560 --> @dgibbs64 commented on GitHub (Sep 11, 2014): Maybe the dependency's its adding to the bin dir on install
Author
Owner

@Scarsz commented on GitHub (Sep 11, 2014):

I'll be damned. Worked when I installed it the way I install them normally but fails through the script. Gonna experiment with some stuff, will post back updates as they happen.

<!-- gh-comment-id:55338629 --> @Scarsz commented on GitHub (Sep 11, 2014): I'll be damned. Worked when I installed it the way I install them normally but fails through the script. Gonna experiment with some stuff, will post back updates as they happen.
Author
Owner

@Scarsz commented on GitHub (Sep 11, 2014):

Getting rid of the 3 files downloaded for GLIBC fixed the problem for Ubuntu 14.04 LTS.
rm -f serverfiles/bin/libc.so.6
rm -f serverfiles/bin/libm.so.6
rm -f serverfiles/bin/libpthread.so.0

Why the fix worked but now isn't needed is beyond me.

<!-- gh-comment-id:55339080 --> @Scarsz commented on GitHub (Sep 11, 2014): Getting rid of the 3 files downloaded for GLIBC fixed the problem for Ubuntu 14.04 LTS. rm -f serverfiles/bin/libc.so.6 rm -f serverfiles/bin/libm.so.6 rm -f serverfiles/bin/libpthread.so.0 Why the fix worked but now isn't needed is beyond me.
Author
Owner

@djstrikes3 commented on GitHub (Sep 11, 2014):

yep I just deleted the 3 files as well, works great. ScarsZ beat me to the post :P

<!-- gh-comment-id:55339187 --> @djstrikes3 commented on GitHub (Sep 11, 2014): yep I just deleted the 3 files as well, works great. ScarsZ beat me to the post :P
Author
Owner

@Scarsz commented on GitHub (Sep 11, 2014):

Commited as temporary disable for testing github.com/dgibbs64/linuxgameservers@c6f8ab023b

<!-- gh-comment-id:55340598 --> @Scarsz commented on GitHub (Sep 11, 2014): Commited as temporary disable for testing https://github.com/dgibbs64/linuxgameservers/commit/c6f8ab023b9d83a3a32728e1850411059e514f4b
Author
Owner

@lock[bot] commented on GitHub (Jul 20, 2018):

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:406471783 --> @lock[bot] commented on GitHub (Jul 20, 2018): 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#121
No description provided.