On 16 July 2005 22:13, Brian Smith wrote:

> GHCi fails when Windows XP SP2 "Data Execution Prevention" is enabled.
> This happens on my system with GHCi 6.2.2, 6.5, and CVS HEAD (from two
> weeks ago). Upon failure, the error message that Windows gives is:
>     "To help protected your computer, Windows has closed this
> program." and then:
>     "ghc.exe has encountered a problem and needs to close. We are
> sorry for the inconvenience." Then, the user can choose whether or not
> to send an error report to Microsoft (using the same error-reporting
> mechanism that is used when Internet Explorer crashes.)
> 
> Data Execution Prevention is controlled in the System Properties
> (Control Panel -> System -> Advanced -> Performance -> Settings ->
> Data Execution Prevention). I have mine set to "Turn on DEP for all
> programs and services except...."

I'm pretty sure I know what's causing this, because I just encountered
the same issue with GHCi on x86_64/Linux.  I've fixed it in the HEAD,
and I'll make sure the patch gets merged for 6.4.1.

Thanks for verifying that this does actually happen for real on another
platform - we've been having some difficulty tracking down exactly why
it's been working on OpenBSD which allegedly also disallows exec of
data.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to