Page 1 of 1

CSGO: crash the server

Posted: Wed Aug 05, 2015 10:54 am
by nullable
Hello,

After some actions the server was crashed.

Code: Select all

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Assert( Assertion Failed: CApplicationManager::GetMountVolume: invalid index ):/home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/applicationmanager.cpp:2990

crash_20150805133732_5.dmp[27274]: Uploading dump (out-of-process)
/tmp/dumps/crash_20150805133732_5.dmp


Environment:
Server: Debian
Game: CSGO
SourcePython: Last version (August 3, 2015)


How to fix it?

Best Regards.

Posted: Wed Aug 05, 2015 11:30 am
by Ayuto
Please add the "-debug" option to the command line, restart your server and provoke another crash. This will generate a "debug.log" in your game directory on your server. Then please upload the file here.

Edit: And which server plugins are loaded (Sourcemod, Metamod, SP, etc.)? Which Source.Python plugins are loaded? If the code isn't public, please post the code here.

Posted: Wed Aug 05, 2015 9:44 pm
by nullable
In log I found:

Code: Select all

CSoundEmitterSystemBase::GetParametersForSound:  No such sound Error
CSoundEmitterSystemBase::GetParametersForSound:  No such sound Error
UTIL_GetListenServerHost() called from a dedicated server or single-player game.
UTIL_GetListenServerHost() called from a dedicated server or single-player game.
UTIL_GetListenServerHost() called from a dedicated server or single-player game.
UTIL_GetListenServerHost() called from a dedicated server or single-player game.
UTIL_GetListenServerHost() called from a dedicated server or single-player game.

Posted: Wed Aug 05, 2015 9:51 pm
by Ayuto
Please post the full debug.log that is generated when using the "-debug" option.

Posted: Thu Aug 06, 2015 6:56 pm
by nullable
Hi,

Full log before crash http://dpaste.com/2PMJ1VZ

Best Regards.

Posted: Thu Aug 06, 2015 7:30 pm
by Ayuto
Thank you, but you also need to answer my other questions. Otherwise it's hard to help you.
Ayuto wrote:And which server plugins are loaded (Sourcemod, Metamod, SP, etc.)? Which Source.Python plugins are loaded? If the code isn't public, please post the code here.

Posted: Thu Aug 06, 2015 7:35 pm
by nullable
We use next:
Server: Debian
Plugins: SourcePython Alpha build files as of August 3, 2015 (only!)
Our code I can't show you. Sorry.

Best Regards.

Posted: Thu Aug 06, 2015 7:38 pm
by satoon101
Kinda hard to help you without seeing any code that might be causing it. If you want us to help, you gotta help us.

Posted: Thu Aug 06, 2015 7:57 pm
by Ayuto
The only thing that I can tell you is that it might be caused by a tick listener. If you don't want to post your code in public, you can send it to me via a PM.

Posted: Thu Aug 06, 2015 9:48 pm
by nullable
As I understand the problem is in locales:

Code: Select all

   Delay.__init__ <0.5> <<bound method HintText.send of {'message': 'FIRST PERIOD HAS BEEN STARTED'}>> <()> <{}>
L 08/07/2015 - 00:39:41: - sp.listeners.tick.delays   -   DEBUG
   tick_delays.__missing__ <1438897182.0249112>
L 08/07/2015 - 00:39:41: - sp.listeners.tick.delays   -   DEBUG
   Delay.__init__ <0.5> <<bound method HintText.send of {'message': 'FIRST PERIOD HAS BEEN STARTED'}>> <()> <{}>
L 08/07/2015 - 00:39:41: - sp.listeners.tick.delays   -   DEBUG
   tick_delays.__missing__ <1438897182.0273032>
L 08/07/2015 - 00:39:41: World triggered "Match_Start" on "workshop/125995702/aim_redline"
L 08/07/2015 - 00:39:41: - sp.listeners.tick.delays   -   DEBUG
   Delay.__init__ <0.5> <<bound method HintText.send of {'message': 'FIRST PERIOD HAS BEEN STARTED'}>> <()> <{}>


Syntax: Select all

from messages import HintText
from translations.strings import LangStrings
from listeners.tick import tick_delays

locales = LangStrings('test')
lang = 'en'
first_period_msg = HintText(message=locales['START 1 PERIOD'].get_string(lang))
tick_delays.delay(0.5, first_period_msg.send)