ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
647 stars 75 forks source link

[L4D2] PassServerEntityFilter crash #3606

Closed accelerator74 closed 3 years ago

accelerator74 commented 3 years ago

After latest game update (2.2.1.3) from 15 June 2021 the dedicated server crashes periodically with this error. The changelog had the following mention:

Rebuilt gas can physics to fix an issue with falling through the world.

Perhaps this crash has something to do with this

#0  0x10ad5f78 in ?? ()
#1  0xed42b6b2 in PassServerEntityFilter(IHandleEntity const*, IHandleEntity const*) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#2  0xed42bbc1 in CTraceFilterSkipTwoEntities::ShouldHitEntity(IHandleEntity*, int) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#3  0xf7222fbc in CEngineTrace::TraceRayAgainstLeafAndEntityList(Ray_t const&, ITraceListData*, unsigned int, ITraceFilter*, CGameTrace*) () from /home/user/server_coop/bin/engine_srv.so
#4  0xed3ab2d3 in CTerrorGameMovement::UpdatePosition(CTerrorPlayer*, Vector const&, Vector const&, float, Vector*, CGameTrace*, ITraceFilter*, int, Vector*) ()
   from /home/user/server_coop/left4dead2/bin/server_srv.so
#5  0xed3ad82f in CTerrorGameMovement::UnblockPusher(CBasePlayer*, CBaseEntity*) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#6  0xed6361a0 in CPhysicsPushedEntities::SpeculativelyCheckPush(CPhysicsPushedEntities::PhysicsPushedInfo_t&, Vector const&, bool, CBaseEntity*) ()
   from /home/user/server_coop/left4dead2/bin/server_srv.so
#7  0xed636361 in CPhysicsPushedEntities::SpeculativelyCheckRotPush(CPhysicsPushedEntities::RotatingPushMove_t const&, CBaseEntity*) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#8  0xed63b240 in CPhysicsPushedEntities::PerformRotatePush(CBaseEntity*, float) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#9  0xed63b4e5 in CBaseEntity::PhysicsPushRotate(float) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#10 0xed63bf7d in CBaseEntity::PerformPush(float) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#11 0xed63c23c in CBaseEntity::PhysicsPusher() () from /home/user/server_coop/left4dead2/bin/server_srv.so
#12 0xed326ba0 in CBaseEntity::PhysicsSimulate() () from /home/user/server_coop/left4dead2/bin/server_srv.so
#13 0xed639fbb in Physics_SimulateEntity(CBaseEntity*) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#14 0xed63a4e1 in Physics_RunThinkFunctions(bool) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#15 0xed572c3a in CServerGameDLL::GameFrame(bool) () from /home/user/server_coop/left4dead2/bin/server_srv.so
#16 0xf72c4ec8 in SV_Think(bool) () from /home/user/server_coop/bin/engine_srv.so
#17 0xf72c6238 in SV_Frame(bool) () from /home/user/server_coop/bin/engine_srv.so
#18 0xf723de6c in _Host_RunFrame_Server(bool) () from /home/user/server_coop/bin/engine_srv.so
#19 0xf723f4f0 in _Host_RunFrame(float) () from /home/user/server_coop/bin/engine_srv.so
#20 0xf724a4d8 in CHostState::State_Run(float) () from /home/user/server_coop/bin/engine_srv.so
#21 0xf724a7b6 in CHostState::FrameUpdate(float) () from /home/user/server_coop/bin/engine_srv.so
#22 0xf724a7fd in HostState_Frame(float) () from /home/user/server_coop/bin/engine_srv.so
#23 0xf72df37f in CEngine::Frame() () from /home/user/server_coop/bin/engine_srv.so
#24 0xf72dc0a6 in CDedicatedServerAPI::RunFrame() () from /home/user/server_coop/bin/engine_srv.so
#25 0xf7581b5c in RunServerIteration(bool) () from bin/dedicated_srv.so
#26 0xf7581bf8 in RunServer(bool) () from bin/dedicated_srv.so
#27 0xf72dc13d in CModAppSystemGroup::Main() () from /home/user/server_coop/bin/engine_srv.so
#28 0xf7331028 in CAppSystemGroup::Run() () from /home/user/server_coop/bin/engine_srv.so
#29 0xf72dcfaf in CDedicatedServerAPI::ModInit(ModInfo_t&) () from /home/user/server_coop/bin/engine_srv.so
#30 0xf7581845 in CDedicatedAppSystemGroup::Main() () from bin/dedicated_srv.so
#31 0xf75a2498 in CAppSystemGroup::Run() () from bin/dedicated_srv.so
#32 0xf75a2498 in CAppSystemGroup::Run() () from bin/dedicated_srv.so
#33 0xf754c197 in main () from bin/dedicated_srv.so
#34 0x08048722 in main ()
Yetoo1 commented 3 years ago

