Ticket #4030 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

internal error: resurrectThreads: thread blocked in a strange way: 12

Reported by: igloo Owned by:
Priority: high Milestone: 7.0.1
Component: Compiler Version: 6.12.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

With 6.13.20100428:

w.hs:

module Main where

import Control.Concurrent ( forkIO, killThread )
import Control.Exception  ( block )

main :: IO ()
main = do tid <- block $ forkIO $ let x = x in x
          killThread tid
$ ghc --make -O w -threaded -fforce-recomp
[1 of 1] Compiling Main             ( w.hs, w.o )
Linking w ...
$ ./w
w: internal error: resurrectThreads: thread blocked in a strange way: 12
    (GHC version 6.13.20100428 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
zsh: abort      ./w

Change History

Changed 3 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

Fixed:

Wed May  5 10:45:34 BST 2010  Simon Marlow <marlowsd@gmail.com>
  * BlockedOnMsgThrowTo is possible in resurrectThreads (#4030)
Note: See TracTickets for help on using tickets.