zurichess jura - preview release

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

Moderators: hgm, Rebel, chrisw

brtzsnr
Posts: 433
Joined: Fri Jan 16, 2015 4:02 pm

Re: zurichess luzern - preview release

Post by brtzsnr »

Hi, all!

I'm reusing this thread to announce a preview release for the next version of my engine.

darwin http://www.zurichess.xyz/zurichess-master-darwin-amd64
linux http://www.zurichess.xyz/zurichess-master-linux-amd64
windows http://www.zurichess.xyz/zurichess-master-windows-amd64

These binaries are compiled from the latest sources at https://bitbucket.org/zurichess/zurichess/overview

This is not an official release, just a release candidate. In the past some of you helped me identify bugs that are not normally covered by my regular tests. When ready I will follow up with a detailed list of changes and expected Elo gain from the previous version.

Please help me test the new version.
chess1974lover
Posts: 6
Joined: Tue Jun 30, 2015 9:53 am

Re: zurichess luzern - preview release

Post by chess1974lover »

Hi Alexandru,

There seems to be a bug in the Linux/arm build of Zurichess jura:

Code: Select all

pi@rpi2:/usr/local/bin $ ./zurichess
zurichess jura http://www.zurichess.xyz
build with go1.8 at 2017-02-18 08:52:18, running on arm
uci
id name zurichess jura
id author Alexandru Moșoi

option name Hash type spin default 64 min 1 max 65536
option name MultiPV type spin default 1 min 1 max 16
option name Ponder type check default true
option name Skill Level type spin default 0 min 0 max 20
option name UCI_AnalyseMode type check default false
uciok
setoption name Ponder value false
info string main.go:68: unhandled option Ponder
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: zurichess luzern - preview release

Post by cdani »

I tried several hundred games against Andscacs and it worked flawlessly.
brtzsnr
Posts: 433
Joined: Fri Jan 16, 2015 4:02 pm

Re: zurichess luzern - preview release

Post by brtzsnr »

Thanks for downloading and testing.
this option is only needed because the engine might change its time management algorithm when pondering is allowed.
Pondering works as expected and I used heavily during HGM's monthly contests. However from the description of the UCI protocol it's not clear what the behavior of this option should be. I'll check other engines to implement a consistent behavior.
tmokonen
Posts: 1298
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: zurichess luzern - preview release

Post by tmokonen »

The link for the Windows binary is missing the .exe at the end:

http://www.zurichess.xyz/zurichess-mast ... -amd64.exe
User avatar
Werner
Posts: 2873
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: zurichess luzern - preview release

Post by Werner »

When I Setup a Position: the engine crashes

created by main.(*UCI).go_
/uci.go:294 + 0x21a

(message inside CB GUI)
Werner
brtzsnr
Posts: 433
Joined: Fri Jan 16, 2015 4:02 pm

Re: zurichess luzern - preview release

Post by brtzsnr »

Thanks for the report.

What position is this? Does it include "0 1" at the end, i.e. half move counter and full move number? FEN requires them [1], but the panic message may not be obvious.

I crash the engine on invalid positions on purpose because silently ignoring this kind of error leads to corrupt tests. I will improve the error message.

[1] https://en.wikipedia.org/wiki/Forsyth%E ... s_Notation
User avatar
Werner
Posts: 2873
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: zurichess luzern - preview release

Post by Werner »

Thanks,
I Setup the Position inside Chessbase. When I copy the Position to Windows it is

4k3/8/8/8/8/8/4N3/4KB2 w - - 0 1

But the error message says
Position fen 4k3/8/8/8/8/8/4N3/4KB2 w - - 0 0
Werner
brtzsnr
Posts: 433
Joined: Fri Jan 16, 2015 4:02 pm

Re: zurichess luzern - preview release

Post by brtzsnr »

This looks like a bad interaction between Chessbase and Zurichess. Would it be possible to output the full communication, or the full stack trace? uci.go:294 is just go uci.play() and shouldn't crash at all.

Code: Select all

$ go build . && ./zurichess
zurichess luzern http://www.zurichess.xyz
build with go1.8.1 at 2017-05-01 12:28:36, running on amd64
position fen 4k3/8/8/8/8/8/4N3/4KB2 w - - 0 1 
go
info depth 0 seldepth 0 multipv 1 score cp 872 nodes 2 time 0 nps 3050 pv
info depth 1 seldepth 1 multipv 1 score cp 927 nodes 27 time 6 nps 4318 pv e2d4
info depth 2 seldepth 2 multipv 1 score cp 883 nodes 85 time 13 nps 6302 pv e2d4 e8f7
info depth 3 seldepth 3 multipv 1 score cp 924 nodes 556 time 20 nps 26687 pv e2d4 e8f7 e1f2
With Position instead of position

Code: Select all

$ go build . && ./zurichess
zurichess luzern http://www.zurichess.xyz
build with go1.8.1 at 2017-05-01 12:29:04, running on amd64
Position fen 4k3/8/8/8/8/8/4N3/4KB2 w - - 0 1
info string main.go:68: unhandled command Position
User avatar
Werner
Posts: 2873
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: zurichess luzern - preview release

Post by Werner »

Hi,
inside Chessbase I cannot help, but it crashes too inside Shredder GUI.
Here is the Shredder log:

Mon May 1 18:47:42 2017: to zurichess master (0): debug on
Mon May 1 18:47:42 2017: from zurichess master (0): info string main.go:68: unhandled command debug
Mon May 1 18:47:55 2017: to zurichess master (0): ucinewgame
Mon May 1 18:47:55 2017: to zurichess master (0): isready
Mon May 1 18:47:55 2017: from zurichess master (0): readyok
Mon May 1 18:47:55 2017: to zurichess master (0): position fen 4k3/8/8/8/8/8/4N3/4KB2 w - -
Mon May 1 18:47:55 2017: to zurichess master (0): go movestogo 40 wtime 480000 btime 480000
Mon May 1 18:47:55 2017: from zurichess master (0): panic: runtime error: slice bounds out of range
Mon May 1 18:47:55 2017: from zurichess master (0):
Mon May 1 18:47:55 2017: from zurichess master (0): goroutine 1 [running]:
Mon May 1 18:47:55 2017: from zurichess master (0): main.(*UCI).position(0xc04205c480, 0xc04205c3c0, 0x29, 0x8, 0x1)
Mon May 1 18:47:55 2017: from zurichess master (0): /home/mosoi/gocode/src/bitbucket.org/zurichess/zurichess/zurichess/uci.go:211 +0x3eb
Werner