[Haskell-cafe] Posix IO & Unicode lookup exception

Mark Lentczner 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.

- Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110501/8ed111fd/attachment.htm>

More information about the Haskell-Cafe mailing list