[GHC] #1011: Ctrl-break hangs with "ghc -e"

GHC trac at galois.com
Sat Nov 18 16:01:09 EST 2006


#1011: Ctrl-break hangs with "ghc -e"
-----------------------------------------+----------------------------------
    Reporter:  jcab at JCABs-Rumblings.com  |       Owner:                        
        Type:  bug                       |      Status:  new                   
    Priority:  normal                    |   Milestone:  6.6.1                 
   Component:  GHCi                      |     Version:  6.6                   
    Severity:  normal                    |    Keywords:  Ctrl-break, hang, ghci
  Difficulty:  Unknown                   |    Testcase:                        
Architecture:  x86                       |          Os:  Windows               
-----------------------------------------+----------------------------------
On Windows XP, if I run this program:

 {{{
 main = do   putStrLn "Hi!"
             main
 }}}

 with "ghc -e Main.main Test.hs", and then press Ctrl-C or Ctrl-Break, it
 will hang instead of terminating. The only recourse at that point is to
 explicitly kill "ghc" from the Task Manager.

 This doesn't happen if I compile the program "ghc --make Test.hs".

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


More information about the Glasgow-haskell-bugs mailing list