Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Exception: HWInfo sensors failed #45

Open
FlemmingJPetersen opened this issue Jun 22, 2023 · 3 comments
Open

System.Exception: HWInfo sensors failed #45

FlemmingJPetersen opened this issue Jun 22, 2023 · 3 comments

Comments

@FlemmingJPetersen
Copy link

FlemmingJPetersen commented Jun 22, 2023

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)

@mminehanNZ
Copy link

mminehanNZ commented Jul 29, 2023

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

@mminehanNZ
Copy link

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

@mminehanNZ
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants