[GHC] #8367: putStrLn and related printing functions don't output to MinTTY properly under Windows

GHC ghc-devs at haskell.org
Fri Sep 27 07:18:07 CEST 2013


#8367: putStrLn and related printing functions don't output to MinTTY properly
under Windows
------------------------------------+---------------------------------
       Reporter:  schyler           |             Owner:
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Runtime System    |           Version:  7.6.3
       Keywords:                    |  Operating System:  Windows
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+---------------------------------
 One place where this glitch can be seen in `cabal update` by it *delaying*
 the term output until the update is finished and the program terminates.
 I've noticed it in several of my personal larger projects too. I think
 what's going on is that nothing is printed to the terminal until the
 program terminates.

 It seems to be intermittent to some degree, and varying the size and
 contents of the program can trigger it. Because of it's indeterminacy I
 can't actually provide a small test case, however, I can provide a program
 which currently does produce the issue.

 https://github.com/kvanberendonck/burrito/blob/ccd8d1fb2bb09251571cf2626314fc09e515ee14/src/Main.hs

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8367>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list