Skip to content

GHCi crashes under Windows Millenium

GHCi fails to launch for me under Windows Millenium. The command:

ghc -v --interactive

produces the following:

   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.6, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Using package config file: C:\GHC\GHC-6.6\package.conf
wired-in package base mapped to base-2.0
wired-in package rts mapped to rts-1.0
wired-in package haskell98 mapped to haskell98-1.0
wired-in package template-haskell mapped to template-haskell-2.0
Hsc static flags: -static
Loading package base ... linking ... done.
*** Parser:
*** Desugar:
*** Simplify:
*** CorePrep:
*** ByteCodeGen:
*** Parser:
*** Desugar:
*** Simplify:
*** CorePrep:
*** ByteCodeGen:

at which point GHCi fails with the generic error message (roughly translated from French):

Ghc provoked an error in GHC.EXE. The program Ghc will now be stopped.
If you continue to encounter problems, try to restart your computer.

Restarting the computer, obviously, didn't help.

I am using GHC 6.6 under Windows Millenium, which was set up using the standalone Windows installer. I can use the compiler from the command line without any problems, but whenever I try to launch GHCi from the Start menu or using "ghc --interactive", I get the above error message. Please note that GHCi v6.4.2 works flawlessly on the same machine (a rather old Pentium III 650 MHz with a modest 128 Mo of RAM, if such things matter).

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