[haskeline] #105: Segfault on getInputLine and getInputChar

haskeline haskeline at projects.haskell.org
Thu Apr 1 17:51:32 EDT 2010

#105: Segfault on getInputLine and getInputChar
Reporter:  syfran    |        Owner:        
    Type:  defect    |       Status:  closed
Priority:  major     |    Milestone:  0.6.2 
 Version:            |   Resolution:  fixed 
Keywords:  segfault  |  
Changes (by judah):

  * status:  new => closed
  * resolution:  => fixed


 Thanks for all your assistance; this should be fixed now.  The issue was a
 C function in the terminfo library which was returning NULL instead of (as
 I expected) an empty null-terminated string.

 I uploaded a new version of the terminfo package to Hackage.  I suggest
 that you run
 cabal update
 cabal install --reinstall terminfo ghci-haskeline
 This will install a "ghci-haskeline" executable which is linked against
 the fixed terminfo package.

 I'm closing this ticket, but please reopen it if you encounter any other

Ticket URL: <http://trac.haskell.org/haskeline/ticket/105#comment:7>
haskeline <http://example.org/>
My example project

More information about the Haskeline mailing list