[GHC] #14538: forkprocess01 fails occassionally on with multiple ACQUIRE_LOCK panic

GHC ghc-devs at haskell.org
Fri Mar 2 16:16:58 UTC 2018


#14538: forkprocess01 fails occassionally on with multiple ACQUIRE_LOCK panic
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:
       Component:  Runtime System    |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #1391, #9295,     |  Differential Rev(s):  Phab:D4460
  #9296, #14431                      |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"e261b8523eb547b93b8b9e194bc2566350e7cc60/ghc"
 e261b852/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e261b8523eb547b93b8b9e194bc2566350e7cc60"
 forkProcess: fix task mutex release order

 `all_tasks_mutex` should be released before calling `releaseCapability_`
 in the parent process as `releaseCapability_` spawns worker tasks in
 some cases.

 Reviewers: bgamari, erikd, simonmar

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14538

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

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


More information about the ghc-tickets mailing list