[Haskell-cafe] Posix IO & Unicode lookup exception
mark.lentczner at gmail.com
Sun May 1 20:10:47 CEST 2011
My guess is that you are closing the file descriptor out from under the
handle. It is probably the handle that has the open iconv connection, and
since it is never closed, you run out of memory.
Why not just interact with the handle? Use hPutStr instead of fdWrite, and
hClose instead of closeFd.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe