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

Switching off ADLXWrapper crashes FanControl

Open JN848433 opened this issue 2 years ago • 14 comments

I thought I'd open a separate ticket for this as it is a separate bug. Not a big issue as restarting FanControl solves the issue.

Switching ADLXWrapper OFF in settings throws the following error when the refresh of the sensors is done afterwards in Windows Event log.

Anwendung: FanControl.exe Frameworkversion: v4.0.30319 Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet. Ausnahmeinformationen: System.AccessViolationException bei ADLXWrapper.Bindings.ADLXPINVOKE.delete_ADLXHelper(System.Runtime.InteropServices.HandleRef) bei ADLXWrapper.Bindings.ADLXHelper.Dispose(Boolean) bei ADLXWrapper.Bindings.ADLXHelper.Finalize()

JN848433 avatar Sep 08 '24 07:09 JN848433

Update to V201 and see if this still happens?

Rem0o avatar Sep 09 '24 14:09 Rem0o

@StainlessSteele This doesn't look like an EventViewer crash report.

@JN848433 Did you update to V201?

Rem0o avatar Sep 12 '24 02:09 Rem0o

from event viewer:

Application: FanControl.exe CoreCLR Version: 8.0.824.36612 .NET Version: 8.0.8 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack: at ADLXWrapper.Bindings.ADLXPINVOKE.delete_ADLXHelper(System.Runtime.InteropServices.HandleRef) at ADLXWrapper.Bindings.ADLXPINVOKE.delete_ADLXHelper(System.Runtime.InteropServices.HandleRef) at ADLXWrapper.Bindings.ADLXHelper.Dispose(Boolean) at ADLXWrapper.Bindings.ADLXHelper.Finalize()

image

portable version just crashes, but the installed version (v202) gives me the error from the image

jilherme avatar Sep 15 '24 02:09 jilherme

@jilherme do you have an AMD GPU at all with Adrenaline installed?

Rem0o avatar Sep 15 '24 03:09 Rem0o

@jilherme do you have an AMD GPU at all with Adrenaline installed?

I have an AMD iGPU, with latest adrenalin drivers installed. ryzen 7 7700x.

jilherme avatar Sep 15 '24 03:09 jilherme

Right, but from 202, do you get the hard crash still or just the popup error? If you only have an iGPU you can disable ADLX all together, it's meant for dedicated gpus.

Rem0o avatar Sep 15 '24 03:09 Rem0o

Right, but from 202, do you get the hard crash still or just the popup error? If you only have an iGPU you can disable ADLX all together, it's meant for dedicated gpus.

I'm in bed right now, but I think I can't adjust any settings. If I remember correctly the app crashes after a couple of seconds

jilherme avatar Sep 15 '24 04:09 jilherme

Right, but from 202, do you get the hard crash still or just the popup error? If you only have an iGPU you can disable ADLX all together, it's meant for dedicated gpus.

I only got the popup in 201 and now in 202 I get hard crashes with this error of the app. I don't know what the heck happens here, I didn't change any settings, I don't have an AMD GPU at all, this just appeared after updating to 201 and I don't know where to disable this, I looked everywhere and I have zero plugins installed. It's driving me mad.

TheSangral avatar Sep 15 '24 08:09 TheSangral

Same issue here.

Clean windows install - AMD chipset drivers installed. I'm getting a crash on startup with ADLXWrapper message shown here. It's the same screen as @jilherme posted.

Log just says:

9/17/2024 1:34:50 AM: Initialization failed. Retry count (2) exceeded.
9/17/2024 1:35:09 AM: Initialization failed. Retry count (2) exceeded.
9/17/2024 1:36:10 AM: Initialization failed. Retry count (2) exceeded.
9/17/2024 1:36:56 AM: Initialization failed. Retry count (2) exceeded.

Downgraded to v200 and it works.

AMD 7800x3d 4090

Senaxx avatar Sep 16 '24 23:09 Senaxx

Same issue, started to occur after I updated to 202 just now. Log just says:

9/17/2024 7:34:43 PM: Initialization failed. Retry count (2) exceeded.

DrBoiko avatar Sep 17 '24 18:09 DrBoiko

Same issue here.

Clean windows install - AMD chipset drivers installed. I'm getting a crash on startup with ADLXWrapper message shown here. It's the same screen as @jilherme posted.

Log just says:

9/17/2024 1:34:50 AM: Initialization failed. Retry count (2) exceeded.
9/17/2024 1:35:09 AM: Initialization failed. Retry count (2) exceeded.
9/17/2024 1:36:10 AM: Initialization failed. Retry count (2) exceeded.
9/17/2024 1:36:56 AM: Initialization failed. Retry count (2) exceeded.

Downgraded to v200 and it works.

AMD 7800x3d 4090

Thanks. V200 worked for me with my Ryzen 7 9700X that was crashing too.

etherealremnant avatar Sep 18 '24 02:09 etherealremnant

See V203

Rem0o avatar Sep 19 '24 13:09 Rem0o

V203

Yes and for me it all works on V203. Thank you for your dedication! I was in vacation - sorry for the late reply.

JN848433 avatar Sep 19 '24 17:09 JN848433

Issue closed as error is fixed.

JN848433 avatar Sep 19 '24 17:09 JN848433