[GHC] #4162: GHC API messes up signal handlers

GHC ghc-devs at haskell.org
Wed Nov 2 20:14:47 UTC 2016


#4162: GHC API messes up signal handlers
-------------------------------------+-------------------------------------
        Reporter:  jcpetruzza        |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  low               |            Milestone:
       Component:  GHC API           |              Version:  6.12.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  phab:D2633
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"8a5960ad874d31fcf631b4d427ccd9fae571745c/ghc"
 8a5960ad/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="8a5960ad874d31fcf631b4d427ccd9fae571745c"
 Uninstall signal handlers

 GHC installs signal handlers in runGhc/runGhcT to handle ^C but it
 never uninstalls them.
 It can be an issue, especially when using GHC as a library.

 Test Plan: validate

 Reviewers: bgamari, erikd, austin, simonmar

 Reviewed By: bgamari, simonmar

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D2633

 GHC Trac Issues: #4162
 }}}

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


More information about the ghc-tickets mailing list