#4030: internal error: resurrectThreads: thread blocked in a strange way: 12
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  high              |    Milestone:  6.14.1      
   Component:  Compiler          |      Version:  6.12.2      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4030>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to