Help with Arena issue

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Exacto
Posts: 15
Joined: Thu Feb 13, 2014 6:51 pm

Help with Arena issue

Post by Exacto »

Hello,

I've had a strange new thing happen in Arena, and I can't seem to make heads or tails of it. I'd appreciate anybody taking a look at this log below - presumably my understanding of the XBoard protocol is too limited. The issue is that, after losing on time, in the following game, Arena believes that my engine is "still thinking" from the last game, and hence doesn't send the command for "go" to my engine. If I hit "debug" I can send commands to my program and it is responsive. Log (only comm. w/ my engine):

Code: Select all

2014-02-18 16:16:06.780*1*Start calc, move no: 134
2014-02-18 16:16:06.829-->1:force
2014-02-18 16&#58;16&#58;06.849<--1&#58;Force ON
2014-02-18 16&#58;16&#58;07.029-->1&#58;usermove g7g6
2014-02-18 16&#58;16&#58;07.029-->1&#58;ping 50
2014-02-18 16&#58;16&#58;07.032<--1&#58;pong 50
2014-02-18 16&#58;16&#58;07.035-->1&#58;ping 54
2014-02-18 16&#58;16&#58;07.038<--1&#58;pong 54
2014-02-18 16&#58;16&#58;07.041-->1&#58;time 1
2014-02-18 16&#58;16&#58;07.041-->1&#58;otim 1
2014-02-18 16&#58;16&#58;07.041-->1&#58;go
2014-02-18 16&#58;16&#58;07.042<--1&#58;5   -146  0     1          66. Rb6, Kg5 67. Rf8, Rxc2 68. Rg8+, Kh5
2014-02-18 16&#58;16&#58;07.085<--1&#58;6   -152  4     54734      66. Rb6, Rxc2 67. Rxd6+, Kg5 68. Rf7, Rc1+ 69. Kh2
2014-02-18 16&#58;16&#58;07.118<--1&#58;move b7b6
2014-02-18 16&#58;16&#58;07.118*1*Found move&#58;Rb7-b6

2014-02-18 16&#58;16&#58;08.082*1*Start calc, move no&#58; 137
2014-02-18 16&#58;16&#58;08.139-->1&#58;force
2014-02-18 16&#58;16&#58;08.159<--1&#58;Force ON
2014-02-18 16&#58;16&#58;08.349-->1&#58;usermove e3f5
2014-02-18 16&#58;16&#58;08.349-->1&#58;ping 57
2014-02-18 16&#58;16&#58;08.352<--1&#58;pong 57
2014-02-18 16&#58;16&#58;08.355*1*Err 2 hmove&#58;137 partie.gethznr&#58;138 -ignored
2014-02-18 16&#58;16&#58;08.360********Game end&#58; 0-1 &#123;0-1 White forfeits on time&#125;
2014-02-18 16&#58;16&#58;08.363********Last game won by Firefly 2.7.0 with Black in 69 moves
2014-02-18 16&#58;16&#58;08.365********Exacto  -  Firefly 2.7.0&#58; 
2014-02-18 16&#58;16&#58;08.367********   1 B 2    1.0&#58;0.0        0.0&#58;1.0       4&#58;16&#58;08 PM     0.00    69 9.242 &#58;8.305  0-1-0
2014-02-18 16&#58;16&#58;08.403********Saving file C&#58;\Program Files\Arena\Tournaments\Altrabullet.pgn
2014-02-18 16&#58;16&#58;08.423-->1&#58;?
2014-02-18 16&#58;16&#58;08.424<--1&#58;Error &#40;unknown command&#41;&#58; ?
2014-02-18 16&#58;16&#58;08.451-->1&#58;result 0-1
2014-02-18 16&#58;16&#58;08.451<--1&#58;Error &#40;unknown command&#41;&#58; result
2014-02-18 16&#58;16&#58;08.451<--1&#58;Error &#40;unknown command&#41;&#58; 0-1
2014-02-18 16&#58;16&#58;09.578********
2014-02-18 16&#58;16&#58;09.581********Pairing 3/7&#58; Exacto  -  GChess IV

2014-02-18 16&#58;16&#58;10.669********Round 1 of 2&#58; Exacto  -  GChess IV
2014-02-18 16&#58;16&#58;10.683**----------New game---2014-02-18 16&#58;16&#58;10,683 Tue -------------
2014-02-18 16&#58;16&#58;10.683-->1&#58;level 0 0&#58;30 0
2014-02-18 16&#58;16&#58;10.683-->1&#58;new
2014-02-18 16&#58;16&#58;10.683-->1&#58;level 0 0&#58;30 0
2014-02-18 16&#58;16&#58;10.686-->1&#58;post
2014-02-18 16&#58;16&#58;10.686-->1&#58;ping 60
2014-02-18 16&#58;16&#58;10.701<--1&#58;Post ON
2014-02-18 16&#58;16&#58;10.704<--1&#58;pong 60

2014-02-18 16&#58;16&#58;10.827*1*Tengine.StartCalc&#58;DOUBLE ENGINE START CALC AVOIDED!---yy 
2014-02-18 16&#58;16&#58;42.818********Game end&#58; 0-1 &#123;0-1 White forfeits on time&#125;
2014-02-18 16&#58;16&#58;42.828********Last game won by GChess IV &#40;1900&#41; with Black in 1 moves
2014-02-18 16&#58;16&#58;42.841********Exacto  -  GChess IV &#40;1900&#41;&#58; 
I'm guessing the error "*1*Err 2 hmove:137 partie.gethznr:138 -ignored" is where things are going wrong, and for some reason, it thereafter thinks that my program is thinking.

Appreciate the help!

Dan
"A little pain never hurt anyone."
User avatar
hgm
Posts: 27796
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Help with Arena issue

Post by hgm »

Yes, this is a known Arena bug. So far I have only seen itreported for pondering UCI engines. It is always associated with this DOUBLE START CALC AVOIDED message.

Only known solution is not use Arena, or at least not this Arena version.