[GHC] #10629: threadWaitRead throws BlockedIndefinitelyOnMVar

GHC ghc-devs at haskell.org
Tue Jul 14 08:22:59 UTC 2015


#10629: threadWaitRead throws BlockedIndefinitelyOnMVar
-------------------------------------+-------------------------------------
        Reporter:                    |                   Owner:  simonmar
  facundo.dominguez                  |                  Status:  new
            Type:  bug               |               Milestone:
        Priority:  normal            |                 Version:  7.10.1
       Component:  Runtime System    |                Keywords:
      Resolution:                    |  concurrency sockets
Operating System:  Linux             |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by slyfox):

 stderr is preferred as it shows MVar addresses and thread states on
 each GC cycle (I wonder if it's a logging bug or feature):
 {{{
 all threads:
 threads on capability 0:
 other threads:
         thread    4 @ 0x7f526d10b388 is blocked on an MVar @
 0x7f526d10aa50 (TSO_DIRTY)
         thread    3 @ 0x7f526d105d20 ["TimerManager"] is blocked on an
 external call (TSO_DIRTY)
         thread    2 @ 0x7f526d1058f0 ["IOManager on cap 0"] is blocked on
 an external call (TSO_DIRTY)

 }}}

 I hope to see file descriptor ID/MVar history for thread killed by
 BlockedIndefinitelyOnMVar.
 Human readable thread names are set with '''labelThread'''.

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


More information about the ghc-tickets mailing list