Author Topic: file deletion apon execution  (Read 3914 times)

0 Members and 1 Guest are viewing this topic.

eold012

  • Guest
file deletion apon execution
« on: August 08, 2013, 07:06:07 AM »
Hi

I built a simple opengl program with visual studio 2012, but when I run the debug
version of it, it gets deleted and windows reports that it cannot find the file specified.
When I disable avast it runs fine.
What is happening? Avast gives no indication that it is doing anything.

Offline mchain

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 5616
  • Spartan Warrior
Re: file deletion apon execution
« Reply #1 on: August 08, 2013, 07:17:32 AM »
hi eold012,

I think you mean that avast! is blocking execution of the debug program, moving it to avast! quarantine, and then windows can't find the file.  You then restore a backup copy and disable avast! and it runs fine in debug?
Windows 10 Home 64-bit 22H2 Avast Premier Security version 24.1.6099 (build 24.1.88821.762)  UI version 1.0.797
 UI version 1.0.788.  Windows 11 Home 23H2 - Windows 11 Pro 23H2 Avast Premier Security version 24.2.6105 (build 24.1.8918.827) UI version 1.0.801

eold012

  • Guest
Re: file deletion apon execution
« Reply #2 on: August 08, 2013, 07:25:13 AM »
Apparently yes, I checked the virus chest and it had been moved there.
I scanned the file and avast didnt find any viruses (of course), but when I run it
avast keeps moving it to the virus chest.
Is there any way I can stop it from doing this?

eold012

  • Guest
Re: file deletion apon execution
« Reply #3 on: August 08, 2013, 07:41:01 AM »
I added its folder to the file system shields exculsion list and now it runs.
Thanks for your help

Offline mchain

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 5616
  • Spartan Warrior
Re: file deletion apon execution
« Reply #4 on: August 08, 2013, 07:50:17 AM »
NP

I'd be interested to know what Virus Total dot com has to say about your program:  https://www.virustotal.com/en/  or  VirSCAN dot org:  http://r.virscan.org/  or jotti dot org:  http://virusscan.jotti.org/en  Maybe it is the debugger?
Windows 10 Home 64-bit 22H2 Avast Premier Security version 24.1.6099 (build 24.1.88821.762)  UI version 1.0.797
 UI version 1.0.788.  Windows 11 Home 23H2 - Windows 11 Pro 23H2 Avast Premier Security version 24.2.6105 (build 24.1.8918.827) UI version 1.0.801


eold012

  • Guest
Re: file deletion apon execution
« Reply #6 on: August 08, 2013, 08:13:21 AM »
Its a very strange set of circumstances that this happens,
only when compiling in "debug" (against the debug versions of the windows libraries,
and without optimisation) and when linking with http://www.glfw.org/
and http://glew.sourceforge.net/

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re: file deletion apon execution
« Reply #7 on: August 08, 2013, 12:23:00 PM »
Surely avast! doesn't just delete the file for no reason at all and without notifying you. What was the detection name in the virus chest?
Visit my webpage Angry Sheep Blog