Author Topic: Behavior Shield causes hang in Visual Studio 11 Preview x86 compiler  (Read 5320 times)

0 Members and 1 Guest are viewing this topic.

StevenBone

  • Guest
I recently encountered an issue with Behavior Shield (Avast business protection, version 6.0.1345) causing an application to hang.  The application is Microsoft's Visual Studio 11 Preview, running on x64 Windows 7.  If Behavior Shield's "Monitor the system for unauthorized modifications" is enabled, attempting to compile a simple x86 C++ application will hang.  Adding "[PathToVS11]VC\bin\cl.exe" to the trusted process and still having the setting enabled list is one possible workaround.

I reported the issue to Microsoft Connect (https://connect.microsoft.com/VisualStudio/feedback/details/705092/vs11-cl-exe-hangs-using-100-cpu-when-building-via-visual-studio), and the issue is not theirs, but Avast's.  How do I go about submitting an official bug report so this issue in your product can be resolved?

Thanks,
Steve

Edit 12/13/2011: Added SKU and Version of Avast Product
« Last Edit: December 13, 2011, 08:32:02 PM by StevenBone »

Offline lukas.hasik

  • Moderator
  • Advanced Poster
  • *
  • Posts: 931
  • Product manager of Avast Security for Windows
Re: Behavior Shield causes hang in Visual Studio 11 Preview x86 compiler
« Reply #1 on: December 15, 2011, 08:10:26 PM »
Hi, reporting a problem through this forum should be sufficient (if it's not missed). We'll try to reproduce it in our environment. And we'll contact you if there will be some questions (or we'll be unsuccessful)

thank you
Quality is also a feature.

Offline pk

  • Avast team
  • Super Poster
  • *
  • Posts: 2078
Re: Behavior Shield causes hang in Visual Studio 11 Preview x86 compiler
« Reply #2 on: December 20, 2011, 12:36:36 AM »
@StevenBone, do you still have those dumps you uploaded to MS? ...because we were unable to simulate this problem. Thanks.

StevenBone

  • Guest
Re: Behavior Shield causes hang in Visual Studio 11 Preview x86 compiler
« Reply #3 on: December 20, 2011, 01:53:29 AM »
@pk, I did not keep a copy of them, although it is pretty simple to reproduce in our environment. They are quite large, however, around 250 MB zipped if I recall correctly.  Since I have to do it over again, is there another process you would like a dump of?  How can I get them to you?

Thanks,
Steve

Offline lukas.hasik

  • Moderator
  • Advanced Poster
  • *
  • Posts: 931
  • Product manager of Avast Security for Windows
Re: Behavior Shield causes hang in Visual Studio 11 Preview x86 compiler
« Reply #4 on: December 20, 2011, 01:56:06 AM »
when you'll have those dump files upload them to our ftp.avast.com/incoming
It's readonly ftp therefore you won't see the uploaded files (we do ;))

thx
Quality is also a feature.

Offline pk

  • Avast team
  • Super Poster
  • *
  • Posts: 2078
Re: Behavior Shield causes hang in Visual Studio 11 Preview x86 compiler
« Reply #5 on: December 20, 2011, 01:57:49 AM »
One of my co-worker wrote: "I tested this with empty c++ project. Compile was successful."
You can dump cl.exe process only and upload it on our ftp (http://support.avast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=18).
Do you compile the projects only on your local machine, or on multiple computers? Thanks.

StevenBone

  • Guest
Re: Behavior Shield causes hang in Visual Studio 11 Preview x86 compiler
« Reply #6 on: December 20, 2011, 02:27:12 AM »
I uploaded a dump and a sample solution to compile.  If it were a managed C++ solution your coworker created, it does not hang.  Try the one included to make sure the project type is correct.

The file I uploaded is called StevenBone_for_pk_cl.exe_hang.zip.

Currently I am the only one at the workplace using Visual Studio 11, and it is on my machine only.  I had no problems compiling until central IT removed our old AV solution and pushed Avast via Active Directory.

I am also running it at home on my PC using a competitor's antivirus solution (different from old one at work) without issue.

If you need anything else, please ask away!

Steve