Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How stable is stable enough for you?

Author: Matthias Gemuh

Date: 12:06:41 07/24/03

Go up one level in this thread


On July 24, 2003 at 13:57:40, Russell Reagan wrote:

>On July 24, 2003 at 13:19:24, Matthias Gemuh wrote:
>
>>When Windows crashes and files are open, they may not have correct file
>>lengths, so Windows truncates to what it thinks reasonable after reboot,
>>losing data from even closed files.
>>The open files may not have been opened by your engine.
>>Many users have some utilities running at same time with chess engine
>>(my task list is quite full of such), and these may have open files.
>>Have you never seen Windows truncate files after hanging and reboot?
>
>One thing you could do is implement specialized assert statements that save
>everything to a file before it crashes. I've seen this done before and I was
>quite suprised. I got a message that said, "This program is about to crash,
>would you like to save your file now?" Of course, this would mean you would have
>an idea of where the error was occuring, so this might not help at all in your
>situation.



Hi Russel,
you miss the point a bit :). I was talking of situations where your engine
crashes but the open files are those of unrelated utilities, caught unawares.
Asserting in your engine will not close the files of the utilities before the
delayed crash.
Greetings to King Solomon,
/Matthias.










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.