FAQ item for running GHCi on WinXP x64 using DEP
|Reported by:||guest||Owned by:|
|Keywords:||DEP, XP, x64, amd64, windows||Cc:|
|Operating System:||Windows||Architecture:||x86_64 (amd64)|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
I don't know if this is a bug or not, but here is what I have witnessed:
In order to get ghci to run on Windows XP x64, I needed to add ghci.exe to the "data execution prevention" exception list. Before making this exception, running ghci.exe would pop open my debugger with an access violation.
Data Execution Prevention restricts the OS from executing any code that has been marked in memory as 'data'. I presume that the interpreter is taking in some strings, doing some processing on that data; then treating it as executable code and trying to run it. That sounds like a reasonable thing to do, and I don't know if there is a way to prevent it from triggering DEP.
If this isn't a bug, perhaps you will consider this exception as a FAQ entry.
-- Chris Messer