getChar + Ctrl-C on Windows in GHCi breaks
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
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture | Unknown |