I have a chess engine nicknamed "javalin." It runs with the Xboard interface
on Mac ( could probably be ported to windows with a little tweaking.)
When javalin is white, there is no problem playing any other engine. Also,
human-white versus javalin-black runs with no problem.
The problem is - if javalin is, for example, set as both white and black ( fcp, scp)
the following situation occurs, which has me baffled:
START fcp
...
StartChildProcess (dir=".") java -Xms512m -Xmx1024m -jar javalin.jar
681 >first : xboard
protover 2
shuffleOpenings = 0
1268 <first : Finished
1280 <first : Welcome to Javalin Chess Engine 1.1
1280 <first : feature sigterm=0
1280 >first : accepted sigterm
1280 <first : feature sigint=0
1280 >first : accepted sigint
...
1283 >first : level 40 5 0
1283 >first : post
1283 >first : hard
2962 >first : force
StartChildProcess (dir=".") java -Xms512m -Xmx1024m -jar javalin.jar
2963 >second: xboard
protover 2
...
3539 >first : go
...
3614 <first : move e2e4 fcp MAKES THE FIRST MOVE
3624 >second: e2e4 xboard TRANSMITS move to scp
3624 >second: go
3933 <second: move g8f6 scp REPLIES ( WITH ALEKHINES' DEFENSE )
3933 >first : g8f6 xboard TRANSMITS move to fcp
4045 <second: move e4e5 scp allegedly "makes a move (?) " which in reality will be the next move played by fcp
Ignoring move out of turn by second, gameMode 5, forwardMost 2 xboard CALLS FOUL!!!
4046 >second: e4e5
4132 <second: Illegal move e4e5
GameEnds(25, False illegal-move claim, 4)
GE(25, False illegal-move claim, 4) bare king k=16 color=0
4132 >first : result 1-0 {False illegal-move claim}
4132 >second: result 1-0 {False illegal-move claim}
This debug log is incomprehensible to me, unfortunately.
The actual moves played on the board were :
1. e2e4 g8f6
2. e45e5 ... TERMINATION
Any clues, suggestions are appreciated.