Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-06-2020 , 13:27   [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #1

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 View Post
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?
Attached Files
File Type: txt events.txt (38.3 KB, 174 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

Last edited by Dragokas; 11-27-2020 at 12:50.
Dragokas is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-07-2020 , 00:28   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #2

I found that every server crash is player exit. It seems that the crash may be triggered when the player exits.
ProjectSky is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-08-2020 , 08:46   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #3

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().
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

Last edited by Dragokas; 10-08-2020 at 08:47.
Dragokas is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-10-2020 , 10:00   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #4

Try disable l4d2_changelevel.smx
ProjectSky is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-10-2020 , 11:31   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #5

Did it help you?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]
Dragokas is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-10-2020 , 11:52   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #6

Quote:
Originally Posted by Dragokas View Post
Did it help you?
Yes, I disabled it, my server no longer crashes.
ProjectSky is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-10-2020 , 12:16   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #7

Thanks, I will try for all next week. At the moment I have exactly 1 crash per day by statistics.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

Last edited by Dragokas; 10-10-2020 at 12:16.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-10-2020 , 12:19   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #8

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.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

Last edited by Dragokas; 10-10-2020 at 12:21.
Dragokas is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-10-2020 , 12:34   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #9

I did not use slot plugins, maybe it is just a coincidence, I will continue to test it
ProjectSky is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-10-2020 , 12:39   Re: [L4d2] Crash on CMoveableCamera::FollowTarget() + 0x3b
Reply With Quote #10

just connect/disconnect, server will be high chance crash
ProjectSky is offline
Reply


Thread Tools
Display Modes

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 22:53.


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