Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty 20.0 - Crash on startup - related to .craftyrc settings

Author: Andreas Guettinger

Date: 10:41:11 08/27/05

Go up one level in this thread


On August 27, 2005 at 12:28:18, Roy Brunjes wrote:

>On August 27, 2005 at 12:15:35, Mike Byrne wrote:
>
>>On August 27, 2005 at 11:43:15, Roy Brunjes wrote:
>>
>>>I downloaded and compiled Crafty 20.0 on my Fedora Core 4 Pentium 4 system (used
>>>the default Makefile and just typed "make".
>>>
>>>When I run crafty and my .craftyrc file has the following in it:
>>>
>>>hash 256M
>>>hashp 24M
>>>cache 32M
>>>show book
>>>resign 6
>>>log on
>>># tbpath=/home/roy/chess/TBs
>>># egtb
>>>
>>>When I run crafty I see this:
>>>
>>>[roy@localhost .crafty]$ ./crafty
>>>found computer opening book file [./bookc.bin].
>>>Segmentation fault
>>>
>>>If I delete the .craftyrc file, it works fine.  So, I started commenting out
>>>lines in .craftyrc to see which line might be the problem. It turns out that the
>>>first line (hash 256M) is the culprit. My system has 2 GB of RAM on it and there
>>>is roughly 1.7GB free at the moment ...
>>>
>>>Any ideas on what might be causing this? I would like to run crafty with more
>>>RAM used for hashtables than whatever the defaults might be.
>>>
>>>Thanks,
>>>
>>>Roy
>>
>>please add the line "exit" and then a return..
>>===========================================
>>hash 256M
>>hashp 24M
>>cache 32M
>>show book
>>resign 6
>>log on
>># tbpath=/home/roy/chess/TBs
>># egtb
>>exit
>># blank  space here - hit the return after exit or just leave this line here
>>=================================
>>
>>not sure if this will fix it, but give it a shot...
>
>Thanks for the tip Mike, but it did not fix things.
>
>V19.15 works just fine with this .craftyrc if that might suggest anything to
>someone.
>
>Roy

Which book do you use? The book code has changed, maybe it has sth to do with
that. Try building a new book.

regards




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.