[GHC] #15292: ghc_ticker loops if permission denied on timerfd

GHC ghc-devs at haskell.org
Fri Jun 22 19:59:43 UTC 2018


#15292: ghc_ticker loops if permission denied on timerfd
------------------------------------+--------------------------------------
        Reporter:  jon.fairbairn@…  |                Owner:  (none)
            Type:  bug              |               Status:  patch
        Priority:  normal           |            Milestone:  8.8.1
       Component:  Compiler         |              Version:  8.2.2
      Resolution:                   |             Keywords:
Operating System:  Linux            |         Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash    |            Test Case:
      Blocked By:                   |             Blocking:
 Related Tickets:                   |  Differential Rev(s):  Phab:D4875
       Wiki Page:                   |
------------------------------------+--------------------------------------

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

 In [changeset:"c7b1e93b47915a5276dfdb04f09030f5abaed290/ghc" c7b1e93/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="c7b1e93b47915a5276dfdb04f09030f5abaed290"
 rts: Abort if timerfd read fails

 Currently we belch some output to stderr but fail to abort, resulting in
 a busy loop. Fixes #15292.

 Test Plan:
  * Validate
  * try running program under environment without timerfd capabilities;
 ensure we don't busy-loop

 Reviewers: simonmar, erikd

 Reviewed By: simonmar

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #15929

 Differential Revision: https://phabricator.haskell.org/D4875
 }}}

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


More information about the ghc-tickets mailing list