[GHC] #4362: error in multithreaded program "epollControl: does not exist (No such file or directory)"

GHC cvs-ghc at haskell.org
Fri Dec 3 06:21:56 CET 2010


#4362: error in multithreaded program "epollControl: does not exist (No such file
or directory)"
------------------------------------------+---------------------------------
  Reporter:  guest                        |          Owner:        
      Type:  bug                          |         Status:  closed
  Priority:  normal                       |      Milestone:  7.0.2 
 Component:  libraries/base               |        Version:  7.1   
Resolution:  invalid                      |       Keywords:        
  Testcase:                               |      Blockedby:        
Difficulty:                               |             Os:  Linux 
  Blocking:                               |   Architecture:  x86   
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by bos):

  * status:  infoneeded => closed
  * resolution:  => invalid


Comment:

 Guys, this isn't related to GHC at all. I ran it under {{{strace}}}, and
 it's obvious that either the application or the {{{http-enumerator}}}
 library is at fault. I see activities like this:

 {{{
 12306 recvfrom(17, "1000\r\n><div id=ghe"..., 32752, 0, NULL, NULL) = 1418
 12306 close(17)                         = 0

 12306 recvfrom(17,  <unfinished ...>

 12306 <... recvfrom resumed> 0x7fb0c64a0010, 4096, 0, 0, 0) = -1 EBADF
 (Bad file descriptor)
 }}}

 See what's happening there? Something is closing the file descriptor, then
 attempting to receive more data on it, and you're getting exactly the
 error you'd expect.

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



More information about the Glasgow-haskell-bugs mailing list