Author: Tor Alexander Lattimore
Date: 05:55:19 05/28/05
Hi I recently ported my engine to linux and some strange things are happening which I can't explain. If I run the program from a console everything works fine and good, but when I try and use xboard it crashes every time it trys to play the second move of a game (the second move it plays, the first is fine). Here is the output. 724 <first : Allocating 8388608(288MB) elements to the main hash. 724 <first : Allocating 131072(6MB) elements to the pawn hash. 724 <first : Cannot parse ini input: 724 <first : Cannot parse ini input: 725 <first : Cannot Parse Input: xboard 725 <first : feature setboard=1 usermove=1 rating=1 name=1 done=1 725 >first : accepted setboard 725 >first : accepted usermove 725 >first : rejected rating 725 >first : accepted name 725 >first : accepted done 726 <first : Cannot Parse Input: accepted setboard 726 <first : Cannot Parse Input: accepted usermove 726 <first : Cannot Parse Input: rejected rating 726 >first : new random 726 >first : level 40 5 0 726 >first : hard 727 <first : Cannot Parse Input: accepted name 727 <first : Cannot Parse Input: accepted done 1244 <first : Cannot Parse Input: random 4471 >first : name root 4472 >first : time 30000 otim 30000 4472 >first : usermove 4472 >first : e2e4 4473 <first : Cannot Parse Input: otim 30000 4489 <first : playing move 4489 <first : starting normal search 4489 <first : e7e5: 295 34% 4489 <first : c7c5: 365 42% 4489 <first : c7c6: 92 10% 4489 <first : e7e6: 82 9% 4489 <first : g7g6: 4 0% 4489 <first : d7d5: 2 0% 4489 <first : g8f6: 5 0% 4489 <first : d7d6: 5 0% 4489 <first : a7a5: 1 0% 4489 <first : move e7e5 AnimateMove: piece 6 slides from 4,6 to 4,4 Interrupting first 6478 >first : time 29998 otim 29801 6478 >first : usermove 6478 >first : g1f3 xboard: Error: first chess program (/k9/k9) exited unexpectedly GameEnds(0, (null), 2) Interrupting first 6506 >first : force xboard: Error writing to first chess program: Broken pipe GameEnds(0, (null), 2) 8573 >first : quit Any idea what could be causing this? I can play any number of moves in 'edit' mode and the engine does not crash, but as soon as it tries to play it's second move, "exits unexpectedly". I know that it returns to waiting for input after playing the book move as I tested this. I'm using 'getline(cin, input);' to receive input, but I tried using read(...) as well with the exact same result. I'm running xboard with the commandline xboard -fcp /chess/main -debug The exact same thing happens if it is white. 1. e4 e6 and it crashes. Hope someone has a clue as to whats causing this. Cheers Tor
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.