GHCi Segfault
GHCi segfaults right before the prompt is supposed to appear. Not interactive parts of GHC seem to be working fine (ghc and runghc)
syfran@ninjaTux ~ $ ghci
GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Segmentation fault
$ ghci Main.hs
GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main ( Main.hs, interpreted )
Ok, modules loaded: Main.
Segmentation fault
where Main.hs contains
main = print "Hello World"
I currently have 6.10.4 installed but it also occurs in 6.12. 6.8 does not seem to have this problem
Possibly related, darcs will also segfault when it comes to a part that needs to prompt.
Could this be a problem in a common library that they share?
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |