[GHC] #15292: ghc_ticker loops if permission denied on timerfd
GHC
ghc-devs at haskell.org
Tue Jun 19 08:21:04 UTC 2018
#15292: ghc_ticker loops if permission denied on timerfd
---------------------------------------+----------------------------------
Reporter: jon.fairbairn@… | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.2.2
Keywords: | Operating System: Linux
Architecture: x86_64 (amd64) | Type of failure: Runtime crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
---------------------------------------+----------------------------------
Using stack with lts-11.6 to compile a cgi programme, I got something that
runs OK from the command line, but which goes into a busy loop when run
from httpd.
This is caused by selinux preventing read on the timer. Changing the
selunix permissions solves the problems, but ghc-ticker ought to check
whether the read succeeded and not try again if it fails.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15292>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list