Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Bluscream2 on June 06, 2019, 02:48:01 PM

Title: Avast imprisoning VCRUNTIME DLLs?
Post by: Bluscream2 on June 06, 2019, 02:48:01 PM
 >:( Why is avast overtaking files like
Code: [Select]
06/06/2019 12:40:30.405: [SEH-Except] Exception Code: e06d7363  - Flags: (Non-Continuable) -  Arg Count: 4   [ Calling Module:  C:\WINDOWS\WinSxS\amd64_avast.vc140.crt_fcc99ee6193ebbca_14.0.27012.0_none_5ca6eb17137337f1\VCRUNTIME140.dll ]
06/06/2019 12:40:30.405: [SEH-Except]   >> Best-Guess For Source of Exception:  CxxThrowException

Which module do i need to disable for this to stop?
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: igor on June 06, 2019, 02:57:45 PM
Now sure what "overtaking" means - but that file is part of Avast antivirus (it installed it there).
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: Bluscream2 on June 06, 2019, 03:40:21 PM
If it's just part of avast's installation, why would Games load C:\WINDOWS\WinSxS\amd64_avast.vc140.crt_fcc99ee6193ebbca_14.0.27012.0_none_5ca6eb17137337f1\VCRUNTIME140.dll instead of C:\WINDOWS\system32\VCRUNTIME140.dll ???
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: igor on June 06, 2019, 08:37:48 PM
Are you sure it's "instead"?

I mean, as you can see, that file has avast in the path - it's Avast's copy of the redistributable DLL. To load it, you need to have a special manifest in your file - and that really wouldn't be the case of 3rd party games.
If you're saying you can see that DLL in other processes - I can imagine some Avast module getting injected into that process (as part of the behavior shield or something else) and that injected Avast module loading this Avast's copy of vcruntime140.dll as a dependency. I guess we'd need to know more about the particular game and the problem in question.
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: Bluscream2 on June 06, 2019, 11:00:15 PM
The game is LEGO City Undercover (https://store.steampowered.com/app/578330/)

So i need to disable behavior shield to fix this?
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: igor on June 06, 2019, 11:44:45 PM
I didn't say that - that was just an example.
What exactly is the problem, how does it manifest? The game is crashing or...?
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: Bluscream2 on June 07, 2019, 02:54:49 PM
As you see the game tries to access functions in the DLL but because the DLL is a old version it doesn't have these function and refuses to start
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: bob3160 on June 07, 2019, 03:30:38 PM
As you see the game tries to access functions in the DLL but because the DLL is a old version it doesn't have these function and refuses to start
Why would your game access a dll in an Avast folder ???
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: Bluscream2 on June 07, 2019, 03:44:45 PM
Why would your game access a dll in an Avast folder ???

Don't ask me why, just tell me how i can disable this :) Or i uninstall completely what you don't want
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: bob3160 on June 07, 2019, 03:49:40 PM
Why would your game access a dll in an Avast folder ???

Don't ask me why, just tell me how i can disable this :) Or i uninstall completely what you don't want
I personally don't care what you do. It's your computer. I use the product same as you so I have no stake in what you do either way.
It is still strange that any program would access a dll file in another programs folder.
That dll file should either be contained in it's own folder or, in a common Windows folder.
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: igor on June 07, 2019, 05:22:54 PM
We tried to reproduce the issue, but so far were unable to. I mean, we got the game to crash, but it seems to be crashing without any link to Avast - the DLL in question is not loaded in the process at the moment (and neither before).
Where do those lines in the initial post come from, is it some log of the game itself?

Would you be able to create a Process Monitor (https://docs.microsoft.com/en-us/sysinternals/downloads/procmon) log showing the moment the problem is happening and upload it somewhere so that we can check if we see anything there?
Thanks.
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: Bluscream2 on June 07, 2019, 09:09:38 PM
It is still strange that any program would access a dll file in another programs folder.
That dll file should either be contained in it's own folder or, in a common Windows folder.

From what i've read WinSxS is exactly for that; overriding system DLLs with custom ones.

Anyway thanks for the time and as you could not provide a shield that i need to turn off i'm going to uninstall this now and either search some other AV or depend on windows defender
Title: Re: Avast imprisoning VCRUNTIME DLLs?
Post by: bob3160 on June 07, 2019, 11:07:17 PM
It is still strange that any program would access a dll file in another programs folder.
That dll file should either be contained in it's own folder or, in a common Windows folder.

From what i've read WinSxS is exactly for that; overriding system DLLs with custom ones.

Anyway thanks for the time and as you could not provide a shield that i need to turn off i'm going to uninstall this now and either search some other AV or depend on windows defender
C:\WINDOWS\WinSxS\amd64_avast.vc140.crt_fcc99ee6193ebbca_14.0.27012.0_none_5ca6eb17137337f1\VCRUNTIME140.dll
That is an Avast file not something your game should be using. If it does, there's a problem with the game, not Avast.
It's your computer, you do what you think is best for you. Certainly not something I would do.