It seems that the problem of the spontanious crash in ghci, without an error message, occurs because I use a wrong buffering strategy on a handle:

When I include the line
hSetBuffering handle LineBuffering
in my program, the program crashes at random moments, without error messages. When I comment it out, it works ok. The handle in the above example is a socket. My program is a web server.


Regards,
Robert
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to