#5796: Runtime caught in an infinite loop
---------------------------+------------------------------------------------
 Reporter:  lpsmith        |          Owner:                
     Type:  bug            |         Status:  new           
 Priority:  normal         |      Component:  Runtime System
  Version:  7.4.1-rc1      |       Keywords:                
       Os:  Linux          |   Architecture:  x86_64 (amd64)
  Failure:  Runtime crash  |       Testcase:                
Blockedby:                 |       Blocking:                
  Related:                 |  
---------------------------+------------------------------------------------
 Triggering this bug seems a little fragile;  but the program and method
 I've attached triggers the bug every time for me.   It is minimal-ish, I
 certainly have cut it down a lot,  and it perhaps could be made even
 smaller,  but a lot of seemingly irrelevant changes to the file will fail
 to trigger the bug.

 {{{
 $ cabal configure && cabal build
 $ ./dist/build/deadlock/deadlock
 }}}

 And then edit the file and change the 1 to some other value,  like 2.
 Configurator will reload the file within a second,  and then I see that
 the thread that periodically writes something to standard out stops
 working,  and that CPU usage goes to 100%,  and that I can no longer type
 something in and have the program echo it back to me.

 GHC-7.0.3 has no problem running this program.

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