
#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