Skip to content

Segmentation fault with readline Module

Hi,

I have an reproducible "Segmentation fault" with the System.Console.Readline Module in an Project. I could strip down the problem to an little example and reproduce it on any platform I tried.

import System.IO
import System.Console.Readline

main :: IO ()
main = readKey >>= print >> main

I use ghc 6.6 and gcc 4.2.0.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Multiple
Architecture Multiple
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information