Terminating the ChessGUI project.

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
Matthias Gemuh
Posts: 3238
Joined: Thu Mar 09, 2006 8:10 am
Contact:

Terminating the ChessGUI project.

Post by Matthias Gemuh » Fri Aug 27, 2010 5:20 am

Terminating the ChessGUI project.

There's nothing as bad as a buggy GUI.
I have not been able to account for time forfeits under Windows 64-Bit. Furthermore, ChessGUI has crashed 3 times in just a few days in Martin Thoresen's tournament. If I cannot figure out the cause of the crashes, it makes no sense to continue with the ChessGUI project.
If the project must end here, I shall update ChessGUI one last time.

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

User avatar
Graham Banks
Posts: 32243
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Terminating the ChessGUI project.

Post by Graham Banks » Fri Aug 27, 2010 5:30 am

Matthias Gemuh wrote:Terminating the ChessGUI project.

There's nothing as bad as a buggy GUI.
I have not been able to account for time forfeits under Windows 64-Bit. Furthermore, ChessGUI has crashed 3 times in just a few days in Martin Thoresen's tournament. If I cannot figure out the cause of the crashes, it makes no sense to continue with the ChessGUI project.
If the project must end here, I shall update ChessGUI one last time.

Cheers,
Matthias.
:shock: :cry:

Well - I don't have any problems with it for my CCRL 40/40 testing, so I'll keep using it regardless.
I'd be extremely disappointed to see you give up on ChessGUI, but I'll always be grateful to you for your efforts, and for being so quick to implement requested features.

Cheers,
Graham.
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

Albert Silver
Posts: 2813
Joined: Wed Mar 08, 2006 8:57 pm
Location: Rio de Janeiro, Brazil

Re: Terminating the ChessGUI project.

Post by Albert Silver » Fri Aug 27, 2010 5:49 am

Matthias Gemuh wrote:Terminating the ChessGUI project.

There's nothing as bad as a buggy GUI.
I have not been able to account for time forfeits under Windows 64-Bit. Furthermore, ChessGUI has crashed 3 times in just a few days in Martin Thoresen's tournament. If I cannot figure out the cause of the crashes, it makes no sense to continue with the ChessGUI project.
If the project must end here, I shall update ChessGUI one last time.

Cheers,
Matthias.
Are you sure it is the GUI? Have others reported the same thing in Windows 64-bit environments?
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."

User avatar
Matthias Gemuh
Posts: 3238
Joined: Thu Mar 09, 2006 8:10 am
Contact:

Re: Terminating the ChessGUI project.

Post by Matthias Gemuh » Fri Aug 27, 2010 7:15 am

Albert Silver wrote:
Matthias Gemuh wrote:Terminating the ChessGUI project.

There's nothing as bad as a buggy GUI.
I have not been able to account for time forfeits under Windows 64-Bit. Furthermore, ChessGUI has crashed 3 times in just a few days in Martin Thoresen's tournament. If I cannot figure out the cause of the crashes, it makes no sense to continue with the ChessGUI project.
If the project must end here, I shall update ChessGUI one last time.

Cheers,
Matthias.
Are you sure it is the GUI? Have others reported the same thing in Windows 64-bit environments?
I personally use Windows XP 32-Bit and will continue using ChessGUI because the GUI does not crash here. I am also fond of some partly unique ChessGUI features like Team Fight, Infinite Swiss, Swiss with TC gradients, double-round Swiss with alternating colours, multi-engine gauntlets, unparalleled support of Chess960, support of 10x8 chess, etc.
So I'll keep using ChessGUI. I'll just not further develop it if I don't find answers for the Windows 64-Bit issues.

If I upgrade to Windows 7 64-Bit any time soon, then I can trace ChessGUI issues on Windows 64-Bit. Sedat reported time forfeits under Windows 64-Bit, though he had them with other GUIs too. Ray reported time forfeits under Windows 64-Bit at a time control of 1+1 :evil: !

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

Frank Quisinsky
Posts: 4844
Joined: Wed Nov 18, 2009 6:16 pm
Location: Trier, Germany
Contact:

Re: Terminating the ChessGUI project.

Post by Frank Quisinsky » Fri Aug 27, 2010 7:22 am

Hi Matthias,

please not gave up after so many work.
Search the mistake.

For the time you don't find the bug ... restart the engines after each game in tournaments or eng-eng matches.

Again:
It's a real shame with gave up the development.
Fighting, Fighting, Fighting ... must be the motto.


Best and good luck !!! !!! !! (8x, 8 is the number of endlessness)
Frank

