[GHC] #1922: getChar + Ctrl-C on Windows in GHCi breaks

GHC trac at galois.com
Fri Nov 23 15:12:24 EST 2007


#1922: getChar + Ctrl-C on Windows in GHCi breaks
---------------------+------------------------------------------------------
 Reporter:  guest    |          Owner:         
     Type:  bug      |         Status:  new    
 Priority:  normal   |      Milestone:         
Component:  GHCi     |        Version:  6.8.1  
 Severity:  normal   |       Keywords:         
 Testcase:           |   Architecture:  Unknown
       Os:  Windows  |  
---------------------+------------------------------------------------------
 {{{
 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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1922>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list