GHCI crashes without error message

Robert van Herk rherk at cs.uu.nl
Wed Apr 27 12:29:36 EDT 2005


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


More information about the Glasgow-haskell-users mailing list