[GHC] #11508: QuickCheck application hangs with concurrent read/write of Chan

GHC ghc-devs at haskell.org
Tue Feb 2 21:03:18 UTC 2016


#11508: QuickCheck application hangs with concurrent read/write of Chan
-------------------------------------+-------------------------------------
        Reporter:  orion             |                Owner:
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 I had a quick look at the testcase. Judging from the eventlog it appears
 that there are a few threads blocking:

  * one thread blocking on a `MVar`
  * another blocking on an STM retry

 Finally, we also have foreign calls involved due to the `ByteString`
 usage.
 Sadly `-fno-omit-yields` doesn't seem to help.

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


More information about the ghc-tickets mailing list