Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,830
    • Issues 4,830
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 447
    • Merge requests 447
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #16409

Closed
Open
Created Mar 08, 2019 by eightorbit@trac-eightorbit

fresh install crashes

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

Trac metadata
Trac field Value
Version 8.6.3
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown/Multiple
Architecture Unknown/Multiple
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking