Raised This Month: $51 Target: $400
 12% 

L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Electr000999
Senior Member
Join Date: Aug 2011
Old 06-14-2016 , 15:08   L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #1

After update server to 2.1.4.6, i am have some crashes same by this
https://crash.limetech.org/bcn7qkqg7ktz

Crash happens sometimes after round_end, all players finish first map of campaign on versus, also happens on Coop gamemode servers and server crashed.

Server on linux, Debian 8, Mods: Sourcemod 1.7.3-dev+5302 + last stabily release metamod. Not used steamworks extension. Uses L4dtools from this, and L4d2downtown from this

i am collect some debug data as debug.log

This short stack from debug.log:
Code:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xedacad1e in CSteamWorksGameStatsUploader::GetInterface() () from /home/l4d2_alt_coop/serverfiles/left4dead2/bin/server_srv.so
#0  0xedacad1e in CSteamWorksGameStatsUploader::GetInterface() () from /home/l4d2_alt_coop/serverfiles/left4dead2/bin/server_srv.so
#1  0xedacb7cb in CSteamWorksGameStatsUploader::InitializeSystem() () from /home/l4d2_alt_coop/serverfiles/left4dead2/bin/server_srv.so
#2  0xedacc1de in CSteamWorksGameStatsUploader::FireGameEvent(IGameEvent*) () from /home/l4d2_alt_coop/serverfiles/left4dead2/bin/server_srv.so
#3  0xf6bbc217 in CGameEventManager::FireEventIntern(IGameEvent*, bool, bool) () from /home/l4d2_alt_coop/serverfiles/bin/engine_srv.so
#4  0xf6bbc508 in CGameEventManager::FireEvent(IGameEvent*, bool) () from /home/l4d2_alt_coop/serverfiles/bin/engine_srv.so
#5  0xe8fac3ae in __SourceHook_FHCls_IGameEventManager2FireEvent0::Func(IGameEvent*, bool) () from /home/l4d2_alt_coop/serverfiles/left4dead2/addons/sourcemod/bin/sourcemod.2.l4d2.so
#6  0xfff97758 in ?? ()
I see in Throttle what i am not one who have this crash..

Anyone know where i am need search? i am verify all plugins what do hook event player_first_spawn (this event fired at server_srv.so + 0x94666a in stack line of crash from Throttle ) and no one not do return or some other actions with this event from sourcemod.
Attached Files
File Type: log debug.log (97.2 KB, 432 views)

Last edited by Electr000999; 06-14-2016 at 15:27.
Electr000999 is offline
Send a message via Skype™ to Electr000999
psychonic

BAFFLED
Join Date: May 2008
Old 06-14-2016 , 15:25   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #2

My best guess is that steamclient isn't loading properly on start (check your console log) and with L4D2 updating to a newest version of the SteamWorks SDK, they accidentally lost some of their safety checks for that case when updating code.
psychonic is offline
Electr000999
Senior Member
Join Date: Aug 2011
Old 06-14-2016 , 15:34   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #3

Quote:
Originally Posted by psychonic View Post
My best guess is that steamclient isn't loading properly on start (check your console log) and with L4D2 updating to a newest version of the SteamWorks SDK, they accidentally lost some of their safety checks for that case when updating code.
i do verify all server files 2 times, hmm you right i see in console [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed

but how fix it?

i also see this combination on after game server run, and this i see year ago but all was work fine..:

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.

i found some what me put at way:
in steamcmd recomendations to fix issue "[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so."
recomended: ln -s steamcmd/linux32/steamclient.so ~/.steam/sdk32/steamclient.so

i check folder .steam/sdk32/ and found worked symlink to steamcmd/linux32/steamclient.so, but steamclient.so in steamcmd !=steamclient.so from game server..

server_user/steamcmd/linux32/steamclient.so - 18242 kb
server_user/server_folder/bin/steamclient.so - 17757 kb

i try copy steamclient.so from server_root_folder/bin/steamclient.so to steamcmd/linux32, may be this help?

EDIT:
copy client from game server to steamcmd not helped.

for full info, i am catch this crash after start game on server from lobby, after two teams done first map and fired event:

L 06/15/2016 - 20:57:01: World triggered "" (Infected "0") (Survivor "0")
L 06/15/2016 - 20:57:01: Team "Infected" scored "0" with "4" players
L 06/15/2016 - 20:57:01: Team "Survivor" scored "0" with "4" players
L 06/15/2016 - 20:57:01: World triggered "Round_End"

server crashed.

Last edited by Electr000999; 06-15-2016 at 14:11.
Electr000999 is offline
Send a message via Skype™ to Electr000999
eric0279
AlliedModders Donor
Join Date: May 2007
Old 06-15-2016 , 19:53   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #4

L4d2downtown from Attano is not really good for debian... Only Ubuntu work fine, why? i don't know...
eric0279 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-15-2016 , 20:46   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #5

Quote:
Originally Posted by eric0279 View Post
L4d2downtown from Attano is not really good for debian... Only Ubuntu work fine, why? i don't know...
Probably compiler is to blame here.
__________________
Spirit_12 is offline
Electr000999
Senior Member
Join Date: Aug 2011
Old 06-15-2016 , 22:21   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #6

Quote:
Originally Posted by eric0279 View Post
L4d2downtown from Attano is not really good for debian... Only Ubuntu work fine, why? i don't know...
I don't haved no one issue with this before game updated..
Electr000999 is offline
Send a message via Skype™ to Electr000999
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-15-2016 , 23:45   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #7

Quote:
Originally Posted by Electr000999 View Post
I don't haved no one issue with this before game updated..

Extensions deal with game engine directly. Last update may have changed the engine, hence extension is failing.
__________________
Spirit_12 is offline
Electr000999
Senior Member
Join Date: Aug 2011
Old 06-16-2016 , 03:37   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #8

Quote:
Originally Posted by Spirit_12 View Post
Extensions deal with game engine directly. Last update may have changed the engine, hence extension is failing.
yes, but i have one server crashed without l4d2downtown (this just not need on this server), with this crash stack, i know what this extension work around stuff that crashed but..may be in this case some other..
Electr000999 is offline
Send a message via Skype™ to Electr000999
Pyc
Senior Member
Join Date: Jan 2014
Old 06-18-2016 , 10:56   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #9

after update to 2.1.4.6 map doesn't change from c1m1 to c1m2
I try use acs or l4d2mapfinalenext and try without plugins, nothing
if I go to saferoom and have this bug, map doesn't change from admin menu
in sourcemod logs no errors
server linux gentoo, sourcemod 1.7.3-dev+5298
Pyc is offline
Electr000999
Senior Member
Join Date: Aug 2011
Old 06-21-2016 , 03:03   Re: L4D2 server crashes after 2.1.4.6 update (server_srv.so + 0x494d1e)
Reply With Quote #10

you getting crash? (disconnect after try changemap)
Electr000999 is offline
Send a message via Skype™ to Electr000999
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode