|
3 registered members (VoroneTZ, AndrewAMD, 1 invisible),
5,926
guests, and 0
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Data Execution Protection (DEP) == Big Problem
#337828
08/13/10 19:40
08/13/10 19:40
|
Joined: Jul 2004
Posts: 40 UK
Macro
OP
Newbie
|
OP
Newbie
Joined: Jul 2004
Posts: 40
UK
|
Dear 3DGS Developers,
I have a problem with 3DGS A8 Commercial (8.02) and Data Execution Protection (DEP).
When I try to run .exe files created with the engine on my system (Windows 7 Ultimate 64) they crash on engine load due to DEP being triggered.
I have DEP set to the OptOut mode “Turn on DEP for all programs and services except those I select” to help protect from security threats such as malware.
I have so far recreated this issue on my 64 bit windows 7 system, a friends XP 64 box and a 32bit Windows XP Pro install all on physically separate systems.
To validate that this was not my game code causing the issue or a third party plug-in I created a new minimal test project in WED which also suffers from the issue.
If this is a problem with the underlying engine this represents a significant problem. I acknowledge that there are workarounds namely...
1) Persuade the user to relax their global DEP setting to the OptIn mode “Turn on DEP for essential Windows programs and services only”. 2) Persuade the user to add a specific DEP exception for your game .exe.
The problem with both of these is that they require the user to modify their Windows security settings to run your game and that WILL put people off downloading or running it. The other issue here is that unless you want the users first experience of your game to be an application crash you have to splash all over your website, documentation and loader application that there is a problem with it that requires the user to relax their security if they use the OptOut DEP mode.
I acknowledge that the default setting for DEP on XP, Vista and Windows7 is OptIn mode and that works OK with the engine for the time being. That said... an increasing number of the people I know are switching to OptOut mode and there is no guarantee that the default wont change in the future.
Please can you investigate this issue and let me know what the problem is and when/how it can be addressed.
Many thanks.
MACRO
--Edit -- My apologies I meant to post this in the bug hunt forum and put it here by mistake. Admins please feel free to move it as appropriate.
Last edited by Macro; 08/13/10 19:42.
|
|
|
Re: Data Execution Protection (DEP) == Big Problem
[Re: Macro]
#337829
08/13/10 19:43
08/13/10 19:43
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
Have win7 x64, never touched DEP settings, everything is working fine.(published exes)
3333333333
|
|
|
Re: Data Execution Protection (DEP) == Big Problem
[Re: Macro]
#337885
08/14/10 07:00
08/14/10 07:00
|
Joined: Aug 2000
Posts: 1,141 Baunatal, Germany
Tobias

Moderator
|

Moderator
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
|
I assume that you havent yet got very much experience with Windows security settings, right?  The PC makes a distinction between code and data areas. Data Execution Prevention means that you cant execute whats in data areas. Thats for preventing some virus code from being executed, which is hidden in data files. Well when you write a lite-C script, its also data! This can not be executed when you set up your DEP in a wrong way, thats the simple reason of your problem. You can then only execute executables, such as compiled EXE files. Long story short: Don't tamper with your security settings without knowing the consequences very well. This is also covered in the beginners FAQ, look in your manual or under "Support", so its already answered. I moderate this thread into the beginners forum.
|
|
|
Re: Data Execution Protection (DEP) == Big Problem
[Re: Tobias]
#337887
08/14/10 07:14
08/14/10 07:14
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Uhm, the thing with DEP is that you can mark places as data and others as executable. Your exe is also just some random data that surprisingly does funny things when you double click it.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|