[GHC] #10017: signal handlers are invoked multiple times when the threaded rts is used
GHC
ghc-devs at haskell.org
Wed Jan 28 15:30:31 UTC 2015
#10017: signal handlers are invoked multiple times when the threaded rts is used
-------------------------------------+-------------------------------------
Reporter: redneb | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.10.1
Component: Runtime System | Version: 7.10.1-rc1
Resolution: | Keywords:
Operating System: Linux | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: #9423 | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by AndreasVoellmy):
I'm still getting up to speed, but it looks like that offending loop in
`generic_handler` should just be removed. We have to signal to all the
control pipes in `ioManagerDie()` (to solve the issue that led to that
commit), but not in `generic_handler` (it seems). I'll look into it a bit
more to check my understand and run some tests.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10017#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list