fun with sockets (ghc-5.04.1)
Wed, 19 Mar 2003 15:59:45 +0100
In local.glasgow-haskell-users, you wrote:
>> After processing a random number of connections, the server dies with
>> Fail: invalid argument
>> Action: accept
>> Reason: Invalid argument
> I don't know what's wrong, I'm afraid. Any chance you could supply us
> with a working example that demonstrates the bug?
I was on this for some time and even received an strace from Peter
-- which DIDN'T show EINVAL at all on any accept!
He keeps seeing 'Evacuated object entered' messages on other runs,
so he might be experiencing a more severe problem. Reproducing this
with a recent ghc would be better, I guess...
BTW: There's a tracing primer at
which explains some of the things you might find strange in traces
(ioctl TCGETS anyone?). Not quite finished and open for suggestions...
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine