FanControl.Releases icon indicating copy to clipboard operation
FanControl.Releases copied to clipboard

An unexpected error has occured

Open ycodryn opened this issue 3 years ago • 8 comments

I`m using latest Fan Control, HWinFO64 and hwinfo plugin 1.0.35.

22/06/2022 18:00:56: Unhandled exception in FanControl v1.0.0.0 22/06/2022 18:00:56: System.Exception: HWInfo sensors were changed during operation at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 69 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)

ycodryn avatar Jun 22 '22 16:06 ycodryn

"HWInfo sensors were changed during operation"

Did you do something with HWInfo while FanControl was running? That messages indicates that one sensor through the gadget interface went missing.

Rem0o avatar Jun 22 '22 19:06 Rem0o

No, HWInfo is running in background. Every time after I`m clicking fan control to open it from tray I got that message. The sensor that is not working after the error is the rpm one from the waterpump that is read by the ec.

22/06/2022 18:00:56: Unhandled exception in FanControl v1.0.0.0 22/06/2022 18:00:56: System.Exception: HWInfo sensors were changed during operation at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 69 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) 22/06/2022 20:12:16: Unhandled exception in FanControl v1.0.0.0 22/06/2022 20:12:16: System.Exception: HWInfo sensors were changed during operation at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 69 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) 23/06/2022 10:01:28: Unhandled exception in FanControl v1.0.0.0 23/06/2022 10:01:28: System.Exception: HWInfo sensors were changed during operation at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 69 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) 23/06/2022 12:00:15: Unhandled exception in FanControl v1.0.0.0 23/06/2022 12:00:15: System.Exception: HWInfo sensors were changed during operation at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 69 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)

ycodryn avatar Jun 23 '22 08:06 ycodryn

After latest updates to fan and plugin, I got the same error.

01/07/2022 08:43:45: Unhandled exception in FanControl v1.0.0.0 01/07/2022 08:43:45: System.Exception: HWInfo sensors were changed during operation at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 68 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)

edit: maybe this error got to do with line FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 68 ? Why I got a log line from C:\projects\fancontrol-hwinfo when I don`t have that path? Mine is in C:\Program Files (x86)\FanControl

ycodryn avatar Jul 01 '22 06:07 ycodryn

@ycodryn If I were you, I would untick every sensor from the gadget tab and only check those you need, see if that helps.

Rem0o avatar Jul 01 '22 16:07 Rem0o

@Rem0o already did that, as I need only one sensor, pump+ speed.

ycodryn avatar Jul 01 '22 19:07 ycodryn

I am having the same issue, running HWinfo 7.26-4800 I only am using 1 sensor as well for the Asus T_sensor

8/10/2022 9:09:39 PM: Unhandled exception in FanControl v1.0.0.0 8/10/2022 9:09:39 PM: System.Exception: HWInfo sensors were changed during operation 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)

daverdfw avatar Aug 11 '22 02:08 daverdfw

Same issue here as well with HWINFO plugin. Only reporting sensors for aio liquid temp/fan speeds/pump speed. HW Info is running in the background and continues to report normally after the error occurs. Another issue here, is that as soon as the error pops up in fancontrol, the plugin stops reporting untill i restart the app.

15/8/2022 1:17:43 μμ: Unhandled exception in FanControl v1.0.0.0 15/8/2022 1:17:43 μμ: System.Exception: HWInfo sensors were changed during operation at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 68 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)

ArbiterGR avatar Aug 15 '22 10:08 ArbiterGR

Please report this in the HWInfo plugin repo. If someone could debug this with source code and tell what's happening with the missing sensor, that would help.

Rem0o avatar Aug 15 '22 13:08 Rem0o

Should be fixed with https://github.com/Rem0o/FanControl.HWInfo/releases/tag/1.2

Rem0o avatar Sep 24 '22 15:09 Rem0o

Thank you, I will test it.

ycodryn avatar Sep 27 '22 08:09 ycodryn