#7528: Non terminating thunk resolution blocks world, even in the case of forkOS
----------------------------------------+-----------------------------------
Reporter:  timthelion                   |          Owner:                       
  
    Type:  bug                          |         Status:  new                  
  
Priority:  normal                       |      Component:  Runtime System       
  
 Version:  7.4.2                        |       Keywords:  forkOS Concurrent 
thunk
      Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple     
  
 Failure:  Incorrect result at runtime  |      Blockedby:                       
  
Blocking:                               |        Related:                       
  
----------------------------------------+-----------------------------------
Changes (by Yuras):

 * cc: shumovichy@… (added)
  * architecture:  x86_64 (amd64) => Unknown/Multiple


Comment:

 Seems to be a duplicate of #367: you have a loop without allocations and
 the scheduler doesn't have chance to reschedule the thread.

 I can reproduce it with the HEAD with "-O0". With "-O1" it works ok for
 me.
 It works with "-O0 -fno-omit-yields" too.

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