[GHC] #12038: Shutdown interacts badly with requestSync()

GHC ghc-devs at haskell.org
Fri Jan 6 03:45:02 UTC 2017


#12038: Shutdown interacts badly with requestSync()
-------------------------------------+-------------------------------------
        Reporter:  simonmar          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Runtime System    |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 I scattered a few `HasCallStacks` about and let it run again and saw the
 following failure,
 {{{
 setnumcapabilities001: sendWakeup CallStack (from HasCallStack):
   sendWakeup, called at libraries/base/GHC/Event/TimerManager.hs:205:19 in
 base:GHC.Event.TimerManager
   wakeManager, called at libraries/base/GHC/Event/TimerManager.hs:223:7 in
 base:GHC.Event.TimerManager
   registerTimeout, called at libraries/base/GHC/Event/Thread.hs:59:10 in
 base:GHC.Event.Thread: invalid argument (Bad file descriptor)
 }}}

 The last frame of the callstack corresponds to the `registerTimeout` in
 `threadDelay`.

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


More information about the ghc-tickets mailing list