AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Solved [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b [PATCHED] (https://forums.alliedmods.net/showthread.php?t=327740)

Dragokas 10-06-2020 13:27

[L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b [PATCHED]
 
1 Attachment(s)
NOT required. Patched by Valve.

Not actual. Problem is solved. Fix is in this post: https://forums.alliedmods.net/showpo...1&postcount=19

Same as reported by: ProjectSky here.

Quote:

Originally Posted by ProjectSky (Post 2720417)
This crash happens every day on my server

https://crash.limetech.org/sjm727nci6ej
https://crash.limetech.org/oyjli3uidnx6
https://crash.limetech.org/xzv2flvjgwnz
https://crash.limetech.org/o5vs6b72kskv
https://crash.limetech.org/sjm727nci6ej

Code:

0        server_srv.so!CMoveableCamera::FollowTarget() + 0x3b
1        server_srv.so!CBaseEntity::PhysicsDispatchThink(void (CBaseEntity::*)()) + 0xae
2        server_srv.so!CBaseEntity::PhysicsRunSpecificThink(int, void (CBaseEntity::*)()) + 0xb9
3        server_srv.so!CBaseEntity::PhysicsRunThink(CBaseEntity::thinkmethods_t) + 0x42
4        server_srv.so!CBaseEntity::PhysicsNoclip() + 0xcd
5        server_srv.so!CBaseEntity::PhysicsSimulate() + 0xa9c
6        server_srv.so!Physics_SimulateEntity(CBaseEntity*) + 0x15a
7        server_srv.so!Physics_RunThinkFunctions(bool) + 0x2aa
8        server_srv.so!CServerGameDLL::GameFrame(bool) + 0x949
9        sourcemod.2.l4d2.so!__SourceHook_FHCls_IServerGameDLLGameFramefalse::Func [sourcemod.cpp:54 + 0xd]

Windows call stack:

Code:

0        server.dll + 0x347467
1        server.dll + 0x142072
2        server.dll + 0x14c42c
3        server.dll + 0x14c48a
4        server.dll + 0x143370
5        server.dll + 0x14cc27
6        server.dll + 0x144254
7        server.dll + 0xedd7b
8        sourcemod.2.l4d2.dll!__SourceHook_FHCls_IServerGameDLLGameFramefalse::Func(bool) [sourcemod.cpp:54 + 0xa3]
9        engine.dll + 0x124577

This time I installed all available exploit fixes and precachers.
Last events:

Quote:

L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (Pre ) :: "player_spawn"
L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (POST) :: "player_spawn"
L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (Pre ) :: "bot_player_replace"
L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (POST) :: "bot_player_replace"
L 10/06/2020 - 15:08:09: EVENT_HAPPENED ---> "player_disconnect". Client: 4 (Zoey). Team: 1
L 10/06/2020 - 15:08:09: {Forward} OnClientDisconnect. Client: 4. InGame? 1
L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (Pre ) :: "player_team"
L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (POST) :: "player_team"
L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (Pre ) :: "pounce_end"
L 10/06/2020 - 15:08:09: EVENT_HAPPENED :: (POST) :: "pounce_end"
L 10/06/2020 - 15:08:09: {Forward} OnClientDisconnect_Post. Client: 4
#Game_srv.so loaded for "Left 4 Dead 2"
Server is hibernating
Events are much likely actions from !join (return from afk) which is handled by multislots in my case.

Plugins list
Spoiler


Any thoughts?

ProjectSky 10-07-2020 00:28

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
I found that every server crash is player exit. It seems that the crash may be triggered when the player exits.

Dragokas 10-08-2020 08:46

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
Not sure, could be related: https://crash.limetech.org/qytbqpbmzm4z

Code:

0        sourcemod.2.l4d2.so!PlayerManager::OnClientDisconnect [PlayerManager.cpp:814 + 0x9]
1        sourcemod.2.l4d2.so!__SourceHook_FHCls_IServerGameClientsClientDisconnect0::CMyDelegateImpl::Call [FastDelegate.h:994 + 0x9]
2        sourcemod.2.l4d2.so!__SourceHook_FHCls_IServerGameClientsClientDisconnect0::Func [PlayerManager.cpp:70 + 0x13]
3        engine_srv.so!CGameServer::RemoveClientFromGame(CBaseClient*) + 0x5b
4        engine_srv.so!CGameClient::PerformDisconnection(char const*) + 0x10e
5        engine_srv.so!CBaseClient::Disconnect(char const*, ...) + 0x1d3
6        engine_srv.so!CGameClient::Disconnect(char const*, ...) + 0x54
7        engine_srv.so!kickid(CCommand const&) + 0x1f0
8        metamod.2.l4d2.so!__SourceHook_FHCls_ConCommandDispatchfalse::Func(CCommand const&) + 0xed
9        0xf7556d9c

However, none of my plugins use KickClientEx().

ProjectSky 10-10-2020 10:00

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
Try disable l4d2_changelevel.smx

Dragokas 10-10-2020 11:31

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
Did it help you?

ProjectSky 10-10-2020 11:52

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
Quote:

Originally Posted by Dragokas (Post 2720847)
Did it help you?

Yes, I disabled it, my server no longer crashes.

Dragokas 10-10-2020 12:16

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
Thanks, I will try for all next week. At the moment I have exactly 1 crash per day by statistics.

Dragokas 10-10-2020 12:19

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
I'm still thinking this is something related to MultiSlots. Do you have similar plugin?

Code:

L 10/10/2020 - 19:05:59: {Forward} OnClientCommand. Client: 1. Args: 1
L 10/10/2020 - 19:05:59: {Forward} OnClientCommand. Client: 1. Args: 3
L 10/10/2020 - 19:05:59: {Forward} OnClientCommand. Client: 1. Args: 1
L 10/10/2020 - 19:05:59: {Forward} OnClientCommand. Client: 1. Args: 3
L 10/10/2020 - 19:06:02: {Forward} OnClientPutInServer. Client: 2 (POZITIV), team: 0
L 10/10/2020 - 19:06:02: {Forward} OnClientPreAdminCheck. Client: 2
L 10/10/2020 - 19:06:02: {Forward} OnClientPostAdminFilter. Client: 2
L 10/10/2020 - 19:06:02: {Forward} OnClientPostAdminCheck. Client: 2
L 10/10/2020 - 19:06:02: {Forward} OnClientSettingsChanged. Client: 2
L 10/10/2020 - 19:06:02: EVENT_HAPPENED :: (Pre ) :: "player_activate"
L 10/10/2020 - 19:06:02: EVENT_HAPPENED :: (POST) :: "player_activate"
L 10/10/2020 - 19:06:02: {Forward} OnClientCommand. Client: 2. Args: 1
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_first_spawn"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_first_spawn"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_spawn"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_spawn"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "item_pickup"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "item_pickup"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_left_checkpoint"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_entered_start_area"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_spawn"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_spawn"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "bot_player_replace"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "bot_player_replace"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED ---> "player_disconnect". Client: 3 (Ellis). Team: 1
L 10/10/2020 - 19:06:04: {Forward} OnClientDisconnect. Client: 3. InGame? 1
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "player_team"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (Pre ) :: "pounce_end"
L 10/10/2020 - 19:06:04: EVENT_HAPPENED :: (POST) :: "pounce_end"
L 10/10/2020 - 19:06:04: {Forward} OnClientDisconnect_Post. Client: 3
#Game_srv.so loaded for "Left 4 Dead 2"
Server is hibernating

Calling mapchange @_ZN9CDirector19OnChangeChapterVoteEPKc function has no relationship to player connections, and it don't patch anything.

ProjectSky 10-10-2020 12:34

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
I did not use slot plugins, maybe it is just a coincidence, I will continue to test it

ProjectSky 10-10-2020 12:39

Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
 
just connect/disconnect, server will be high chance crash


All times are GMT -4. The time now is 10:38.

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