View Single Post
Mika Misori
Senior Member
Join Date: Sep 2022
Old 11-09-2023 , 08:48   Re: [L4D & L4D2] Left 4 DHooks Direct (1.139) [25-Oct-2023]
Reply With Quote #1005

I've recently had 2 weird crashes in a row over a long period of stable uptime:
https://crash.limetech.org/pshd4xa2ikph
https://crash.limetech.org/5s73zoiom75j

They happened on official campaigns, nothing unusual was noticed by players at this point.
Metamod:Source 1.11.0-dev+1148
SourceMod 1.11.0.6934
Left 4 DHooks Direct 1.138

A function on top of the stack trace:
server_srv.so!CTerrorGameMovement::HandleCust omCollision(Vector const&, Vector const&, CGameTrace*) + 0x7b3

I looked through the raw stack and found no mention of any plugin that would cause the crash. So I copied CTerrorGameMovement function and searched for it in the sources of all plugins used. The only mention of this function was found in left4dhooks.inc:
Code:
Left 4 DHooks Direct\addons\sourcemod\scripting\include\left4dhooks.inc:
  758  	PLAYERANIMEVENT_RELOAD_END = 6, //CMultiPlayerAnimState::DoAnimationEvent, CBaseShotgun::CheckReload->PlayReloadAnim, CTerrorGun::AbortReload
  759: 	PLAYERANIMEVENT_JUMP = 7, // CMultiPlayerAnimState::DoAnimationEvent, CTerrorGameMovement::DoJump, CCSGameMovement::CheckJumpButton
  760: 	PLAYERANIMEVENT_LAND = 8, // CTerrorGameMovement::PlayerRoughLandingEffects
  761  	PLAYERANIMEVENT_SWIM = 9, // Not sure, not used in the game anyway
Can these crashes be somehow related to DHooks Direct or could they be caused by any other plugins?

I apologize if my guesses are wrong, I'm a noob at this.
Attached Thumbnails
Click image for larger version

Name:	Crashes Screenshot 2023-11-09 161626.png
Views:	53
Size:	19.4 KB
ID:	202157   Click image for larger version

Name:	Stack Trace Screenshot 2023-11-09 162153.png
Views:	54
Size:	43.2 KB
ID:	202158   Click image for larger version

Name:	VS function search Screenshot 2023-11-09 163557.png
Views:	68
Size:	27.2 KB
ID:	202159   Click image for larger version

Name:	Search result Screenshot 2023-11-09 163741.png
Views:	60
Size:	29.9 KB
ID:	202160  
Mika Misori is offline