[GHC] #10241: BlockedIndefinitelyOnMVar thrown to the thread which is not blocked indefinitely

GHC ghc-devs at haskell.org
Mon Apr 30 12:20:08 UTC 2018


#10241: BlockedIndefinitelyOnMVar thrown to the thread which is not blocked
indefinitely
-------------------------------------+-------------------------------------
        Reporter:  asukamirai        |                Owner:  simonmar
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  7.8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10793            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 > I think fixing this may be easy; instead of resurrecting all unreachable
 threads at once, we resurrect one from the list, then continue with the
 scavenge loop. I'll try this once my tree builds.

 This fix works: Phab:D4644. I'll now try to validate to see if it breaks
 anything.

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


More information about the ghc-tickets mailing list