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

GHC ghc-devs at haskell.org
Fri Oct 31 13:01:02 UTC 2014


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

Comment (by simonpj):

 Does anyone have a clue what is going on here?  I regularly get a batch of
 failures
 {{{
 Unexpected failures:
    ffi/should_run           ffi018_ghci [bad stdout or stderr] (ghci)
    ghci/should_run          T2589 [bad stdout or stderr] (ghci)
    ghci/should_run          ghcirun001 [bad stdout or stderr] (ghci)
    ghci/should_run          ghcirun002 [bad exit code] (ghci)
    ghci/should_run          ghcirun003 [bad stdout or stderr] (ghci)
    ghci/should_run          ghcirun004 [bad stdout or stderr] (ghci)
 }}}
 all of which are this `ioManagerWakeup:write: Bad file descriptor` thing.

 What is `ioManagerWakeup`? Who calls it?  Why?  What does it mean to have
 a bad file descriptor?

 It's bad because I can't get a clean validate these days.

 Incidentally
 {{{
 make TEST=ghcirun001
 }}}
 works fine!

 Simon

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


More information about the ghc-tickets mailing list