[GHC] #10484: hPutBuf crashes when trying to write a large string to stdout (resource exhausted)

GHC ghc-devs at haskell.org
Thu Feb 25 15:36:44 UTC 2016


#10484: hPutBuf crashes when trying to write a large string to stdout (resource
exhausted)
-------------------------------------+-------------------------------------
        Reporter:  bayloff           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  7.8.3
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bayloff):

 After googling around, it seems that this is not an issue of hPutBuf per
 se, but probably a limitation of the Windows API call that it uses to
 print to the console. See this issue in a Python bug tracker. The reported
 symptoms are exactly the same:

 https://bugs.python.org/issue11395

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


More information about the ghc-tickets mailing list