[gmodserver] CentOS 7 ./srcds_run: line 372: 4014 Segmentation fault (core dumped) $HL_CMD
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 [email protected] Tue 2 Sep 21:56:26 BST 2014: Server restart in 10 seconds
thanks
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
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.
What is the most stable linux for this, pref 64bit ?
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.
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.
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.
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
I have reported this issue to Facepunch. Hopfully they will have a fix for this issue.
https://github.com/Facepunch/garrysmod-issues/issues/1488
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.
Interesting update that is very useful. Will have to investigate further :-)
Currently doing this, though I highly don't believe it'll be successful.
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.
Maybe the dependency's its adding to the bin dir on install
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.
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.
yep I just deleted the 3 files as well, works great. ScarsZ beat me to the post :P
Commited as temporary disable for testing https://github.com/dgibbs64/linuxgameservers/commit/c6f8ab023b9d83a3a32728e1850411059e514f4b
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.