Rem0o/FanControl.HWInfo

System.Exception: HWInfo sensors failed

FlemmingJPetersen opened this issue · 4 comments

Sometime FanControl stops reading sensor info, and here is what is in the log:

2023-06-22 15.21.12: HWInfo sensor failed momentarily during operation: HWInfo/ASUS TUF GAMING Z690-PLUS D4 (Nuvoton NCT6798D)/CPU/RPM - Missing
2023-06-22 15.21.12: Unhandled exception in FanControl v160.0.0.0
2023-06-22 15.21.12: System.Exception: HWInfo sensors failed: HWInfo/ASUS TUF GAMING Z690-PLUS D4 (Nuvoton NCT6798D)/CPU/RPM
at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 93
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at System.Collections.Generic.List1.ForEach(Action1 action)
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Somethimes the error is slightly different, but the result is the same:

2023-06-19 07.47.09: Unhandled exception in FanControl v160.0.0.0
2023-06-19 07.47.09: System.Exception: HWInfo was closed during operation.
at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 78
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at System.Collections.Generic.List1.ForEach(Action1 action)
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

I'm seeing the same error:

9/07/2023 8:43:25 am: HWInfo sensor failed momentarily during operation: HWInfo/ASUS EC: ASUS /CPU Core Current/A - Missing
29/07/2023 8:43:25 am: Unhandled exception in FanControl v164.0.0.0
29/07/2023 8:43:25 am: System.Exception: HWInfo sensors failed: HWInfo/ASUS EC: ASUS /CPU Core Current/A
at FanControl.HWInfo.HWInfoPlugin.Update()
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at System.Collections.Generic.List1.ForEach(Action1 action)
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
29/07/2023 11:30:03 am: HWInfo sensor failed momentarily during operation: HWInfo/ASUS EC: ASUS /CPU Core Current/A - Missing
29/07/2023 11:30:03 am: Unhandled exception in FanControl v164.0.0.0
29/07/2023 11:30:03 am: System.Exception: HWInfo sensors failed: HWInfo/ASUS EC: ASUS /CPU Core Current/A
at FanControl.HWInfo.HWInfoPlugin.Update()
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at System.Collections.Generic.List1.ForEach(Action1 action)
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

HWInfo Version 7.60-5170

Any update or progress on this issue?
I'm getting this error almost hourly.

So I have kind of fixed the problem by disabling the CPU current draw measurement in the HWInfo app itself:
29/07/2023 11:30:03 am: HWInfo sensor failed momentarily during operation: HWInfo/ASUS EC: ASUS /CPU Core Current/A - Missing

Seems the fan control plugin has issues if one of the HWInfo sensors goes missing.