[GHC] #13497: GHC does not use select()/poll() correctly on non-Linux platforms

GHC ghc-devs at haskell.org
Sun Jul 30 22:40:53 UTC 2017


#13497: GHC does not use select()/poll() correctly on non-Linux platforms
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:  8684
 Related Tickets:  #8684, #12912     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nh2):

 Addition to above comment:

 Probably the only time that worked was before commit
 [https://github.com/ghc/ghc/commit/b0316cdb10fbd9eaca7ede28c7bb3eb19f7766bf
 b0316cdb] (#9169) that added the `FD_SETSIZE` check -- in which case it
 probably only worked due to writing to (and likely corrupting) out-of-
 bounds memory beyond the size of the `fd_set`.

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


More information about the ghc-tickets mailing list