CSGO: crash the server

All other Source.Python topics and issues.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

CSGO: crash the server

Postby nullable » Wed Aug 05, 2015 10:54 am

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.
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Wed Aug 05, 2015 11:30 am

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.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Wed Aug 05, 2015 9:44 pm

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.
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Wed Aug 05, 2015 9:51 pm

Please post the full debug.log that is generated when using the "-debug" option.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Thu Aug 06, 2015 6:56 pm

Hi,

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

Best Regards.
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Thu Aug 06, 2015 7:30 pm

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.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Thu Aug 06, 2015 7:35 pm

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.
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Thu Aug 06, 2015 7:38 pm

Kinda hard to help you without seeing any code that might be causing it. If you want us to help, you gotta help us.
Image
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Thu Aug 06, 2015 7:57 pm

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.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Thu Aug 06, 2015 9:48 pm

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)

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 19 guests