[GHC] #14503: Killing a thread will block if there is another process reading from a handle

GHC ghc-devs at haskell.org
Wed Nov 29 16:59:53 UTC 2017


#14503: Killing a thread will block if there is another process reading from a
handle
-------------------------------------+-------------------------------------
        Reporter:  dnadales          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  libraries/base    |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

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


Comment:

 Reopening as the reporter still sees this in 8.2.1.

 > How did you launch the two processes? On a Unix like terminal emulator?
 (I've tried on MINGW64, but there it is even worse since I don't see any
 output). In my case I was using Windows Power Shell, but I get the same
 result in the old Windows Command Prompt.

 Yes, in a mingw64 msys2 environment under `bash`.

 > And regarding the tests, isn't it possible to include the example you
 posted above as an integration test for the `Control.Concurrent` library?

 We could propose that it be added to `async`, but that won't help catch if
 GHC regresses.

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


More information about the ghc-tickets mailing list