Page 1 of 1
cs:go server crashes
Posted: Wed Jan 01, 2014 6:44 pm
by edcolmar
Hey Guys.
First of all, thanks everyone for all the help the past few weeks. I really appreciate it, and I would like to send you all some bitcoin as a thank you. Post your bitcoin wallet address or PM me with it.
I am getting some csgo server crashes fairly regularly, which I don't think have anything to do with SP. But since I know you guys are familiar with the setup I figured I would ask here.
Is this a configuration issue? Any hints for me?
debug.log is in this pastebin (too long to include in the thread itself):
http://pastebin.com/EJfpvhnM
Posted: Wed Jan 01, 2014 7:49 pm
by edcolmar
More info. This is the console output prior to crash:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Posted: Wed Jan 01, 2014 8:07 pm
by Ayuto
Due to that line I think it has something to do with say commands, but I can't tell you more.
Code: Select all
#12 0xe4fe05c5 in SayConCommand: :D ispatch(CCommand const&) () from /home/admin/csgoserver/csgo/addons/source-python/bin/core.so
Try to reproduce the crash and then post the code.
Posted: Thu Jan 02, 2014 4:11 am
by edcolmar
It crashes over and over, like every 5-7 minutes. The debug.log looks roughly the same each time.
Posted: Thu Jan 02, 2014 6:30 am
by Omega_K2
edcolmar wrote:It crashes over and over, like every 5-7 minutes. The debug.log looks roughly the same each time.
Any SP plugins running that use commands?
Posted: Thu Jan 02, 2014 5:15 pm
by edcolmar
There are a couple player commands that seem to be working properly like:
Syntax: Select all
@SayCommand('/rank')
def balance(playerinfo, command, unknown):
steamid = playerinfo.get_networkid_string()
steam64 = convertSteamIDToCommunityID(steamid)
print("steam64: %s" % steam64)
rank_msg = leetcoin_client.getPlayerRank(steam64)
print(rank_msg)
i = index_from_playerinfo(playerinfo)
m = HintText(index=i, chat=1, message=rank_msg)
m.send(i)
and there is a small kick function, using engine.server_command:
Syntax: Select all
def doKick(userid, message):
try:
engine.server_command('kickid %s %s;' % (int(userid), message))
except:
print("[1337] KICK FAILURE for user: %s" %userid)
Posted: Thu Jan 02, 2014 6:09 pm
by Ayuto
They may seem to work properly, but please make sure that they don't cause the crashes by disabling them for now.
Posted: Sat Jan 04, 2014 1:10 am
by edcolmar
I disabled them, still crashing.
Also, apparently the server crashes 100% of the time when someone dies from jumping.
./srcds_run: line 318: 30583 Aborted (core dumped) $HL_CMD
warning: Can't read pathname for load map: Input/output error.
email debug.log to
linux@valvesoftware.com
Posted: Sat Jan 04, 2014 1:39 pm
by Ayuto
Does it crash without SP being loaded? If yes, I can't really help you. Otherwise we still have to narrow it down to some functions we can check.
Posted: Tue Jan 07, 2014 1:31 am
by Omega_K2
edcolmar wrote:I disabled them, still crashing.
Also, apparently the server crashes 100% of the time when someone dies from jumping.
./srcds_run: line 318: 30583 Aborted (core dumped) $HL_CMD
warning: Can't read pathname for load map: Input/output error.
email debug.log to
linux@valvesoftware.com
Do you use player_jump or player_death events somewhere in your script(s)?
Posted: Thu Jan 16, 2014 12:03 am
by edcolmar
Player jump is unused, but player death is used.
I did some testing today. The server runs without crashing when sourcepython is not loaded.
When sourcepython is running, even without my script loaded, it is unstable.
Debug log here:
http://pastebin.com/9MHYPZFd
Posted: Thu Jan 16, 2014 6:40 pm
by Ayuto
Do you run the latest revision of our repository or the last official build?
Posted: Fri Jan 17, 2014 10:50 pm
by edcolmar
If I recall correctly, it was the latest official build. I believe I had problems compiling it from the repo.
Posted: Sat Jan 18, 2014 1:23 am
by satoon101
Which version were you trying to compile for? Linux/Windows? OrangeBox/CSGO?
Satoon