#5381: internal error: MVAR_CLEAN on mutable list
--------------------------------+-------------------------------------------
    Reporter:  MikolajKonarski  |        Owner:               
        Type:  bug              |       Status:  new          
    Priority:  normal           |    Milestone:               
   Component:  Compiler         |      Version:  7.3          
    Keywords:  MVAR_CLEAN       |     Testcase:               
   Blockedby:                   |   Difficulty:               
          Os:  Linux            |     Blocking:               
Architecture:  x86_64 (amd64)   |      Failure:  Runtime crash
--------------------------------+-------------------------------------------

Comment(by MikolajKonarski):

 JaffaCake: to avoid messing up the terminal when the crash happens, change
 the line

 display area = D.display area . fst

 to

 display area _ a1 a2 a3 = D.startup (\ vty -> D.display area vty a1 a2 a3
 >> D.shutdown vty)

 in src/Display.hs in the Allure source code. Then press the dot key
 repeatedly, as before. Works for me, though it can crash your whole
 terminal emulator under right conditions, I'm sure.

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