-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Describe the bug
Legacy bug that existed in ryochan build. Crashes randomly when adjusting special actions.
Unknown if specifically related to loading profile action, but profile load does not cause the crash.
To Reproduce
Steps to reproduce the behavior:
- Add some special actions
- Try to adjust them until a crash happens
Screenshots and Logs
ds4windows_log_20251106.4.txt
Event log:
Faulting application name: DS4Windows.exe, version: 3.9.9.0, time stamp: 0x67110000
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1387, time stamp: 0x0b9a844a
Exception code: 0xe0434352
Fault offset: 0x0000000000034f69
Faulting process id: 0x3c40
Faulting application start time: 0x01dc4f49ec6640fb
Faulting application path: C:\Program Files\DS4Windows\DS4Windows.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 12e7b3c7-7e34-498e-abbe-0d6bc64c5bc4
Faulting package full name:
Faulting package-relative application ID:
Application: DS4Windows.exe
CoreCLR Version: 8.0.2125.47513
.NET Version: 8.0.21
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at DS4Windows.Mapping.MapCustomAction(Int32 device, DS4State cState, DS4State MappedState, DS4StateExposed eState, Mouse tp, ControlService ctrl, DS4StateFieldMapping fieldMapping, DS4StateFieldMapping outputfieldMapping)
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Ryochan's one is slightly different:
Application: DS4Windows.exe
CoreCLR Version: 8.0.2125.47513
.NET Version: 8.0.21
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at DS4Windows.Mapping.MapCustomAction(Int32 device, DS4State cState, DS4State MappedState, DS4StateExposed eState, Mouse tp, ControlService ctrl, DS4StateFieldMapping fieldMapping, DS4StateFieldMapping outputfieldMapping)
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Desktop (please complete the following information):
- Controller Make and Model: CFI-ZCT1W