SRCDS Steam group


Gmod Server Segfault at startup
#1
I am trying to run a Gmod server on my Slackware 14.1 server (64 bit). I have already followed this guide to have a multilib library setup in order to run steamcmd. I have installed the gmod server files under /mnt/data/servers/gmod (it's a secondary hard drive) with the following command
Code:
./steamcmd.sh +login anonymous +force_install_dir /mnt/data/servers/gmod +app_update 4020 validate +quit

However whenever I try and run the server through srcds_run it segfauls with the following message:
Code:
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.

Console initialized.
Failed to load keyvalues file cfg/mount.cfg!
ConVarRef mat_dxlevel doesn't point to an existing ConVar
Game_srv.so loaded for "Garry's Mod"
./srcds_run: line 372:  8851 Segmentation fault      $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Thu May 22 20:23:49 EEST 2014: Server restart in 10 seconds
Thu May 22 20:23:52 EEST 2014: Server Quit

with -debug on:
Code:
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.



Console initialized.
Failed to load keyvalues file cfg/mount.cfg!
ConVarRef mat_dxlevel doesn't point to an existing ConVar
Game_srv.so loaded for "Garry's Mod"
./srcds_run: line 372:  8876 Segmentation fault      (core dumped) $HL_CMD
BFD: Warning: /mnt/data/servers/gmod/core is truncated: expected core file size >= 213438464, found: 1191936.
Cannot access memory at address 0xf7712910
Cannot access memory at address 0xf771290c
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0x600
email debug.log to linux@valvesoftware.com
Thu May 22 20:24:33 EEST 2014: Server restart in 10 seconds
Thu May 22 20:24:36 EEST 2014: Server Quit

this is the debug.log:
Code:
----------------------------------------------
CRASH: Thu May 22 20:24:33 EEST 2014
Start Line: ./srcds_linux -game garrysmod +maxplayers 8 +map gm_construct -debug
[New LWP 8876]
[New LWP 8878]
[New LWP 8877]
[New LWP 8880]
[New LWP 8881]
[New LWP 8879]
#0  0xf6071c9c in ?? ()
End of Source crash report
----------------------------------------------

and this is the output of srcds_run with gdb according to this guide:
Code:
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /mnt/data/servers/gmod/srcds_linux...(no debugging symbols found)...done.
(gdb) run
Starting program: /mnt/data/servers/gmod/./srcds_linux -game garrysmod +maxplayers 8 +map gm_construct -debug
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0xf74cbb40 (LWP 8940)]
[New Thread 0xf6ccbb40 (LWP 8941)]

Console initialized.
Failed to load keyvalues file cfg/mount.cfg!
ConVarRef mat_dxlevel doesn't point to an existing ConVar
Game_srv.so loaded for "Garry's Mod"
[New Thread 0xee381b40 (LWP 8942)]
[New Thread 0xee281b40 (LWP 8943)]
[New Thread 0xee181b40 (LWP 8944)]

Program received signal SIGSEGV, Segmentation fault.
0xf6999c9c in ParseSteamInfFile(char const*, unsigned int&) () from /mnt/data/servers/gmod/bin/engine_srv.so
(gdb) next
Single stepping until exit from function _Z17ParseSteamInfFilePKcRj,
which has no line number information.
[Thread 0xee281b40 (LWP 8943) exited]
[Thread 0xee381b40 (LWP 8942) exited]
[Thread 0xf6ccbb40 (LWP 8941) exited]
[Thread 0xf74cbb40 (LWP 8940) exited]
[Thread 0xf7ca3a40 (LWP 8936) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
Thu May 22 20:28:14 EEST 2014: Server Quit

I tried using a zip file named "linux-131.zip" or some similar name but it didn't work. Is there a way to fix this issue or should I contact valve support?

Thanks in advance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)