#1320: FAQ item for running GHCi on WinXP x64 using DEP
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: task | Status: new
Priority: low | Milestone:
Component: GHCi | Version: 6.6.1
Severity: normal | Keywords: DEP, XP, x64, amd64, windows
Difficulty: Unknown | Os: Windows
Testcase: | Architecture: x86_64 (amd64)
----------------------+-----------------------------------------------------
Hi,
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
([EMAIL PROTECTED])
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1320>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs