Service crashes in ADLX SetFanTuningStates (0xc0000005) when closing after a Fast Startup boot

Aperta
#4,244 49 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva

Direzione di ricerca

Start at ComputerAccessLayer.Close() and follow the reported Reset() path through ADLXControl.Reset() to FanTuningStates.Reset() and the native SetFanTuningStates call. Reproduce with an AMD GPU using ADLX after a Fast Startup boot, then compare with a cold boot. Done means closing after resume no longer crashes the service; the issue does not identify a test file or the underlying cause.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

If you are experiencing a crash
Event Viewer entries below. log.txt (app) has nothing related.

Version and environment

  • Fan Control version: V284 (same crash on V266 to V284)
  • .NET build: .NET 10
  • Windows version and build: Windows 11 Enterprise 26H2, build 26300.9711
  • Installation method: Winget
  • Running as a desktop app or Windows service: both (service at boot, app at logon)
  • Startup method: service at boot + scheduled task at logon
  • Plugins: none

Describe the bug
About 1 s after "PowerEvent handled successfully by the service", the service crashes with 0xc0000005 in IADLXManualFanTuning_SetFanTuningStates, called from ComputerAccessLayer.Close() > ADLXControl.Reset(). 44 times since 2026-08-25: 32 right after a Fast Startup boot, 7 around a restart, 5 at other times. Always the same Close > Reset path.

Steps to reproduce

  1. Service at boot, AMD GPU with ADLX, Fast Startup on (the Windows default).
  2. Shut down from the Start menu, then power on.
  3. The service crashes right after the resume power event.

Expected and actual behavior
Expected: the service closes ADLX without crashing after the resume. Actual: a native access violation kills the process. A cold boot (restart, or Fast Startup off) avoids it.

For service, startup, or crash issues

.NET Runtime 1026 + Application Error 1000 (2026-10-27 08:52:59)
Application: FanControl.Service.exe
CoreCLR Version: 10.0.1426.52326
.NET Version: 10.0.14
Description: The process was terminated due to an unhandled exception.
Stack:
   at ADLXWrapper.Bindings.ADLXPINVOKE.IADLXManualFanTuning_SetFanTuningStates(HandleRef, HandleRef)
   at ADLXWrapper.Bindings.IADLXManualFanTuning.SetFanTuningStates(IADLXManualFanTuningStateList)
   at ADLXWrapper.FanTuningStates.<SetFanTuningStates>b__18_0()
   at ADLXWrapper.Extensions.ExecuteWithResetRetry(Func`1<ADLX_RESULT>, Action, String)
   at ADLXWrapper.FanTuningStates.SetFanTuningStates(ValueTuple`2<Int32,Int32>[])
   at ADLXWrapper.FanTuningStates.Reset()
   at ADLXWrapper.ManualFanTuning.Reset()
   at FanControl.Domain.BackendProviders.ADLX.ADLXControl.Reset()
   at FanControl.Domain.Control.Reset()
   at FanControl.Domain.Control.Dispose()
   at FanControl.Domain.Engine.FanControlEngine.ResetControlsAndClear()
   at FanControl.Domain.Engine.FanControlEngine.ComputerAccessLayer_Closing()
   at FanControl.Domain.ComputerAccessLayer.Close()
   at FanControl.Domain.ComputerAccessLayer+<>c__DisplayClass18_0+<<TryRefresh>b__0>d.MoveNext()

Faulting application name: FanControl.Service.exe, version: 284.0.0.0
Faulting module name: coreclr.dll, version: 10.0.1426.52326
Exception code: 0xc0000005
Fault offset: 0x00000000003590bf

Relevant hardware specs and setup
ASUS ProArt X670E-CREATOR WIFI, Ryzen 9 7900, Radeon RX 6650 XT (Adrenalin 26.10.1) + iGPU.

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Rem0o/FanControl.Releases

Tutte le issue di Rem0o/FanControl.Releases

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.