[GHC] #16409: fresh install crashes

#16409: fresh install crashes -------------------------------------+------------------------------------- Reporter: eightorbit | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: GHCi | Version: 8.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Installing GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- A fresh install on windows 10 enterprise using: HaskellPlatform-8.6.3-core-x86_64-setup.exe run as administrator crashes every time I try to start with this error (from powershell): {{{ PS C:\Users\rburgess> ghci -v GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help Glasgow Haskell Compiler, Version 8.6.3, stage 2 booted by GHC version 8.4.3 Using binary package database: C:\Program Files\Haskell Platform\8.6.3\lib\package.conf.d\package.cache package flags [] loading package database C:\Program Files\Haskell Platform\8.6.3\lib\package.conf.d wired-in package ghc-prim mapped to ghc-prim-0.5.3 wired-in package integer-gmp mapped to integer-gmp-1.0.2.0 wired-in package base mapped to base-4.12.0.0 wired-in package rts mapped to rts wired-in package template-haskell mapped to template-haskell-2.14.0.0 wired-in package ghc mapped to ghc-8.6.3 package flags [] loading package database C:\Program Files\Haskell Platform\8.6.3\lib\package.conf.d wired-in package ghc-prim mapped to ghc-prim-0.5.3 wired-in package integer-gmp mapped to integer-gmp-1.0.2.0 wired-in package base mapped to base-4.12.0.0 wired-in package rts mapped to rts-1.0 wired-in package template-haskell mapped to template-haskell-2.14.0.0 wired-in package ghc mapped to ghc-8.6.3 *** Parser [source]: !!! Parser [source]: finished in 0.00 milliseconds, allocated 0.184 megabytes *** Desugar: *** Simplify [expr]: !!! Simplify [expr]: finished in 0.00 milliseconds, allocated 0.125 megabytes *** CorePrep [expr]: !!! CorePrep [expr]: finished in 0.00 milliseconds, allocated 1.860 megabytes *** ByteCodeGen [Ghci1]: !!! ByteCodeGen [Ghci1]: finished in 0.00 milliseconds, allocated 0.135 megabytes *** gcc: "C:\Program Files\Haskell Platform\8.6.3\lib\../mingw/bin/gcc.exe" "-fno- stack-protector" "-DTABLES_NEXT_TO_CODE" "--print-search-dirs" Loading package ghc-prim-0.5.3 ... linking ... ghc.exe: internal error: IMAGE_REL_AMD64_ADDR32[NB]: High bits are set in 1d6004c2659 for ghczmprim_GHCziTypes_ZMZN_closure (GHC version 8.6.3 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} =================================================================== Trying to run ghci and winghci also crashes, but no error. This is a company computer and I don't have admin rights, so I can't try and reinstall very easily. I seem to recall the installation trying to put something in the admin's local directory but we changed this to my local directory. I googled around and only found similar things with compiling. For fun I tried: {{{ PS C:\Users\rburgess> ghci -fexternal-interpreter GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help ghc-iserv: internal error: IMAGE_REL_AMD64_ADDR32[NB]: High bits are set in 24d38172659 for ghczmprim_GHCziTypes_ZMZN_closure (GHC version 8.6.3 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} Any help appreciated. It was hard enough to get this approved, I don't want to get some admin back unless a resolution is very likely. I use this as an argument to get them to let me run linux on my computer where I've never had a problem with ghci. :) But if I'm going to sell them on haskell, it would be nice to get it working locally. Let me know if you need other info or try non-admin things. Thanks! --rob -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16409 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16409: fresh install crashes -------------------------------------+------------------------------------- Reporter: eightorbit | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: GHCi | Version: 8.6.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 Type of failure: Installing GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by eightorbit): * os: Unknown/Multiple => Windows * architecture: Unknown/Multiple => x86_64 (amd64) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16409#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16409: fresh install crashes -------------------------------------+------------------------------------- Reporter: eightorbit | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: GHCi | Version: 8.6.3 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 Type of failure: Installing GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): This looks like a duplicate of #14576. I strongly suspect, although am not certain, that this was fixed in 8.6.4. You should be able to install this from the [[http://downloads.haskell.org/~ghc/8.6.4/|bare binary distribution]] without Administrator privileges (just extract the tarball into a directory and use `ghc` from there). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16409#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC