Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty Book Crashes

Author: Dieter Buerssner

Date: 13:34:31 04/23/02

Go up one level in this thread


On April 23, 2002 at 13:53:38, Robert Hyatt wrote:

>On April 23, 2002 at 13:03:47, Jerry Jones wrote:
>
>>When I disable Book.bin by renaming it to Book.bin0, Crafty runs fine even
>>without book. But when it uses Book.bin, Winboard crashes immediately :
>>"Program was excited unexpectedly" .

>This is not a header issue...  The only thing that will make it crash and
>burn is a corrupted book.bin file.  There are indices on the front that will
>wreck things if they become corrupted...  or if the file becomes truncated
>due to insufficient disk space when copying it or building it...

Perhaps Jerry did not mean a real crash, but just the engine not working under
WB. I had a similar problem. When trying to open the opening book, and failing,
I printed an error message from strerror(). This was typically "Could not open
dbbook.bin: No such file or directory". No real problem, but when Winboard saw
the "No such file ..." it refused to use the engine with the above mentioned
message. Perhaps it depends on the version of WB. I reported this to Tim Mann,
and perhaps he has done something about it. My solution was, to print "WB does
not like my error message" instead of the strerror output ...

All this from memory, and the strerror message and or the message of WB may have
been different.

Regards,
Dieter


Regards,
Dieter



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.