[GHC] #8804: BlockedIndefinitelyOnMVar thrown for an MVar which is still weakly accessible from another thread

GHC ghc-devs at haskell.org
Thu Feb 20 22:09:00 UTC 2014


#8804: BlockedIndefinitelyOnMVar thrown for an MVar which is still weakly
accessible from another thread
------------------------------------------------+--------------------------
        Reporter:  bholst                       |            Owner:
            Type:  bug                          |  simonmar
        Priority:  normal                       |           Status:  closed
       Component:  Runtime System               |        Milestone:
      Resolution:  invalid                      |          Version:  7.6.3
Operating System:  Unknown/Multiple             |         Keywords:
 Type of failure:  Incorrect result at runtime  |     Architecture:
       Test Case:                               |  Unknown/Multiple
        Blocking:                               |       Difficulty:
                                                |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------
Changes (by simonmar):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is correct: remember that the weak reference is ''weak'', so it
 doesn't keep the `MVar` alive, and hence the thread is also not reachable.

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


More information about the ghc-tickets mailing list