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

GHC ghc-devs at haskell.org
Sun Mar 27 23:12:53 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 erikd):

 My first try at reproducing this hang failed because I didn't read the
 ticket. The secret is configuring with `-fbad` as follows:

 {{{
 $ cabal configure --enable-tests -fbad
 }}}

 With that I got the hang reported by @orion.

 I then added `-threaded` to the cabal files `ghc-options` line for the
 `properties` target and now it no longer hangs.

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


More information about the ghc-tickets mailing list