Skip to content

GHCi (7.4.0.20111219) sometimes segfaults when reading .ghci

If ~/.ghci is set to load some module when startup, GHCi sometimes raises SEGV. "Sometimes" means that ghci sometimes launched successfully and sometimes not. So please try it more than three times.

Below is the minimal .ghci file to reproduce the problem:

:m Prelude

I use virthualenv package to use GHC-7.4.1RC. I installed it as below:

$ wget http://www.haskell.org/ghc/dist/7.4.1-rc1/ghc-7.4.0.20111219-x86_64-apple-darwin.tar.bz2
$ virthualenv --ghc=/***/***/install/ghc-7.4.0.20111219-x86_64-apple-darwin.tar.bz2

Used virthualenv package is built on GHC 7.0.4.

Trac metadata
Trac field Value
Version 7.3
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