#15158: T8089 failing with ghci, threaded1, threaded2, profthreaded -------------------------------------+------------------------------------- Reporter: alpmestan | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.6.1 Component: libraries/base | Version: 8.5 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: T8089 Blocked By: | Blocking: Related Tickets: #8089, #7325, | Differential Rev(s): Phab:D4700 #15064 | Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"21a9fb5ff3714addf28dbe270af5d10640d89ad9/ghc" 21a9fb5/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="21a9fb5ff3714addf28dbe270af5d10640d89ad9" base/TimerManager: Clamp timer expiration time to maxBound Previously we would allow the expiration time to overflow, which in practice meant that `threadDelay maxBound` we return far earlier than circa 2500 CE. For now we fix this by simply clamping to maxBound. Fixes #15158. Test Plan: Validate, run T8089 Reviewers: simonmar, hvr Reviewed By: simonmar Subscribers: rwbarton, thomie, carter GHC Trac Issues: #15158 Differential Revision: https://phabricator.haskell.org/D4719 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15158#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler