#4351: internal error: awaitEvent: descriptor out of range
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:               
        Type:  bug       |       Status:  new          
    Priority:  normal    |    Milestone:               
   Component:  Compiler  |      Version:  7.1          
    Keywords:            |     Testcase:               
   Blockedby:            |   Difficulty:               
          Os:  Linux     |     Blocking:               
Architecture:  x86       |      Failure:  Runtime crash
-------------------------+--------------------------------------------------

Comment(by simonmar):

 This is to be expected when not using `-threaded`, because the RTS uses
 `select()` internally which has a fixed limit of 1024 descriptors.
 However, the error shouldn't occur with `-threaded`, because it should be
 using the new IO manager which has no such limit.  Indeed, the
 `awaitEvent` function is not ever called in the `-threaded` RTS, so I'm
 not sure how you go the error.  Could you double-check that you compiled
 with `-threaded` (delete the executable first) and try again?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4351#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to