Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Windows and pipes

Author: Sune Fischer

Date: 14:02:42 04/14/04

Go up one level in this thread


On April 14, 2004 at 15:52:12, Dieter Buerssner wrote:

>On April 14, 2004 at 08:08:37, Fabien Letouzey wrote:
>
>>>Same behavior with Yace and Fruit, nothing happens until I press return.
>
>>Quite clearly the behaviour on Windows is too strange for me to think about.
>>I can't help you at all, I am afraid (and can't help myself either in the
>>process).
>
>I think, this is the expected behaviour. stdin is typically line buffered, so it
>will need a return (at least, when typing into the console).

Yes of course, that must be it. :)

>Your suggestion
>about checking the return value of (for example) fgets() is still good, and will
>work in typical situations, where the GUI crashes.

It doesn't seem to work in this case.
I tried to reproduce it with others engines loaded, I "succeded" in doing so
with Crafty, Yace, Fruit and Ruffian, all of them hangs after Arena has been
terminated.

I think I can stop looking for a bug in my engine, it appears to be an abnormal
behavior from Arena. I guess somehow the pipes aren't closed properly.
Bug in windows XP perhaps?

Btw, Fruit use only 33 MB memory when I set the hash to 60 MB.
Is this intended, are you using a power 2 size table?

-S.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.