PS:
I think you should asked Martin Blume. I believe we had in the development time of Arena such a problem. Martin solved the problem. Perhaps Martin remember and can give you a tip.
I like computer chess!

User avatar
Matthias Gemuh
Posts: 3238
Joined: Thu Mar 09, 2006 8:10 am
Contact:

Re: Terminating the ChessGUI project.

Post by Matthias Gemuh » Fri Aug 27, 2010 7:55 am

Graham Banks wrote:
:shock: :cry:

Well - I don't have any problems with it for my CCRL 40/40 testing, so I'll keep using it regardless.
I'd be extremely disappointed to see you give up on ChessGUI, but I'll always be grateful to you for your efforts, and for being so quick to implement requested features.

Cheers,
Graham.
It's OK to continue using ChessGUI even for the CCRL if there is no obvious problem.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de

User avatar
Matthias Gemuh
Posts: 3238
Joined: Thu Mar 09, 2006 8:10 am
Contact:

Re: Terminating the ChessGUI project.

Post by Matthias Gemuh » Fri Aug 27, 2010 8:09 am

Frank Quisinsky wrote:Hi Matthias,

please not gave up after so many work.
Search the mistake.

For the time you don't find the bug ... restart the engines after each game in tournaments or eng-eng matches.

Again:
It's a real shame with gave up the development.
Fighting, Fighting, Fighting ... must be the motto.


Best and good luck !!! !!! !! (8x, 8 is the number of endlessness)
Frank

PS:
I think you should asked Martin Blume. I believe we had in the development time of Arena such a problem. Martin solved the problem. Perhaps Martin remember and can give you a tip.
Hi Frank,

a GUI crash is far worse than an engine crash.
That is why a GUI project should only be continued if the cause of a crash is found. :)

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

Milos
Posts: 3312
Joined: Wed Nov 25, 2009 12:47 am

Re: Terminating the ChessGUI project.

Post by Milos » Fri Aug 27, 2010 9:02 am

Matthias Gemuh wrote:I have not been able to account for time forfeits under Windows 64-Bit. Furthermore, ChessGUI has crashed 3 times in just a few days in Martin Thoresen's tournament. If I cannot figure out the cause of the crashes, it makes no sense to continue with the ChessGUI project.
If the project must end here, I shall update ChessGUI one last time.
Wouldn't it be possible for Martin to give you the address of the crash. Then it should not be hard to trace it in the code.
Since the thing exists only in 64bit and not in 32bit, the problem is most probably some of the instructions that do the 64 bit sign extended move like movs. This later makes some of your arrays to go out of bounds and creates memory access violation.
However, if that's the case you have to find the reason in the code why array index goes out of bounds.

User avatar
Matthias Gemuh
Posts: 3238
Joined: Thu Mar 09, 2006 8:10 am
Contact:

Re: Terminating the ChessGUI project.

Post by Matthias Gemuh » Fri Aug 27, 2010 10:30 am

Milos wrote:
Matthias Gemuh wrote:I have not been able to account for time forfeits under Windows 64-Bit. Furthermore, ChessGUI has crashed 3 times in just a few days in Martin Thoresen's tournament. If I cannot figure out the cause of the crashes, it makes no sense to continue with the ChessGUI project.
If the project must end here, I shall update ChessGUI one last time.
Wouldn't it be possible for Martin to give you the address of the crash. Then it should not be hard to trace it in the code.
Since the thing exists only in 64bit and not in 32bit, the problem is most probably some of the instructions that do the 64 bit sign extended move like movs. This later makes some of your arrays to go out of bounds and creates memory access violation.
However, if that's the case you have to find the reason in the code why array index goes out of bounds.
Hi Milos,

I don't understand much Assembler. I will look at arrays more closely.
Maybe I shall upgrade to Windows 64-Bit in a few weeks if I really want to track down the problem.
Martin has just said he had the crashes with a special ChessGUI version I made for him (0.198). If the publicly available ChessGUI 0.197d does not crash, that may be a nice hint.
However, the ominous 0.198 is the version I am using without problems.

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

Martin Thoresen
Posts: 1833
Joined: Wed Jun 21, 2006 10:07 pm

Re: Terminating the ChessGUI project.

Post by Martin Thoresen » Fri Aug 27, 2010 4:30 pm

Well, let me throw in a few thoughts here.

I have been extremely happy with how all the features of your GUI turned out after asking for them.

Matthias, you are a very kind person and I am sad to hear that you feel that you need to cancel the project. :cry:

