[GHC] #9266: getDirectoryContents blow its stack in a huge directory

GHC ghc-devs at haskell.org
Thu Feb 12 16:04:11 UTC 2015


#9266: getDirectoryContents blow its stack in a huge directory
-------------------------------------+-------------------------------------
        Reporter:  joeyhess          |                   Owner:  ekmett
            Type:  bug               |                  Status:  upstream
        Priority:  normal            |               Milestone:
       Component:  Core Libraries    |                 Version:  7.6.2
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by snoyberg):

 For the record, recent versions of conduit-extra provide a proper
 streaming solution, e.g.:

 http://hackage.haskell.org/package/conduit-extra-1.1.6.2/docs/src/Data-
 Conduit-Filesystem.html#sourceDirectory

 This is based on non-conduit-specific code available in streaming-commons:

 http://hackage.haskell.org/package/streaming-commons-0.1.9.1/docs/Data-
 Streaming-Filesystem.html

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


More information about the ghc-tickets mailing list