I recently found a bug in my mods causing the client to crash when resetting the keybinds, which I fixed and upon further investigations, I noticed the vanilla game has the same issue with the crash after I removed all mods from the client.
Description
Description
Details
Details
- Severity
- Crash
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 11 x64
- Category
- General
Steps To Reproduce
- Launch the game and join a server
- Click on Exit and cancel the logout
- Go to the client settings while sitting on the ground and go to the keybinds and click on reset all
- Client will crash with the message attached below
How to fix:
Use the persistent wrappers for the input checks in the Emote Manager class instead of using the references to the Inputs directly. After resetting keybinds, these references are invalid and cause undefined behaviour, causing the client to eventually crash
Additional Information
Unhandled exception Program: P:\MultiplayerGame\DayZDiag_x64-Client.exe Reason: Access violation. Illegal read by 0x7ff6eb6ff220 at 0x54 Class: 'EmoteManager' Function: 'InterruptGestureCheck' Stack trace: scripts/4_World/DayZ-Vanilla/Classes/EmoteManager.c:1112 scripts/4_World/DayZ-Vanilla/Classes/EmoteManager.c:336 scripts/4_World/DayZ-Vanilla/Entities/ManBase/PlayerBase.c:2928 SymGetSymFromAddr:487, addr:0x7ff6eb6ff220 SymGetSymFromAddr:487, addr:0x7ff6eb6ffe6f SymGetSymFromAddr:487, addr:0x7ff6eb6e0684 SymGetSymFromAddr:487, addr:0x7ff6eb6dd696 SymGetSymFromAddr:487, addr:0x7ff6eb6e24a2 SymGetSymFromAddr:487, addr:0x7ff6eb6ddc6f SymGetSymFromAddr:487, addr:0x7ff6eb8ad670 SymGetSymFromAddr:487, addr:0x7ff6eb8afbfb SymGetSymFromAddr:487, addr:0x7ff6eb8afebb SymGetSymFromAddr:487, addr:0x7ff6eb8302f6 [CDPCreateServer]: ??? addr:0x7ff6ebe018ca [CDPCreateServer]: ??? addr:0x7ff6ebf943de [CDPCreateServer]: ??? addr:0x7ff6ebf8a69e [CDPCreateServer]: ??? addr:0x7ff6ebf93617 SymGetSymFromAddr:487, addr:0x7ff6eb80f721 [CDPCreateServer]: ??? addr:0x7ff6ebf95906 SymGetSymFromAddr:487, addr:0x7ff6eb954f9e [CDPCreateServer]: ??? addr:0x7ff6ec0e2d02 [BaseThreadInitThunk]: ??? addr:0x7ffcd7a4e8d7 [RtlUserThreadStart]: ??? addr:0x7ffcd9c1c5dc [RtlUserThreadStart]: ??? addr:0x7ffcd9c1c5dc