[GHC] #4811: Internal error: throwTo: unrecognised why_blocked value

GHC cvs-ghc at haskell.org
Fri Dec 3 11:45:24 CET 2010


#4811: Internal error: throwTo: unrecognised why_blocked value
---------------------------------+------------------------------------------
    Reporter:  mitar             |        Owner:               
        Type:  bug               |       Status:  merge        
    Priority:  high              |    Milestone:  7.0.2        
   Component:  Runtime System    |      Version:  7.1          
    Keywords:                    |     Testcase:               
   Blockedby:                    |   Difficulty:               
          Os:  Unknown/Multiple  |     Blocking:               
Architecture:  Unknown/Multiple  |      Failure:  Runtime crash
---------------------------------+------------------------------------------
Changes (by simonmar):

  * status:  new => merge
  * component:  Compiler => Runtime System
  * priority:  normal => high
  * failure:  None/Unknown => Runtime crash
  * architecture:  x86_64 (amd64) => Unknown/Multiple
  * milestone:  => 7.0.2
  * os:  Linux => Unknown/Multiple


Comment:

 Fixed.  Many thanks for reducing the example, that was immensely helpful
 in tracking down the bug.

 {{{
 Fri Dec  3 09:48:18 GMT 2010  Simon Marlow <marlowsd at gmail.com>
   * handle ThreadMigrating in throwTo() (#4811)
   If a throwTo targets a thread that has just been created with
   forkOnIO, then it is possible the exception strikes while the thread
   is still in the process of migrating.  throwTo() didn't handle this
   case, but it's fairly straightforward.
 }}}

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



More information about the Glasgow-haskell-bugs mailing list