fancontrol crashes with: Couldn't terminate ADLX
every morning when I wake up my windows 10 pc from sleep fancontrol is gone.
I checked the log and it looks to me that the ADLX plugin is causing a crash when the PC wakes up?
17.05.2024 10:00:36: ADLXWrapper.ADLXEception: Result: ADLX_ORPHAN_OBJECTS
Couldn't terminate ADLX
bei ADLXWrapper.Extensions.ThrowIfError(ADLX_RESULT result, String message)
bei ADLXWrapper.ADLXWrapper.Dispose()
bei FanControl.ADLX.ADLXPlugin.Close()
bei FanControl.Domain.ComputerAccessLayer.Close()
18.05.2024 09:57:33: ADLXWrapper.ADLXEception: Result: ADLX_ORPHAN_OBJECTS
Couldn't terminate ADLX
bei ADLXWrapper.Extensions.ThrowIfError(ADLX_RESULT result, String message)
bei ADLXWrapper.ADLXWrapper.Dispose()
bei FanControl.ADLX.ADLXPlugin.Close()
bei FanControl.Domain.ComputerAccessLayer.Close()
19.05.2024 09:44:41: ADLXWrapper.ADLXEception: Result: ADLX_ORPHAN_OBJECTS
Couldn't terminate ADLX
bei ADLXWrapper.Extensions.ThrowIfError(ADLX_RESULT result, String message)
bei ADLXWrapper.ADLXWrapper.Dispose()
bei FanControl.ADLX.ADLXPlugin.Close()
bei FanControl.Domain.ComputerAccessLayer.Close()
20.05.2024 10:10:02: ADLXWrapper.ADLXEception: Result: ADLX_ORPHAN_OBJECTS
Couldn't terminate ADLX
bei ADLXWrapper.Extensions.ThrowIfError(ADLX_RESULT result, String message)
bei ADLXWrapper.ADLXWrapper.Dispose()
bei FanControl.ADLX.ADLXPlugin.Close()
bei FanControl.Domain.ComputerAccessLayer.Close()
What version of FanControl and are you using the latest build of the plugin?
@Rem0o FanControl V191 (latest) and ADLX build from AppVeyor from 12. May (latest right now)
Thanks for the great work by the way.
FanControl.zip I compiled a fix, replace your exe/dll with this one. Either net8 or 4.8, depending on the version you got.
Tell me if the problem occurs (or not) in the next few days.
@Rem0o I've replaced the exe and downloaded the latest ddls from appveyor, which you've added today, and replaced all. I've just tested sleep mode and wakeup manually and it did not crash any more - so far. I'll keep an eye on it over the next few days and report back.
side note: under "To install" it says download from appveyor and "compile the solution" - so when I came here first I was confused what to do and if I could even use the plugin without any special build environment to compile it myself. I then went with the latest github release version, until I noticed the appveyor link contains ddl's too and seems way more recent. Maybe update the README for future noobs like me? :-)
Thank you
unfortunately same error again this morning:
23.05.2024 09:22:34: ADLXWrapper.ADLXEception: Result: ADLX_ORPHAN_OBJECTS
Couldn't terminate ADLX
bei ADLXWrapper.Extensions.ThrowIfError(ADLX_RESULT result, String message)
bei ADLXWrapper.ADLXWrapper.Dispose()
bei FanControl.ADLX.ADLXPlugin.Close()
bei FanControl.Domain.ComputerAccessLayer.Close()
not exactly sure why that happens after being in sleep for a longer time - compared to yesterday, when no crash occurred, I tested sending to sleep and woke windows up like 30 seconds later. Maybe some timeouts while being asleep for 6+ hours terminate some other stuff it can't close then any more?
sad update: keeps crashing with the same error, every morning I wake the PC up from sleep
Sanity check, if you hit ctrl r in the app multiple times in a row, any error at all?
Sanity check, if you hit ctrl r in the app multiple times in a row, any error at all?
only the the first time it crashed instantly with (had fancontrol started about an hour ago, after waking up the pc without finding it running)
26.05.2024 10:54:55: ADLX plugin: ADLXWrapper.ADLXEception: Result: ADLX_ALREADY_INITIALIZED
Couldn't initialize ADLX
bei ADLXWrapper.Extensions.ThrowIfError(ADLX_RESULT result, String message)
bei FanControl.ADLX.ADLXPlugin.Initialize()
after restarting fancontrol I pressed ctrl r a few more times and no crash. I manually quit fancontrol a few more times, started, pressed ctrl r a few times. No crash.
duplicate of #47 which seems to be more active :-)