@Accelerator74 Was this fixed?

accelerator74 commented 3 years ago

After upgrading the dedicated server to the June 17th update, I have not seen this crash on 4 of my servers for more two weeks. I think this is not a problem anymore :)

SefoNotasi commented 1 year ago

@accelerator74, Two weeks ago I caught the same server crash on updated linux server: https://crash.limetech.org/kb6s6hrrmzph

Stack Trace:

0x139e2b18
server_srv.so!PassServerEntityFilter(IHandleEntity const*, IHandleEntity const*) + 0x32
server_srv.so!CTraceFilterSkipTwoEntities::ShouldHitEntity(IHandleEntity*, int) + 0x21
engine_srv.so!CEngineTrace::TraceRayAgainstLeafAndEntityList(Ray_t const&, ITraceListData*, unsigned int, ITraceFilter*, CGameTrace*) + 0x48c
server_srv.so!CTerrorGameMovement::UpdatePosition(CTerrorPlayer*, Vector const&, Vector const&, float, Vector*, CGameTrace*, ITraceFilter*, int, Vector*) + 0x353
server_srv.so!CTerrorGameMovement::UnblockPusher(CBasePlayer*, CBaseEntity*) + 0x3ff
server_srv.so!CPhysicsPushedEntities::SpeculativelyCheckPush(CPhysicsPushedEntities::PhysicsPushedInfo_t&, Vector const&, bool, CBaseEntity*) + 0x7e0
server_srv.so!CPhysicsPushedEntities::SpeculativelyCheckRotPush(CPhysicsPushedEntities::RotatingPushMove_t const&, CBaseEntity*) + 0x91
server_srv.so!CPhysicsPushedEntities::PerformRotatePush(CBaseEntity*, float) + 0x150
server_srv.so!CBaseEntity::PhysicsPushRotate(float) + 0x115
server_srv.so!CBaseEntity::PerformPush(float) + 0x41d
server_srv.so!CBaseEntity::PhysicsPusher() + 0x10c
server_srv.so!CBaseEntity::PhysicsSimulate() + 0x4d0
server_srv.so!Physics_SimulateEntity(CBaseEntity*) + 0x152
server_srv.so!Physics_RunThinkFunctions(bool) + 0x2d1
server_srv.so!CServerGameDLL::GameFrame(bool) + 0x967
sourcemod.2.l4d2.so!__SourceHook_FHCls_IServerGameDLLGameFramefalse::Func + 0x9b
engine_srv.so!SV_Think(bool) + 0x1c8
engine_srv.so!SV_Frame(bool) + 0x168
engine_srv.so!_Host_RunFrame_Server(bool) + 0x17c
engine_srv.so!_Host_RunFrame(float) + 0x470
engine_srv.so!CHostState::State_Run(float) + 0xf8
engine_srv.so!CHostState::FrameUpdate(float) + 0x166
engine_srv.so!HostState_Frame(float) + 0x1d
engine_srv.so!CEngine::Frame() + 0x54f
engine_srv.so!CDedicatedServerAPI::RunFrame() + 0x26
dedicated_srv.so!RunServerIteration(bool) + 0x3c
dedicated_srv.so!RunServer(bool) + 0x48
engine_srv.so!CModAppSystemGroup::Main() + 0x8d
engine_srv.so!CAppSystemGroup::Run() + 0x38
engine_srv.so!CDedicatedServerAPI::ModInit(ModInfo_t&) + 0x1af
dedicated_srv.so!CDedicatedAppSystemGroup::Main() + 0xb5
dedicated_srv.so!CAppSystemGroup::Run() + 0x38
dedicated_srv.so!CAppSystemGroup::Run() + 0x38
dedicated_srv.so!main + 0x217
srcds_linux!main + 0xf2
libc-2.17.so!__libc_start_main + 0xf3
srcds_linux + 0x885
srcds_linux + 0x630
srcds_linux + 0x950
srcds_linux + 0x9c0
ld-2.17.so + 0x10020
Hawkins93 commented 1 year ago

I also started to experience this crash recently, with the crashlog from SefoNotasi First time it happened was February 4 this year. Were there any server side updates in past months? Do you mind contacting me to investigate whether this was caused by plugin updates, @SefoNotasi? My discord is Haigen#4016

