Fruit doesn't respond to simple UCI 'go' command

Bug #74764 reported by Robert Ancell
6
Affects Status Importance Assigned to Milestone
fruit (Ubuntu)
Fix Released
Undecided
Samuel Henrique

Bug Description

If the following is sent to Fruit:

uci
isready
ucinewgame
position startpos
go

Fruit does not calculate a move to make because it expects the go command to have arguments, e.g. 'go wtime 30000'. This is because it looks for a string starting with "go " instead of just "go". If that change is made it appears to just do an infinite search. I've attached a patch that allows the simple go command and searches to depth 5 if no arguments are passed to go.

Note this can be tested by just running Fuit and sending the 'go' command (it does not check the UCI state to disallow go commands).

Tags: patch
Revision history for this message
Robert Ancell (robert-ancell) wrote :

This is fruit 2.1.dfsg-1 on Ubuntu Edgy.

Revision history for this message
Robert Ancell (robert-ancell) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

The use case for this:
- A user making a chess interface would expect the simplest case to work
- The UCI specification though poorly worded in this section seems to state that any arguments to 'go' are optional.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for your bug report. I'm confirming this issue for version 2.3 downloaded at http://www.fruitchess.com/ but it should be reported to the developers of the software.

Changed in fruit:
status: New → Confirmed
Changed in fruit (Ubuntu):
assignee: nobody → Oliver Korff (ok-linuxchess)
Revision history for this message
Oliver Korff (ok-linuxchess) wrote :

The patch is included in the new debian version of fruit 2.1.dfsg-5.

Oliver

Changed in fruit (Ubuntu):
status: Confirmed → In Progress
Changed in fruit (Ubuntu):
assignee: Oliver Korff (ok-linuxchess) → Samuel Henrique (samueloph)
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.