[GHC] #14150: Ctrl+C causes GHCi 8.2.1 to "exit" in Windows (which didn't happen in 8.0.2)

GHC ghc-devs at haskell.org
Sun Aug 27 21:32:42 UTC 2017


#14150: Ctrl+C causes GHCi 8.2.1 to "exit" in Windows (which didn't happen in
8.0.2)
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #3081             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by Phyx-):

 * related:   => #3081


Comment:

 These interrupt handlers have been rather flaky but the code hasn't
 changed the 8 years since they were written I think. The runtime will
 immediately kill the process if it receives two ctrl+c after each other. I
 suspect that something with threading is messing up again and handling the
 same event twice.

 But will need to investigate to be sure, but seems related to #3081

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14150#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list