Major bug in ChessGUI 0.185, 0.186, 0.187

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

Moderator: Ras

User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Major bug in ChessGUI 0.185, 0.186, 0.187

Post by Matthias Gemuh »

There is a major bug in ChessGUI versions 0.185, 0.186, 0.187. ! :evil:

When a programmer mistakenly types

Code: Select all

if ((tc->nChoice<0)||(tc->nChoice>0)) tc->nChoice = 0;
instead of

Code: Select all

if ((tc->nChoice<0)||(tc->nChoice>2)) tc->nChoice = 0;
, the consequences can be very devastating.

Time control is then wrongly always fischer.

I will upload ChessGUI 0.188 later today.


Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Major bug in ChessGUI 0.185, 0.186, 0.187

Post by Matthias Gemuh »

Of course, I am sorry for any disasters the bug may have caused.

Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
Graham Banks
Posts: 45333
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Major bug in ChessGUI 0.185, 0.186, 0.187

Post by Graham Banks »

Matthias Gemuh wrote:Of course, I am sorry for any disasters the bug may have caused.

Matthias.
These things can happen. Don't be too discouraged. ChessGUI is a commendable piece of work for a single programmer.

Cheers,
Graham.
gbanksnz at gmail.com
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Major bug in ChessGUI 0.185, 0.186, 0.187

Post by Matthias Gemuh »

Graham Banks wrote:
Matthias Gemuh wrote:Of course, I am sorry for any disasters the bug may have caused.

Matthias.
These things can happen. Don't be too discouraged. ChessGUI is a commendable piece of work for a single programmer.

Cheers,
Graham.
It is the testing that is frustrating.
There are just too many combinations of options to test. :(
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

ChessGUI 0.188 is out there.

Post by Matthias Gemuh »

ChessGUI 0.188 is out there.

- fixed repeated TC bug
- Tournaments with more than 32 cycles (usually gauntlets) will now initialize faster (by postponing some initialisations)
- Options for creating GUI Remis Book now also used to create pgn start positions test suites.


Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de