
#15095: pretty-show's literate haskell Setup.lhs failed on 32-bit windows -------------------------------------+------------------------------------- Reporter: simonmic | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86 Type of failure: GHC rejects | Test Case: valid program | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Phyx-): It's the exit code for segfault, it's supposed to be an unsigned number but it's printed as a signed one due to Haskell's `ExitFailure` taking a signed number. the unsigned representation is `0xc0000005`. which is the NTSTATUS code for `STATUS_ACCESS_VIOLATION`. [1] [1] https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel /using-ntstatus-values -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15095#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler