[GHC] #9284: shutdownCapability sometimes loops indefinitely on OSX after forkProcess

GHC ghc-devs at haskell.org
Thu Aug 7 14:51:44 UTC 2014


#9284: shutdownCapability sometimes loops indefinitely on OSX after forkProcess
-------------------------------------+-------------------------------------
              Reporter:  edsko       |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:  #9377
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by edsko):

 Termination of the I/O manager is still broken in the general case;
 Andreas has been working on that and he sent me a patch a few days ago but
 I haven't had a chance to look at it it -- but the problem is that we will
 wait indefinitely for the I/O manager to terminate whenever we do a "safe"
 exit from the RTS (call to `hs_exit` rather than `hs_exit_`).

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


More information about the ghc-tickets mailing list