I was going to email you the log from the game that crashed, but I can post the end of ChsGUI_Dbg.TXT below. If you look in the end of the log, this file --> C:\Program Files (x86)\ChessGUI\DEBUG\CrashFile.txt can't be found anywhere at all.
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info nodes 2695664219 time 214344 nps 12576345 tbhits 0 cpuload 3992
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info hashfull 998
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info nodes 2708878305 time 215358 nps 12578489 tbhits 0 cpuload 3992
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info hashfull 998
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info nodes 2722227875 time 216372 nps 12581239 tbhits 0 cpuload 3992
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info hashfull 998
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info nodes 2735415984 time 217386 nps 12583220 tbhits 0 cpuload 3992
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info hashfull 998
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info depth 21 seldepth 40 nodes 1182960206 time 94021 nps 12581872 tbhits 0 score cp -38 pv c7d6 g2c6 d7c6 c3c6 d8a8 b2b5 a6a2 e1d3 g7f8 c6b6 a8a4 b5a4 a2a4 d3b4 e8c8 h2g1 f8e7 b6b7 g8f7 d4d5 h7h6 b4c6 c8e8 d5e6 f7e6 c6d4 e6f7 h3h4 d6d5 h4h5 a4a2 h5g6 f7g6 g1g2
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info nodes 2740879605 time 217823 nps 12583058 tbhits 0 cpuload 3992
Eng2 (Onno 1.2.70 64-bit 4CPU) <- info hashfull 998
Eng2 (Onno 1.2.70 64-bit 4CPU) <- bestmove c7d6 ponder g2c6
Cancelling GameMoveTimerEvent() for Onno 1.2.70 64-bit 4CPU at 0000000098363232.
==========================================================================================================================
Current position (Ply 55) : 3qr1k1/2pb2bp/rpnBp1p1/5p2/3P4/2R1P1PP/PQ3PBK/1R2N3 b - - 1 28 = 3qr1k1/2pb2bp/rpnBp1p1/5p2/3P4/2R1P1PP/PQ3PBK/1R2N3 b - - 1 28
Eng2 (Onno 1.2.70 64-bit 4CPU) time lag = 343 milliseconds, max. time lag= 343 milliseconds
Eng2 (Onno 1.2.70 64-bit 4CPU) thought for 217793 milliseconds, time left = 2763862 milliseconds
Almost in ParcelMove(from Onno 1.2.70 64-bit 4CPU) at Time0000000098363232

DetailsOfMove(CAPTURE_MOVE: bestmove c7d6 ponder g2c6 = c7xBd6 = cxd6 = c7-Bd6) -> nSide = Black, nPieceNr = Pawn, nFrom = C7, nTo = D6, nCapturedNr = Bishop, promo = NoPiece, ep = A1, nFlags = 40, (Move = 40000003353E0100 == 4611686032205545728)

c7xBd6
Now in MakeChessMove() at Time0000000098363232, nChsProgNr = 1, ChsStrct->PlyPtr = 55

Now in MakeChessMove() at Time0000000098363232, nChsProgNr = 0, ChsStrct->PlyPtr = 55

Memory: 1052 MB + 2072 MB (1023 MB free)
CPU Load: 203% + 193%
Onno 1.2.70 64-bit 4CPU is possibly stealthily pondering !!!.
Critter 0.80 64-bit 4CPU is possibly stealthily pondering !!!.
Total Time Elapsed = 02:31:56
MoveNr. = 28, SideToMove = white.
50 moves to 50-Move-Rule.
Expected Move = g2c6
Now in CheckForEndOfGame() at Time0000000098363248

AlmostParcelMove() threw an exception.
!!! Disk Space !!! (28698529792 Bytes free)
SendToEng1Time 0000000098364371 : Eng1 (Critter 0.80 64-bit 4CPU) -> stop
.
SendToEng1Time 0000000098364371 : Eng1 (Critter 0.80 64-bit 4CPU) -> quit
.
DestroyChildProcess(Eng1 = Critter 0.80 64-bit 4CPU) is already dead.
SendToEng2Time 0000000098364527 : Eng2 (Onno 1.2.70 64-bit 4CPU) -> stop
.
SendToEng2Time 0000000098364527 : Eng2 (Onno 1.2.70 64-bit 4CPU) -> quit
.
DestroyChildProcess(Eng2 = Onno 1.2.70 64-bit 4CPU) is already dead.
C:\Program Files (x86)\ChessGUI\DEBUG\CrashFile.txt
GiantCommandZentrum(4) threw an exception.
!!! Disk Space !!! (28697128960 Bytes free)
C:\Program Files (x86)\ChessGUI\DEBUG\CrashFile.txt
GiantCommandZentrum(8) threw an exception.
!!! Disk Space !!! (28697128960 Bytes free)

Post Reply