Data Execution Prevention

Dan Cook

EF5
Joined
Dec 12, 2003
Messages
1,946
Location
Lombard, IL
I'm running Vista Premium. For the last few weeks, the Data Execution Prevention keeps killing many of my programs. It's shut down:

GrlevelX
Firefox
Sony Vegas
TMPGE

I turned off DEP but it keeps killing programs. Some times they work and other times they get shut down. I have no idea what's going on.
 
That's a new one. Are you sure you don't have some sort of a virus that could be doing that?

One thing you could try is turning on DEP to "Turn on DEP for all services except those I select", and then adding the programs to the list of allowed exclusions. I think you just point it to the .exe of the program being run.

Good luck,

James
 
I don't think I have a virus; I've got Avast running daily and it hasn't picked up anything.

I originally added programs to the list but they still got killed off.
 
Hmmm. Seems after googling this that lots of folks have similar problems. When you turned off DEP, did you follow something similar to the following (ie as Administrator):

**************************
Turn DEP Off

If you use Vista for any length of time it will likely be necessary to shut DEP down, at least a once in a while. Here’s how:
  1. To start, you’ll need to run a command prompt with administrative privileges.
    Go to the Start Menu, choose “All Programs”, then click on “Accessories”, and right-click on the “Command Prompt” shortcut, selecting “Run As Administrator”.
  2. Type in the following line to disable Data Execution Prevention (DEP): bcdedit.exe /set {current} nx AlwaysOff
    You can either leave it off, or keep your command prompt open, run your desired setup or other process being killed by DEP, and turn it back on.
  3. To turn it back on, repeat step 1 and type: bcdedit.exe /set {current} nx AlwaysOn
***********************************
The above came from http://www.hybrid6.com/webgeek/2008/10/vista-data-execution-prevention-not-security-feature.php.

Also, even with Avast running, you may want to install and run MalWareBytes to check your system. It picks up a lot of things that antivrius programs do not:

http://www.download.com/Malwarebyte...4572.html?part=dl-10804572&subj=dl&tag=button

James
 
Let's look at what the programs have in common -- video. Did you recently install an updated video driver or anything? What about a Media Player upgrade?

It's possible a corrupt driver or update of sort is causing all of this for you.
 
MBAM is a great utility and one I'd recommend paying for (to get the real time protection). It is a good adjunct for virus protection (but not the same thing).

However, I agree that your problem is probably driver-related. There are lots of free driver scanner/checkers out there, but some of them over-report the problems they find and want you to pay to get the automatic driver updates downloaded. I prefer to use the checker as a way to pinpoint what driver I need to Google and I then find the new driver to install elsewhere myself (for free). YMMV.

Have you used previous versions of Vegas from the one you are using now? What version are you using now?
If the CFHD.dll is your problem, see if you have one located here:
Go to the C:\Program Files\Sony\ folder and find your Vegas installation. There, rename the cfhd.dll to cfhd.dll-OLD. Then, re-open Vegas. Now Vegas will use the system-wide Cineform codec instead of the old and outdated licensed version that comes with Vegas.
 
Last edited by a moderator:
DEP's job is to prevent code from executing outside the memory the system had already allocated to it. A badly written or corrupted device/video driver can do this and kick off DEP.
 
Sure, but I think the point is that you can turn off DEP (for everything) and if you still have the problem, then your problem probably wasn't DEP, right?
 
Sure, but I think the point is that you can turn off DEP (for everything) and if you still have the problem, then your problem probably wasn't DEP, right?

You're right, but what I gathered from the discussion was that Dan didn't completely disable DEP system-wide, rather, it was only turned off for programs he added to the list (which I presume are the same listed here).

So, really, the only thing we really know is that it's not those specific software products causing DEP to kick off.
 
You're right, but what I gathered from the discussion was that Dan didn't completely disable DEP system-wide, rather, it was only turned off for programs he added to the list (which I presume are the same listed here).

So, really, the only thing we really know is that it's not those specific software products causing DEP to kick off.

No I did kill DEP all the way. The only driver I updated recently was the graphics one. I rolled it back but I'm still having problems.
 
Lets go back to basics. How much RAM do you have? Are you running any other programs while you work with Sony Vegas?

Also, you may need to look at defragging your hard drive. This can also lead to crashing problems and video editing programs are particularly sensitive to this. How much hard drive space is available? Other things to consider.
 
Last edited by a moderator:
Given that the problem seems to affect multimedia-related tasks, and disabling DEP for those specific programs didn't resolve it, I'd be inclined to scrutinize the audio and video drivers.

Are there any entries in the Event Viewer log as a result of DEP? That could lend us some clues as to exact culprit.
 
Back
Top