#5187: missing deRefTSO in scheduleHandleThreadFinished
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:               
        Type:  bug               |       Status:  new          
    Priority:  highest           |    Milestone:  7.0.4        
   Component:  Runtime System    |      Version:  6.12.3       
    Keywords:                    |     Testcase:               
   Blockedby:                    |   Difficulty:               
          Os:  Unknown/Multiple  |     Blocking:               
Architecture:  Unknown/Multiple  |      Failure:  Runtime crash
---------------------------------+------------------------------------------
 Duncan Coutts reported this one.  ThreadScope was crashing, we think
 because in `scheduleHandleThreadFinished` there ought to be a call to
 `deRefTSO` before

 {{{
           ASSERT(task->incall->tso == t);
 }}}

 (the value of `task->incall->tso is used for real a bit further down).

 This only applies to the 7.0 branch, `deRefTSO` has gone in 7.2 and later.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5187>
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