#3936: GHCi Segfault
-------------------------------+--------------------------------------------
    Reporter:  syfran          |       Owner:            
        Type:  bug             |      Status:  new       
    Priority:  normal          |   Component:  GHCi      
     Version:  6.10.4          |    Keywords:            
          Os:  Linux           |    Testcase:            
Architecture:  x86_64 (amd64)  |     Failure:  GHCi crash
-------------------------------+--------------------------------------------
 GHCi segfaults right before the prompt is supposed to appear.
 Not interactive parts of GHC seem to be working fine (ghc and runghc)
 {{{
 syf...@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?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3936>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to