[GHC] #14725: memory leak: forkOS not releasing thread local `Task` struct upon end of thread

GHC ghc-devs at haskell.org
Thu Feb 1 04:29:46 UTC 2018


#14725: memory leak: forkOS not releasing thread local `Task` struct upon end of
thread
-------------------------------------+-------------------------------------
        Reporter:  RobertZabel       |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.2.2
      Resolution:                    |             Keywords:  forkOS memory
                                     |  leak
Operating System:  POSIX             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4346
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"382c12d18f3d64e01502a5c8bbc64d4aa4842e3e/ghc"
 382c12d1/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="382c12d18f3d64e01502a5c8bbc64d4aa4842e3e"
 rts: Ensure that forkOS releases Task on termination

 Test Plan: validate

 Reviewers: simonmar, erikd

 Reviewed By: simonmar

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14725

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

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


More information about the ghc-tickets mailing list