Heimdall default values under Arena

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

AndrewGrant
Posts: 1960
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Heimdall default values under Arena

Post by AndrewGrant »

Joerg Oster wrote: Fri Nov 01, 2024 1:04 pm
AndrewGrant wrote: Mon Oct 28, 2024 4:32 am There are a number of (bugged) GUIs which attempt to set all params to their defaults on startup. Its very annoying, but won't ever be fixed.
So this looks more like a problem of an empty string as a default option.
Better to use something like "empty" or the name of the eval file as default.
It just requires the engine to handle <empty> or such.

I still view it as a bug, since it is a frivolous setting of options.
tmokonen
Posts: 1363
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: Heimdall default values under Arena

Post by tmokonen »

Joerg Oster wrote: Fri Nov 01, 2024 1:04 pm So this looks more like a problem of an empty string as a default option.
Better to use something like "empty" or the name of the eval file as default.
There is no default option at all for EvalFile

uci
id name Heimdall 1.1.1
id author Nocturn9x (see LICENSE)
option name HClear type button
option name TTClear type button
option name EvalFile type string
option name Ponder type check default false
option name UCI_Chess960 type check default false
option name EnableWeirdTCs type check default false
option name MultiPV type spin default 1 min 1 max 218
option name Threads type spin default 1 min 1 max 1024
option name Hash type spin default 64 min 1 max 33554432
option name MoveOverhead type spin default 0 min 0 max 30000
uciok

Arena plunks the text Unknown Value into a string option if the engine supplies no default option, and the Reset to defaults button is clicked. After Arena sets the option, Heimdall segfaults when trying to open a file named Unknown Value.

segfaults.nim(52) segfaultHandler
Error: unhandled exception: Could not access value because it is nil. [NilAccessDefect]

It's maybe uncouth for Arena to assign Unknown Value to a filename, but it's definitely a bug in Heimdall to segfault just because it was given an invalid file name. I suppose the best solution would be to use the internal net if an invalid file name is given.
User avatar
Graham Banks
Posts: 44890
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Heimdall default values under Arena

Post by Graham Banks »

With ChessGUI, the only engine that has issues sticking to the parameters set is Deep Hiarcs when using more than 1CPU.
gbanksnz at gmail.com