ICC client accepts games after program exit

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

Moderators: hgm, Andres Valverde

ICC client accepts games after program exit

Postby jdart » 06 Feb 2016, 16:17

If the chess engine dies or is killed while on ICC, xboard does not disconnect the ICC session. It remains active and can still accept matches, all of which it will forfeit w/o making any moves.

This is a problem because there is a bot on ICC that detects early forfeits and will then block the program from playing rated games. Unblocking it requires an admin to intervene.

I think xboard should drop the ICC network connection if the program dies.

--Jon
User avatar
jdart
 
Posts: 105
Joined: 26 Sep 2004, 21:11
Location: San Jose, CA

Re: ICC client accepts games after program exit

Postby H.G.Muller » 10 Feb 2016, 23:02

As far as I can see from the code XBoard should exit when the engine dies (which should be a reliable way to disconnect!), unless it happens during the first load of the engine. (This would make it switch to -ncp mode.) But it could be that this is delayed by an error popup, to the point where the user closes that popup. So when running unattended the option 'Popup Exit message' (in the General Options dialog) should be unticked. Was this the case?
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: ICC client accepts games after program exit

Postby jdart » 11 Feb 2016, 01:23

I did not have that option unchecked, so it could have been waiting for a dialog (I am always running this unattended). Will try with that option de-selected. Thanks.

--Jon
User avatar
jdart
 
Posts: 105
Joined: 26 Sep 2004, 21:11
Location: San Jose, CA


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 8 guests