[GHC] #9423: shutdownCapability sometimes loops indefinitely on OSX after hs_exit()

GHC ghc-devs at haskell.org
Thu Aug 7 23:27:46 UTC 2014


#9423: shutdownCapability sometimes loops indefinitely on OSX after hs_exit()
-------------------------------------+-------------------------------------
       Reporter:  AndreasVoellmy     |                   Owner:  simonmar
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Runtime System     |                 Version:  7.8.2
       Keywords:                     |        Operating System:  MacOS X
   Architecture:  Unknown/Multiple   |         Type of failure:  Incorrect
     Difficulty:  Unknown            |  result at runtime
     Blocked By:                     |               Test Case:
Related Tickets:  9284               |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 Issue #9284 relates to `forkProcess`, which previously invoked the same
 code that is invoked by `hs_exit` and uncovered this problem. The
 resolution of #9284 is to not invoke the equivalent of `hs_exit` (for
 reasons that you can see in #9284). However, `hs_exit` can be called by
 programs that explicitly create and teardown a Haskell runtime, so the
 problem displayed by #9284 can still occur for those programs.

 The problem has only been observed on OS X, though it probably could occur
 on Linux OSes as well.

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


More information about the ghc-tickets mailing list