[haskeline] #105: Segfault on getInputLine and getInputChar

haskeline haskeline at projects.haskell.org
Thu Apr 1 12:39:43 EDT 2010

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

 Sorry for the delay in reply.  That information was very helpful in
 narrowing things down.  One more question:  For the first program (using
 `getInputLine`) which you have listed in the description, what happens if
 you run it as follows (e.g. if you compiled it as Test.hs)?
 cat | ./Test

 If that actually works, then there's only a few possible causes of the
 segfault.  I'll put together a short program which replicates Haskeline's
 initialization steps with better debugging information; that should allow
 us to find the problem.

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

More information about the Haskeline mailing list