V286: service crash loop ("No providers opened") when the config uses HWInfo plugin sensors, unavailable to LocalSystem (worked in V285)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
The report identifies FanControl.Service.Worker.ExecuteAsync, ComputerAccessLayer initialization, and the sensor validation failure, but gives no repository source files or tests. Start by tracing service startup and provider initialization, then compare V286’s failure behavior with V285. Done means a service can start when configured sensors are unavailable to LocalSystem, with the missing sensors reported clearly; reproduce using the HWInfo plugin sensors described in the issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
If you are experiencing a crash
No native crash: FanControl.Service exits on a fatal error that it logs itself, and Windows service recovery restarts it in a loop. Excerpts from service_log.txt, log_2.txt and Event Viewer are below, and I can provide the full files on request.
Version and environment
- Fan Control version: V286 (
286.0.0.0+41552b7d5b5464d3389d7c117f5f43f7114786da), installed over V285 on 2026-11-18 09:33 - .NET build (e.g. .NET 4.8 or .NET 10): .NET 10 (Microsoft.NETCore.App / WindowsDesktop.App 10.0.15)
- Windows version and build: Windows 11 Pro 26H2, build 26300.9818
- Installation method (portable archive, installer, Scoop, Winget, or Chocolatey): installer
- Running as a desktop app or Windows service: Windows service + desktop app (the app takes over from the service at logon)
- Startup method (manual, scheduled task at logon, or service at boot): service at boot (
FanControl.Service, automatic, LocalSystem) + scheduled task at logon for the app (highest privileges, 30 s delay) - Plugins and their versions (or "none"): FanControl.HWInfo 1.0.0.0 (
Plugins\HWInfo), with HWiNFO64 8.54-6090 running in the user session, "Reporting to Gadget" enabled
Describe the bug
Since the update to V286, FanControl.Service crash-loops when the configuration references sensors provided by the HWInfo plugin. The same configuration worked in V285.
The HWInfo plugin reads HKCU\SOFTWARE\HWiNFO64\VSB. HWiNFO writes that key to the logged-in user's hive, and LocalSystem's own HKCU does not have it. As a result, HWInfo sensors are never available inside the service. This was already the case in V285: the service logged the HWInfo errors, kept running with the other providers, and the desktop app took over at logon with the HWInfo sensors available.
In V286, the same situation is fatal. The service retries the HWInfo plugin 6 times (about 50 s), logs Try refresh failed. Retry count (6) exceeded. HWInfo could not initialize or has no sensors., then exits with ComputerAccessLayer initialization failed: No providers opened. LibreHardwareMonitor (Nuvoton NCT6798D, Intel CPU) and NvAPIWrapper (RTX 3090) are enabled and used by the configuration. The test below shows the service finds their sensors, so "No providers opened" is misleading here.
Side effect on the desktop app: while the service keeps restarting, the app cannot take over (IPC Error ... failed to connect to all addresses in StartupIpcClient.RequestTakeOver). The process runs, but no window appears.
Why the HWInfo plugin is needed here: on this RTX 3090 (GDDR6X), the GPU memory junction temperature is only available through HWiNFO. NvAPIWrapper does not expose it, and a standalone LibreHardwareMonitor 0.9.6 report on this system has no NVIDIA GPU section at all. Two fan curves ("GPU memoire", "Boitier memoire") use that sensor. They are combined in Mix fan curves with the GPU core temperature from NvAPIWrapper.
Test performed: I temporarily moved Plugins\HWInfo out of the install folder and started the service. It still failed with the same fatal error. This time the inner exception was explicit: Sensor validation failed: The following sensors are missing:, followed by exactly the 7 HWInfo sensors of the configuration. The LHM and NvAPIWrapper sensors of the same configuration are not in that list, so the service did find them. This shows that missing configured sensors are enough to make the service fail, even without the plugin loaded. I did not test the opposite case (plugin present, no HWInfo sensor in the configuration). The plugin was restored afterwards.
Steps to reproduce
- Install V286 with the service at boot and the app started by the scheduled task at logon.
- Install the HWInfo plugin, run HWiNFO64 in the user session with "Reporting to Gadget" enabled, and use at least one HWInfo sensor in the configuration (here: GPU memory junction temperature in a Graph fan curve, plus 6 HWInfo fan speed sensors).
- Reboot, or start
FanControl.Service. The service exits after the HWInfo retries (about 50 s), Windows restarts it every 10 min, and the app started at logon does not show up.
Expected and actual behavior
Expected (V285 behavior): the service starts with the available providers, logs the missing HWInfo sensors and keeps running. The desktop app takes over at logon and uses the HWInfo sensors. Sensors that can only exist in the user session should not make the service fail. Ideally, the service should skip them or use a fallback for the curves that depend on them, and the top-level error should name the missing sensors instead of "No providers opened".
Actual (V286): fatal error and a service crash loop. service_log.txt contains 203 [ServiceWorker] Fatal error entries since the V286 install (a few of them from my manual tests), and the desktop app cannot take over.
Last version that worked: V285.
Workaround: set the FanControl.Service startup type to Disabled. The app started at logon then runs in full app mode with the HWInfo sensors, but there is no fan control between boot and logon.
Is there a log.txt file next to FanControl.exe with recent date entries?
Yes (log_2.txt). Note that log_2.txt uses M/D/Y with a 12-hour clock, while service_log.txt uses D/M/Y with a 24-hour clock. Relevant entries:
[V286] 11/19/2026 9:55:35 AM: IPC Error - Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
at FanControl.IPC.StartupIpcClient.RequestTakeOver(FanControlRPCClient client)
at FanControl.IPC.StartupIpcClient.CheckForOtherInstance(CommandLineArguments arguments)
[V286] 11/19/2026 11:12:04 PM: IPC Error - Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses")
at FanControl.IPC.StartupIpcClient.RequestTakeOver(FanControlRPCClient client)
at FanControl.IPC.StartupIpcClient.CheckForOtherInstance(CommandLineArguments arguments)
For service, startup, or crash issues
service_log.txt, V285: the same HWInfo errors were logged but were not fatal, and the service kept running.
[V285] 16/11/2026 09:50:16: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
[V285] 16/11/2026 09:50:25: Try refresh failed. Retry count (6) exceeded.
HWInfo could not initialize or has no sensors.
[V285] 18/11/2026 09:31:50: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
service_log.txt, V286, plugin present (first failure, one minute after the V286 install; the same sequence repeats at every restart). Stack traces trimmed:
[V286] 18/11/2026 09:34:10: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
at FanControl.HWInfo.HWInfoPlugin.Initialize() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 27
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
[V286] 18/11/2026 09:34:14: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
[V286] 18/11/2026 09:34:23: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
[V286] 18/11/2026 09:34:32: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
[V286] 18/11/2026 09:34:41: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
[V286] 18/11/2026 09:34:50: Open - System.Exception: HWInfo is not running or reporting to gadget is not enabled.
[V286] 18/11/2026 09:34:59: Try refresh failed. Retry count (6) exceeded.
HWInfo could not initialize or has no sensors.
[V286] 18/11/2026 09:34:59: ExecuteAsync - System.Exception: Try refresh failed. Retry count (6) exceeded.
[V286] 18/11/2026 09:34:59: [ServiceWorker] Fatal error: System.InvalidOperationException: ComputerAccessLayer initialization failed: No providers opened.
at FanControl.Service.Worker.ExecuteAsync(CancellationToken stoppingToken)
service_log.txt, V286, Plugins\HWInfo moved out (test):
[V286] 19/11/2026 23:10:24: Try refresh failed. Retry count (6) exceeded.
Sensor validation failed: The following sensors are missing:
HWInfo/HWInfo/dGPU [#0]: NVIDIA GeForce RTX 3090: MSI RTX 3090 Gaming X Trio/Température de jonction de mémoire GPU/°C
HWInfo/HWInfo/ASUS EC: ASUS /Ventilateur d'extension 1/RPM
HWInfo/HWInfo/ASUS EC: ASUS /Ventilateur d'extension 2/RPM
HWInfo/HWInfo/ASUS EC: ASUS /Ventilateur d'extension 3/RPM
HWInfo/HWInfo/ASUS EC: ASUS /Ventilateur d'extension 4/RPM
HWInfo/HWInfo/ASUS EC: ASUS /Ventilateur d'extension 5/RPM
HWInfo/HWInfo/ASUS EC: ASUS /Ventilateur d'extension 6/RPM
[V286] 19/11/2026 23:10:24: ExecuteAsync - System.Exception: Try refresh failed. Retry count (6) exceeded.
---> System.Exception: Sensor validation failed: The following sensors are missing: [same list]
[V286] 19/11/2026 23:10:24: [ServiceWorker] Fatal error: System.InvalidOperationException: ComputerAccessLayer initialization failed: No providers opened.
Event Viewer:
- Application log, source
FanControl.Service, at every failure:Category: FanControl.Service.Worker | EventId: 0 | ComputerAccessLayer initialization failed: No providers opened. | Exception: System.InvalidOperationException: ComputerAccessLayer initialization failed: No providers opened. - System log, Service Control Manager, event 7031 (2026-11-19 22:57:21): "The FanControl Service service terminated unexpectedly. It has done this 75 time(s). The following corrective action will be taken in 600000 milliseconds: Restart the service."
- No .NET Runtime (1026) or Application Error (1000) entries for FanControl since 2026-11-18.
Possibly related: in #4272, a comment reports the same "No providers opened" crash loop after V286, solved there by a clean reinstall. I have not tried a clean reinstall. Here the missing sensors are identified, and they cannot exist in the LocalSystem context.
Relevant hardware specs and setup
Custom desktop build:
- Motherboard: ASUS ROG Maximus XII Apex (Z490), BIOS 3302 (2025-05-12), Super I/O Nuvoton NCT6798D
- CPU: Intel Core i9-10900K
- GPU: MSI GeForce RTX 3090 Gaming X Trio 24G (GA102), VBIOS 94.02.42.00.f1, NVIDIA driver 610.88
- RAM: 2 × 32 GB G.Skill Trident Z Neo DDR4-3600
- Cooling: Lian Li Galahad 240 AIO, 4 × Lian Li ST120 PWM case fans
- FanControl backends in use: LibreHardwareMonitor (
/lpc/nct6798d/control/0-3,/intelcpu/0/temperature/12), NvAPIWrapper (NVApiWrapper/0-GA102-A/control/0-1,sensor/0), HWInfo plugin (GPU memory junction temperature, ASUS EC fan speeds) - Other hardware software installed: HWiNFO64 8.54, PawnIO 2.2.0, ASUS Armoury Crate (AsusFanControlService running), MSI Center, OpenRGB (service)
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 21.1k
- Fork
- 619
- Merge medio
- 12g 8h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Rem0o/FanControl.Releases
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Rem0o/FanControl.Releases#4286 ·
-
Hide "CustomSensors" Option.Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
Rem0o/FanControl.Releases#4282 ·
-
BSOD (0x139) on Intel RST VMD (iaStorVD.sys) during storage sensor probing — upstream fix submittedApertabug upstream
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
Rem0o/FanControl.Releases#4281 ·
-
Difficoltà 4/5 Più di una settimana Idoneità per principianti 8/100
Rem0o/FanControl.Releases#4280 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 53/100
Rem0o/FanControl.Releases#4273 · 2 commenti ·
Tutte le issue di Rem0o/FanControl.Releases
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Rose22/openlumara#166 ·
-
area:query feature priority:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
jdrouet/tinyobserve#44 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
good first issue help wanted tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
LMPrado-DZ23/open_notas_br#14 ·
I maintainer di solito rispondono entro 1 giorno