a1xd / rawaccel

kernel mode mouse accel
MIT License
1.77k stars 215 forks source link

Autostart stopped working after BIOS update, writer.exe .NET exception in Event Viewer #223

Open AniRayn opened 3 months ago

AniRayn commented 3 months ago

I had RawAccel's writer.exe set to launch at startup via Task Scheduler. After I updated my BIOS it stopped working with error code 0xe0434352 shown in Task Scheduler. In Event viewer I found this.

Event 1 (id 1026): Application: writer.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException at System.Windows.Forms.MessageBox.ShowCore(System.Windows.Forms.IWin32Window, System.String, System.String, System.Windows.Forms.MessageBoxButtons, System.Windows.Forms.MessageBoxIcon, System.Windows.Forms.MessageBoxDefaultButton, System.Windows.Forms.MessageBoxOptions, Boolean) at writer.Program.Exit(System.String) at writer.Program.Main(System.String[])

Event 2 (id 1000): Faulting application name: writer.exe, version: 1.6.1.0, time stamp: 0xbdc1284a Faulting module name: KERNELBASE.dll, version: 10.0.19041.4522, time stamp: 0xf7a99bd4 Exception code: 0xe0434352 Fault offset: 0x000000000002ba99 Faulting process id: 0x10d4 Faulting application start time: 0x01dac5a6a71607a2 Faulting application path: C:\Program Files\RawAccel\writer.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: e1b40796-ee74-4269-ad2b-03c5f9cbebc7 Faulting package full name: Faulting package-relative application ID:

Is this something that can be fixed on my side? OK, without rolling back my BIOS :) I suspect it could have to do with changed initialization delay/duration of my USB devices, because running writer.exe a few seconds later works. Specifically, I changed the task trigger from "startup" to "log on of any user", which supposedly occurs later than "startup". Let me know if you need additional logs or info.