SefoNotasi commented 1 year ago

I also started to experience this crash recently, with the crashlog from SefoNotasi First time it happened was February 4 this year. Were there any server side updates in past months? Do you mind contacting me to investigate whether this was caused by plugin updates, @SefoNotasi? My discord is Haigen#4016

I still don't understand what's causing this crash. This year it happened to me 3 times: 2 in January, 1 in March. The server is on linux and always updated. I certainly have a lot of plugins installed, but the logs and stack is not clear which of them crashes the server. The only thing I've noticed is that crashes happen on custom campaigns. I have no other ideas. I put all sorts of fixes on the server and hope that they will help:

My discord: SefoNotasi#8017

Hawkins93 commented 1 year ago

For me it happened 3 times, twice on custom campaign resident evil re1m1 (coop) And once on official map, the passing c6m1_riverbank (versus). I havent really changed anything on the server since the early december last year.

fbef0102 commented 9 months ago

After 2024-02-08 update, ☠️☠️☠️ image

0x13929648
server_srv.so!PassServerEntityFilter(IHandleEntity const*, IHandleEntity const*) + 0x32
server_srv.so!CTraceFilterSkipTwoEntities::ShouldHitEntity(IHandleEntity*, int) + 0x21
engine_srv.so!CEngineTrace::TraceRayAgainstLeafAndEntityList(Ray_t const&, ITraceListData*, unsigned int, ITraceFilter*, CGameTrace*) + 0x48c
server_srv.so!CTerrorGameMovement::UpdatePosition(CTerrorPlayer*, Vector const&, Vector const&, float, Vector*, CGameTrace*, ITraceFilter*, int, Vector*) + 0x353
server_srv.so!CTerrorGameMovement::UnblockPusher(CBasePlayer*, CBaseEntity*) + 0x3ff
server_srv.so!CPhysicsPushedEntities::SpeculativelyCheckPush(CPhysicsPushedEntities::PhysicsPushedInfo_t&, Vector const&, bool, CBaseEntity*) + 0x7e0
server_srv.so!CPhysicsPushedEntities::SpeculativelyCheckRotPush(CPhysicsPushedEntities::RotatingPushMove_t const&, CBaseEntity*) + 0x91
server_srv.so!CPhysicsPushedEntities::PerformRotatePush(CBaseEntity*, float) + 0x150
server_srv.so!CBaseEntity::PhysicsPushRotate(float) + 0x115
server_srv.so!CBaseEntity::PerformPush(float) + 0x41d
server_srv.so!CBaseEntity::PhysicsPusher() + 0x10c
server_srv.so!CBaseEntity::PhysicsSimulate() + 0x4d0
server_srv.so!Physics_SimulateEntity(CBaseEntity*) + 0x152
server_srv.so!Physics_RunThinkFunctions(bool) + 0x2d1
server_srv.so!CServerGameDLL::GameFrame(bool) + 0x967
sourcemod.2.l4d2.so!__SourceHook_FHCls_IServerGameDLLGameFramefalse::Func + 0x9b
engine_srv.so!SV_Think(bool) + 0x1c8
engine_srv.so!SV_Frame(bool) + 0x168
engine_srv.so!_Host_RunFrame_Server(bool) + 0x17c
engine_srv.so!_Host_RunFrame(float) + 0x470
engine_srv.so!CHostState::State_Run(float) + 0xf8
engine_srv.so!CHostState::FrameUpdate(float) + 0x166
engine_srv.so!HostState_Frame(float) + 0x1d
engine_srv.so!CEngine::Frame() + 0x54f
engine_srv.so!CDedicatedServerAPI::RunFrame() + 0x26
dedicated_srv.so!RunServerIteration(bool) + 0x3c
dedicated_srv.so!RunServer(bool) + 0x48
engine_srv.so!CModAppSystemGroup::Main() + 0x8d
engine_srv.so!CAppSystemGroup::Run() + 0x38
engine_srv.so!CDedicatedServerAPI::ModInit(ModInfo_t&) + 0x1af
dedicated_srv.so!CDedicatedAppSystemGroup::Main() + 0xb5
dedicated_srv.so!CAppSystemGroup::Run() + 0x38
dedicated_srv.so!CAppSystemGroup::Run() + 0x38
dedicated_srv.so!main + 0x217
srcds_linux!main + 0xf2
libc-2.27.so!__libc_start_main + 0xf1
srcds_linux + 0x885
srcds_linux + 0x630
srcds_linux + 0x950
srcds_linux + 0x9c0