#2972: GHCi broken in GHC 6.10.1
------------------------+---------------------------------------------------
    Reporter:  cemeyer  |        Owner:         
        Type:  bug      |       Status:  new    
    Priority:  normal   |    Milestone:  _|_    
   Component:  GHCi     |      Version:  6.10.1 
    Severity:  normal   |   Resolution:         
    Keywords:           |   Difficulty:  Unknown
    Testcase:           |           Os:  Linux  
Architecture:  powerpc  |  
------------------------+---------------------------------------------------
Changes (by wkahl):

 * cc: [email protected] (added)

Comment:

 Running from gdb, I saw it crashing always in libcurses.

 Disabling package terminfo by editing `libraries/terminfo/configure.ac` to
 contain impossible library names (`no-*`)
 for `curses`

 {{{
 AC_CHECK_LIB(no-ncursesw, setupterm, HaveLibCurses=YES;
 LibCurses=ncursesw,
   AC_CHECK_LIB(no-ncurses, setupterm, HaveLibCurses=YES;
 LibCurses=ncurses,
     AC_CHECK_LIB(no-curses, setupterm, HaveLibCurses=YES;
 LibCurses=curses,
       HaveLibCurses=NO; LibCurses=not-installed)))
 }}}

 in ghc-6.10.4 gives me a GHCi that now segfaults at start-up
 only occasionally (instead of always, as before).

 And if it doesn't segfault, it appears to work, and even has command-line
 editing.

 (Silightly less than half the starts segfault, in over 50 attempts.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2972#comment:7>
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