[haskeline] #133: haskeline segfaults when used in ghci

haskeline haskeline at projects.haskell.org
Tue Jun 17 05:46:41 BST 2014


#133: haskeline segfaults when used in ghci
--------------------+-------------------------------------------------------
Reporter:  mvanier  |        Owner:     
    Type:  defect   |       Status:  new
Priority:  major    |    Milestone:     
 Version:           |   Resolution:     
Keywords:           |  
--------------------+-------------------------------------------------------

Comment(by mvanier):

 Actually, I found an even simpler example:

 Prelude> import System.Console.Haskeline
 Prelude System.Console.Haskeline> runInputT defaultSettings (getInputLine
 "> ")
 Loading package filepath-1.3.0.2 ... linking ... done.
 Loading package array-0.5.0.0 ... linking ... done.
 Loading package deepseq-1.3.0.2 ... linking ... done.
 Loading package old-locale-1.0.0.6 ... linking ... done.
 Loading package time-1.4.2 ... linking ... done.
 Loading package bytestring-0.10.4.0 ... linking ... done.
 Loading package unix-2.7.0.1 ... linking ... done.
 Loading package directory-1.2.1.0 ... linking ... done.
 Loading package containers-0.5.5.1 ... linking ... done.
 Loading package terminfo-0.4.0.0 ... linking ... done.
 Loading package transformers-0.4.1.0 ... linking ... done.
 Loading package haskeline-0.7.1.3 ... linking ... done.
 > asdfsdsa [followed by segfault]

 Also, I now see that entering characters slowly doesn't prevent it from
 segfaulting.  This is (as you can see) with haskeline-0.7.1.3.  All
 libraries have been installed via cabal.

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


More information about the Haskeline mailing list