Page MenuHomeFeedback Tracker

Client crash when resetting keybinds
Closed, ResolvedPublic

Description

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.

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Steps To Reproduce
  1. Launch the game and join a server
  2. Click on Exit and cancel the logout
  3. Go to the client settings while sitting on the ground and go to the keybinds and click on reset all
  4. 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

Event Timeline

Geez changed the task status from New to Awaiting internal Testing.Mon, May 26, 12:59 PM
Geez added a subscriber: Geez.Mon, May 26, 4:03 PM

Can you please check on experimental? As it is possibly fixed in there already

from looking at the code, this actually seems to be already fixed, yes

This comment was removed by Geez.
Geez closed this task as Resolved.Tue, May 27, 11:54 AM
Geez claimed this task.