id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
1922,getChar + Ctrl-C on Windows in GHCi breaks,guest,igloo,"{{{
C:\Documents and Settings\Admin>ghci
GHCi, version 6.8.1: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> getChar
<interactive>: exception :: GhcException
}}}

After getChar, I pressed Ctrl+C, which prints the message about exception. After this the program becomes entirely unresponsive to any keys, including Ctrl+C.

I ran into this bug attempting to create a minimal test case for a bug where pressing Ctrl+C while at a getChar results in:

{{{
*: internal error: stg_ap_pv_ret
    (GHC version 6.8.1 for i386_unknown_mingw32)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
}}}

Unfortunately I have no minimal test case for the latter bug, it is unreliable to duplicate, and the dependency list is sufficiently massive that it takes me a couple of hours to get everything installed and ready. They are possibly related.

WindowsXP, standard Windows shell, GHC 6.8.1.


-- Neil
",merge,closed,normal,6.8.3,GHCi,6.8.1,fixed,,,Windows,Unknown/Multiple,,Unknown,,,,
