Describe the bug
Program works as expected while in use, but if left idling in system tray will eventually crash and terminate with .NET runtime error in Windows event viewer
To Reproduce
Launch the application and let it sit in the system tray for an extended period of time.
Expected behavior
For it to not crash while idling in the background for extended periods of time
Files
Log Name: Application
Source: Application Error
Date: 9/21/2026 9:45:16 AM
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User: *****
Computer: *****
Description:
Faulting application name: AutoActions.exe, version: 1.9.27.0, time stamp: 0xc475e4ee
Faulting module name: KERNELBASE.dll, version: 10.0.26100.9444, time stamp: 0x28606b21
Exception code: 0xe0434352
Fault offset: 0x00000000000c41ca
Faulting process id: 0x3628
Faulting application start time: 0x1DD49ABE6450BC0
Faulting application path: C:\Utilities\AutoActions\AutoActions.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: be1322d4-4ddb-4cc4-99ac-a402483d5904
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
1000
0
2
100
0
0x8000000000000000
865
Application
*****
AutoActions.exe
1.9.27.0
c475e4ee
KERNELBASE.dll
10.0.26100.9444
28606b21
e0434352
00000000000c41ca
0x3628
0x1dd49abe6450bc0
C:\Utilities\AutoActions\AutoActions.exe
C:\WINDOWS\System32\KERNELBASE.dll
be1322d4-4ddb-4cc4-99ac-a402483d5904
Log Name: Application
Source: .NET Runtime
Date: 9/21/2026 4:36:08 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ****
Description:
Application: AutoActions.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at AutoActions.Displays.HDRController.GetColorDepth(UInt32)
at AutoActions.Displays.DisplayManagerBase.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerNvidia.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerBase.UpdateDisplays()
Exception Info: System.Reflection.TargetInvocationException
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.InvokeCallback(System.Object)
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.Invoke(Boolean, System.Object[])
at Microsoft.Win32.SystemEvents.RaiseEvent(Boolean, System.Object, System.Object[])
at Microsoft.Win32.SystemEvents.OnDisplaySettingsChanged()
at Microsoft.Win32.SystemEvents.WindowProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at AutoActions.App.Main()
Event Xml:
1026
0
2
0
0
0x80000000000000
928
Application
*****
Application: AutoActions.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at AutoActions.Displays.HDRController.GetColorDepth(UInt32)
at AutoActions.Displays.DisplayManagerBase.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerNvidia.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerBase.UpdateDisplays()
Exception Info: System.Reflection.TargetInvocationException
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.InvokeCallback(System.Object)
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.Invoke(Boolean, System.Object[])
at Microsoft.Win32.SystemEvents.RaiseEvent(Boolean, System.Object, System.Object[])
at Microsoft.Win32.SystemEvents.OnDisplaySettingsChanged()
at Microsoft.Win32.SystemEvents.WindowProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at AutoActions.App.Main()
Desktop (please complete the following information):
- OS: Windows 11 Pro 25H2
- Version 26200.9457
Hardware (please complete the following information):
- Monitors: Hisense 75U8K
- Graphics card: Nvidia RTX 4090 FE
- Graphics card driver: 616.92
Additional context
This has also happened on older Nvidia drivers in the past and a fresh Windows install
Describe the bug
Program works as expected while in use, but if left idling in system tray will eventually crash and terminate with .NET runtime error in Windows event viewer
To Reproduce
Launch the application and let it sit in the system tray for an extended period of time.
Expected behavior
For it to not crash while idling in the background for extended periods of time
Files
Log Name: Application
Source: Application Error
Date: 9/21/2026 9:45:16 AM
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User: *****
Computer: *****
Description:
Faulting application name: AutoActions.exe, version: 1.9.27.0, time stamp: 0xc475e4ee
Faulting module name: KERNELBASE.dll, version: 10.0.26100.9444, time stamp: 0x28606b21
Exception code: 0xe0434352
Fault offset: 0x00000000000c41ca
Faulting process id: 0x3628
Faulting application start time: 0x1DD49ABE6450BC0
Faulting application path: C:\Utilities\AutoActions\AutoActions.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: be1322d4-4ddb-4cc4-99ac-a402483d5904
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
1000
0
2
100
0
0x8000000000000000
865
Application
*****
AutoActions.exe
1.9.27.0
c475e4ee
KERNELBASE.dll
10.0.26100.9444
28606b21
e0434352
00000000000c41ca
0x3628
0x1dd49abe6450bc0
C:\Utilities\AutoActions\AutoActions.exe
C:\WINDOWS\System32\KERNELBASE.dll
be1322d4-4ddb-4cc4-99ac-a402483d5904
Log Name: Application
Source: .NET Runtime
Date: 9/21/2026 4:36:08 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ****
Description:
Application: AutoActions.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at AutoActions.Displays.HDRController.GetColorDepth(UInt32)
at AutoActions.Displays.DisplayManagerBase.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerNvidia.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerBase.UpdateDisplays()
Exception Info: System.Reflection.TargetInvocationException
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.InvokeCallback(System.Object)
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.Invoke(Boolean, System.Object[])
at Microsoft.Win32.SystemEvents.RaiseEvent(Boolean, System.Object, System.Object[])
at Microsoft.Win32.SystemEvents.OnDisplaySettingsChanged()
at Microsoft.Win32.SystemEvents.WindowProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at AutoActions.App.Main()
Event Xml:
1026
0
2
0
0
0x80000000000000
928
Application
*****
Application: AutoActions.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at AutoActions.Displays.HDRController.GetColorDepth(UInt32)
at AutoActions.Displays.DisplayManagerBase.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerNvidia.GetActiveMonitors()
at AutoActions.Displays.DisplayManagerBase.UpdateDisplays()
Exception Info: System.Reflection.TargetInvocationException
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.InvokeCallback(System.Object)
at Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.Invoke(Boolean, System.Object[])
at Microsoft.Win32.SystemEvents.RaiseEvent(Boolean, System.Object, System.Object[])
at Microsoft.Win32.SystemEvents.OnDisplaySettingsChanged()
at Microsoft.Win32.SystemEvents.WindowProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at AutoActions.App.Main()
Desktop (please complete the following information):
Hardware (please complete the following information):
Additional context
This has also happened on older Nvidia drivers in the past and a fresh Windows install