[GHC] #9722: ghcirun004 intermittently fails with ghc: ioManagerWakeup: write: Bad file descriptor

GHC ghc-devs at haskell.org
Sun Mar 8 23:00:30 UTC 2015


#9722: ghcirun004 intermittently fails with ghc: ioManagerWakeup: write: Bad file
descriptor
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:  simonmar
            Type:  bug               |                  Status:  patch
        Priority:  high              |               Milestone:  7.10.1
       Component:  Runtime System    |                 Version:  7.9
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime crash     |  Unknown/Multiple
      Blocked By:                    |               Test Case:  ghcirun004
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  Phab:D714
-------------------------------------+-------------------------------------

Comment (by thomie):

 Smaller test case (without any cpu loading) for the real bug:
 {{{
 $ cat T9722.hs
 main = return ()

 $ ghc-7.10.0.20150307 -threaded -rtsopts T9722.hs

 $ ./T9722 +RTS -I0.000000001
 T9722: ioManagerWakeup: write: Bad file descriptor
 }}}

 This only happens ~50% of the time, and it doesn't happen with 7.8.4.

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


More information about the ghc-tickets mailing list