[GHC] #15095: pretty-show's literate haskell Setup.lhs failed on 32-bit windows

#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 Keywords: | Operating System: Windows Architecture: x86 | Type of failure: GHC rejects | valid program Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- On appveyor I had a problem building pretty-show: {{{ -- While building custom Setup.hs for package pretty-show-1.7 using: C:\sr\setup-exe-cache\i386-windows\Cabal- simple_Z6RU0evB_2.2.0.1_ghc-8.4.2.exe --builddir=.stack-work\dist\ba067387 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure (-1073741819) }}} More details at https://github.com/yav/pretty-show/issues/27 . Converting the (otherwise standard) Setup.lhs to a non-literate Setup.hs seemed to fix it. Switching to 64-bit GHC seemed to also fix it (the Setup.lhs worked with 64-bit GHC). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15095 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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: | -------------------------------------+------------------------------------- Changes (by bgamari): * cc: Phyx- (added) Comment: Interesting; this seems to be a very difficult error code to find useful information about. I wasn't even able to find a conclusive description of its meaning in my brief Googling. Phyx, does this look familiar to you? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15095#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#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-): I can't reproduce it, I've seen such reports before for `AppVeyor`. My guess is something is on their environment interfering with `unlit`. I'd need a core dump or memory dump to be able to figure it out. AppVeyor has gdb, so a core dump from gdb or procdump would suffice. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15095#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15095: pretty-show's literate haskell Setup.lhs failed on 32-bit windows -------------------------------------+------------------------------------- Reporter: simonmic | Owner: (none) Type: bug | Status: infoneeded 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: | -------------------------------------+------------------------------------- Changes (by Phyx-): * status: new => infoneeded -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15095#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15095: pretty-show's literate haskell Setup.lhs failed on 32-bit windows -------------------------------------+------------------------------------- Reporter: simonmic | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.2 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: x86 Type of failure: GHC rejects | Test Case: valid program | Blocked By: | Blocking: Related Tickets: #15154 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * status: infoneeded => closed * resolution: => duplicate * related: => #15154 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15095#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC