Game version: 1.30.164078 (Windows Server 2022, x64)
Map: Nasdara (dayzOffline.nasdara)
Reproducibility: Rare / random (once in about 2,300 suicide emotes in our logs)
The dedicated server crashed with an unhandled access violation when a player finished the suicide emote (EmoteSuicide with a StoneKnife). The crash happens in the engine when SetHealth is called from EmoteManager.KillPlayer, at the moment the character dies.
Crash log excerpt:
Unhandled exception
Reason: Access violation. Illegal write by 0x7ff775b3ef07 at 0xffffffffffffffff
Class: 'SurvivorBase'
Function: 'SetHealth#92403'
Stack trace:
scripts/3_Game/entities/object.c:1079 Function SetHealth#92403
scripts/4_World/classes/emotemanager.c:797 Function KillPlayer
scripts/4_World/classes/emotemanager.c:36 Function OnAnimationEvent
Fault code bytes: F0 FF 00 48 89 45 50 4C 8D 7D 50 BF 02 00 00 00
RPT right before the crash:
13:47:24.78 CHAR_DEBUG - KILL
13:47:24.78 player <name> (dpnid = 488152717)
13:47:24.78 Identity: playerID = 414 , charID = 414
13:47:24.79 NETWORK : Simulate networked player entity SurvivorM_Taiki:49441
13:47:24.79 ENGINE (F): Crashed