Ticket #2928 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

internal error: schedule: invalid what_next field

Reported by: gsan Owned by:
Priority: normal Milestone:
Component: Runtime System Version: 6.10.1
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Test.hs:

import Control.Monad
main = forever $ print $ sum [1 .. 100000]
$ ghc --make Test.hs && ./Test
[1 of 1] Compiling Main             ( Test.hs, Test.o )
Linking Test ...
5000050000
5000050000
5000050000
<snip>
5000050000
5000050000
5000050000
Test: internal error: schedule: invalid what_next field
    (GHC version 6.10.1 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Aborted

This only happens when the program is compiled without optimization or -threaded. The number of iterations (~50) before the error changes slightly and seems not to be affected by -H RTS option.

Change History

Changed 4 years ago by simonmar

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to duplicate

Fixed in 6.10.2: see #2818

Note: See TracTickets for help on using tickets.