Data Execution Prevention is Being Dumb

Nov 17, 2005
86
0
0
I have this problem, except explorer.exe turns off as soon as my computer logs on, and if I turn it back on through task manager, then it just gets turned off again. Any other programs I run get shut off as well. Explorer.exe is definitely the culrpit, because if I turn on DEP for everything except for explorer.exe then windows logs on fine. So anyway, I downloaded the suggested program, but I am at a loss as to which extensions I should use trial and error upon to fix my problem as suggested here (method 2).

Any help would be greatly appreciated. :D
 

firewall

Platinum Member
Oct 11, 2001
2,099
0
0
DEP has some potential but from what I have heard, it's implementation in Windows is very shoddy......
 

gsellis

Diamond Member
Dec 4, 2003
6,061
0
0
Actually, something has probably hooked into Explorer and that is causing the error. MS turned it off by default for apps in one of the SP2 betas after the previous incremental release had it on. Turns out, there are a lot of apps that run code from data, or write data in app areas. And a bunch of those are unintentional (read - did not sort out all of the bad pointers during qa).
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
DEP has some potential but from what I have heard, it's implementation in Windows is very shoddy......

You understand how it works, right? The OS simply marks memory pages as executable or not and when something tries to execute a page that's marked non-executable the hardware throws an exception and the OS kills the process. It's not exactly rocket science and 99% of the implementation is in hardware.
 

firewall

Platinum Member
Oct 11, 2001
2,099
0
0
Originally posted by: Nothinman
DEP has some potential but from what I have heard, it's implementation in Windows is very shoddy......

You understand how it works, right? The OS simply marks memory pages as executable or not and when something tries to execute a page that's marked non-executable the hardware throws an exception and the OS kills the process. It's not exactly rocket science and 99% of the implementation is in hardware.

No. I have a contact who made me and a group of friends a customized software. It gave me DEP errors so I contacted him about it. Here's the exact response:

This is actually a bug in Microsoft Windows. Microsoft's DEP
implementation is well-known for accidentally preventing legitimate
programs from running. Here are some steps to white-list this and any
other program you have trouble with:

There are ways to disable NX at application level:
i) "Control Panel" > "System"
ii) Click on the "Advanced" tab
iii) Under "Performance" section, click "Settings"
iv) Click on the "Data Execution Prevention" tab
v) Click "Add" and select the appication you want to disable NX for

Please note that I have not tried this myself, since I do not run a
Microsoft operating system. If you continue to have difficulty,
perhaps you should consider a less buggy operating system.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
No. I have a contact who made me and a group of friends a customized software. It gave me DEP errors so I contacted him about it. Here's the exact response:

He also specifically says "since I do not run a Microsoft operating system." so whys hould you believe him? And since he's not running Windows and you are, I would guess that this custom software was done in Java or Mono, right? If so it makes sense that there would be problems with DEP since Java's byte compiling at runtime can do some weird things.
 

gsellis

Diamond Member
Dec 4, 2003
6,061
0
0
Originally posted by: Nothinman
No. I have a contact who made me and a group of friends a customized software. It gave me DEP errors so I contacted him about it. Here's the exact response:

He also specifically says "since I do not run a Microsoft operating system." so whys hould you believe him? And since he's not running Windows and you are, I would guess that this custom software was done in Java or Mono, right? If so it makes sense that there would be problems with DEP since Java's byte compiling at runtime can do some weird things.

QFT - Developers always like to blame the OS. DEP works as advertised and the app is not. Like I said, MS turned it off on the app layer for a reason. Too many apps are not written correctly. MS has left it on for their stuff OS stuff.

BTW, expect this app to have issues on Vista. MS has told us in communications at WinHEC that it will be on at the app layer when it ships. Subject to change, of course.
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Originally posted by: Nothinman
No. I have a contact who made me and a group of friends a customized software. It gave me DEP errors so I contacted him about it. Here's the exact response:

He also specifically says "since I do not run a Microsoft operating system." so whys hould you believe him? And since he's not running Windows and you are, I would guess that this custom software was done in Java or Mono, right? If so it makes sense that there would be problems with DEP since Java's byte compiling at runtime can do some weird things.

You'd think Sun would call the function to mark the pages as executable :roll:. Their JVM really sucks.
 

gsellis

Diamond Member
Dec 4, 2003
6,061
0
0
Originally posted by: CTho9305
You'd think Sun would call the function to mark the pages as executable :roll:. Their JVM really sucks.
No kinding. I had a dev team kept trying to get us to "fix" the OS and add memory to boxes because the Sun JREs could not run more than 8 hours without leaking all the mem away. They put in 1GB and required a reboot after each shift. Kept telling the dev team to call Sun and tell them to fix their libraries.