Ticket #6019 (closed bug: fixed)
'threadDelay maxBound' results in 'internal error: select failed'
| Reported by: | shahn | Owned by: | simonmar |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.2 |
| Component: | Runtime System | Version: | 7.4.1 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86_64 (amd64) |
| Type of failure: | Runtime crash | Difficulty: | Unknown |
| Test Case: | rts/7087 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
When compiling and running this program:
import Control.Concurrent main = threadDelay maxBound
, I get a crash and the following error message:
select: Invalid argument
threadDelayMaxBound: internal error: select failed
(GHC version 7.4.1 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
. This doesn't happen in ghci. I compiled with 'ghc FILE.hs'.
Change History
Note: See
TracTickets for help on using
tickets.
