engine crashe -- global hash setting

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

engine crashe -- global hash setting

Postby Eric Mullins » 19 Aug 2016, 19:05

I set up xboard to use stockfish, and global hash of 2048 (2 gig).

Trying to add engines like fruit, they crashed. it's because they don't support that hash size. Perhaps xboard should notice the maximum and never try to set more than that?
Eric Mullins
 
Posts: 47
Joined: 28 Aug 2008, 04:54
Location: Albuquerque, NM

Re: engine crashe -- global hash setting

Postby H.G.Muller » 21 Aug 2016, 08:16

In WB protocol the engine doesnot specify a maximum that could be noticed, and the setting sent to the engine just defines a maximum that the engine can always reduce as it sees fit. So this must be a Polyglot problem.

In the Polyglot source (xboard2uci.c), however, I find the lines

Code: Select all
      opt=option_find(Uci->option,"Hash");
      if(opt && real_memory > atoi(opt->max)) real_memory = atoi(opt->max); // [HGM] top off

So this should already be taken care of.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: engine crashe -- global hash setting

Postby Eric Mullins » 21 Aug 2016, 18:39

I don't see that code in my polyglot version. So it looks like I"m experiencing a bug you fixed some time ago.

Didin't realize xboard couldn't know the max size. Yeah, sounds like a polyglot issue.
Eric Mullins
 
Posts: 47
Joined: 28 Aug 2008, 04:54
Location: Albuquerque, NM

Re: engine crashe -- global hash setting

Postby H.G.Muller » 21 Aug 2016, 21:57

This is from version 2.0.3, which I currently bundle with WinBoard.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 6 guests