#4238: threadWaitRead Segmentation Fault
---------------------------+------------------------------------------------
Reporter: tnarg | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.3
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
Thanks for the report; fixed by:
{{{
Wed Aug 4 18:36:36 BST 2010 Ian Lynagh <[email protected]>
* Test for (fd < 0) before trying to FD_SET it
}}}
You now get an abort, just like you used to with a too-large value:
{{{
e: internal error: awaitEvent: descriptor out of range
(GHC version 6.13.20100804 for x86_64_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4238#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