[GHC] #13516: broken pipe when printing infinite list (maybe interrupt handler error?)

GHC ghc-devs at haskell.org
Mon Apr 3 06:45:44 UTC 2017


#13516: broken pipe when printing infinite list (maybe interrupt handler error?)
--------------------------------------+-------------------------------
           Reporter:  Forec           |             Owner:  (none)
               Type:  bug             |            Status:  new
           Priority:  normal          |         Milestone:
          Component:  GHCi            |           Version:  8.0.2
           Keywords:  broken pipe     |  Operating System:  Windows
       Architecture:  x86_64 (amd64)  |   Type of failure:  GHCi crash
          Test Case:                  |        Blocked By:
           Blocking:                  |   Related Tickets:
Differential Rev(s):                  |         Wiki Page:
--------------------------------------+-------------------------------
 {{{#!hs
 shell> ghc -e "mapM print [1..]"
 1
 2
 3
 ...
 44435
 Ctrl^Z
 <interactive>: user interrupt
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.0.2 for x86_64-unknown-mingw32):
         <stdout>: hFlush: resource vanished (Broken pipe)
 }}}

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


More information about the ghc-tickets mailing list