#4988: Hang in GHCi debugger
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:  simonmar  
        Type:  bug               |       Status:  new       
    Priority:  high              |    Milestone:  7.4.1     
   Component:  GHCi              |      Version:  7.0.1     
    Keywords:                    |     Testcase:  break024  
   Blockedby:                    |   Difficulty:            
          Os:  Unknown/Multiple  |     Blocking:            
Architecture:  Unknown/Multiple  |      Failure:  GHCi crash
---------------------------------+------------------------------------------

Comment(by marlowsd@…):

 commit fa71e6c795489ec267e0d048395c2c52bea6a164
 {{{
 Author: Simon Marlow <marlo...@gmail.com>
 Date:   Wed Aug 31 22:45:01 2011 +0100

     Fix #4988: we were wrongly running exception handlers in the
     maskUninterruptible state instead of ordinary mask, due to a
     misinterpretation of the way the TSO_INTERRUPTIBLE flag works.

     Remarkably this must have been broken for quite some time.  Indeed we
     even had a test that demonstrated the wrong behaviour (conc015a) but
     presumably I didn't look hard enough at the output to notice that it
     was wrong.

  rts/Exception.cmm |   16 +++++++++-------
  1 files changed, 9 insertions(+), 7 deletions(-)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to