Jagailo / YetAnotherKeyDisplayer

App for displaying pressed keys of the keyboard
GNU General Public License v3.0
317 stars 15 forks source link

The RTSS started by YAKD will cause game and RTSS crash #30

Open TsuZing opened 4 months ago

TsuZing commented 4 months ago

If the RTSS started by YAKD instead of manual start RTSS, switch YAKD window mode to RTSS mode, or close YAKD will cause mouse lag(because Windows error report), and RTSS/Game crash. If manual start RTSS, will not cause crash.

RTSS crash log:

Faulting application name: RTSS.exe, version: 7.3.5.28010, time stamp: 0x65fe9a52
Faulting module name: ntdll.dll, version: 10.0.26100.461, time stamp: 0x98a4f29b
Exception code: 0xc0000005
Fault offset: 0x0006d1f2
Faulting process id: 0x2A1C
Faulting application start time: 0x1DAA6D1FE66E4F8
Faulting application path: C:\Program Files (x86)\RivaTuner Statistics Server\RTSS.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: c524157f-fb0b-4e11-b4a7-715017dcbfdf

Game crash log:

Faulting application name: YuanShen.exe, version: 2017.4.30.0, time stamp: 0x6604dd7f
Faulting module name: ntdll.dll, version: 10.0.26100.461, time stamp: 0x406cb297
Exception code: 0xc0000005
Fault offset: 0x0000000000063f43
Faulting process id: 0x6BC0
Faulting application start time: 0x1DAA6CED6E663BD
Faulting application path: C:\Program Files\Genshin Impact\Genshin Impact Game\YuanShen.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll

After a crash, YAKD may not find RTSS, but restarting YAKD can solve:

Application: YAKD.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr)
   at RTSSSharedMemoryNET.OSD.openSharedMemory(Void**, RTSS_SHARED_MEMORY**)
   at RTSSSharedMemoryNET.OSD.!OSD()
   at RTSSSharedMemoryNET.OSD.Dispose(Boolean)
   at RTSSSharedMemoryNET.OSD.Finalize()

or image

Tested on Windows 11 Release 23h2 and Canary 24H2.