
#12728: setnumcapabilities001 sometimes fails on Windows -----------------------------------+-------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: high | Milestone: 8.2.1 Component: Runtime System | Version: 8.0.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -----------------------------------+-------------------------------------- Description changed by bgamari: @@ -4,1 +4,5 @@ - is to blame in this particular case. + is to blame in this particular case, + {{{ + setnumcapabilities001.exe: internal error: ASSERTION FAILED: file + rts\Schedule.c, line 1636 + }}} New description: I have seen the `setnumcapabilities001` test fail at least once on Windows ([[https://phabricator.haskell.org/harbormaster/build/14178/?l=0]]). It seems that the assertion `ASSERT(n_idle == 0);` in `Schedule.scheduleDoGC` is to blame in this particular case, {{{ setnumcapabilities001.exe: internal error: ASSERTION FAILED: file rts\Schedule.c, line 1636 }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12728#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler