PolyGlot and List bug

Archive of the old Parsimony forum. Some messages couldn't be restored. Limitations: Search for authors does not work, Parsimony specific formats do not work, threaded view does not work properly. Posting is disabled.

PolyGlot and List bug

Postby Fabien Letouzey » 02 Apr 2004, 09:23

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 10:23:18:


If List breaks with PolyGlot, insert a line "List Bug = true" in the [PolyGlot] section. This is only available in the new version Dann made available.
Let me know if it solves the problem.
Fabien.
Fabien Letouzey
 

Re: PolyGlot and List bug

Postby Igor Gorelikov » 02 Apr 2004, 10:20

Geschrieben von:/Posted by: Igor Gorelikov at 02 April 2004 11:20:58:
Als Antwort auf:/In reply to: PolyGlot and List bug geschrieben von:/posted by: Fabien Letouzey at 02 April 2004 10:23:18:
If List breaks with PolyGlot, insert a line "List Bug = true" in the [PolyGlot] section. This is only available in the new version Dann made available.
Let me know if it solves the problem.
Fabien.
XBOARD 7 +471 126 73582
The main problem of List 512 under Poliglot is in multi-game matches. It cannot play more than one game. And the problem is still here. "List Bug = true" cannot cure it.
;-(
From winboard.debug (start of the second game)
==============================================
395460 )second: go
395790 (second: pong 3
395850 (second: 5 +395 6 2668
397330 (second: 5 +402 17 10808
399420 (second: 6 +442 44 26486
399420 (second: 6 +449 50 33697
400630 (second: 7 +471 126 73582
402000 (second: file "xboard.cpp", line 1024, assertion "move_is_legal_debug(RootMove,Board)" failed
Fatal Error: Error: second chess program (polyglot.exe List_512.ini) exited unexpectedly
From Poliglot log for List 512
===============================
POLYGLOT white to play
POLYGLOT
< ENGINE info depth 7 nodes 73582 currmove g6g5 currmovenumber 2
file "xboard.cpp", line 1024, assertion "move_is_legal_debug(RootMove,Board)" failed

Igor
Igor Gorelikov
 

Re: PolyGlot and List bug

Postby Fabien Letouzey » 02 Apr 2004, 10:51

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 11:51:45:
Als Antwort auf:/In reply to: Re: PolyGlot and List bug geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 11:20:58:

If List breaks with PolyGlot, insert a line "List Bug = true" in the [PolyGlot] section. This is only available in the new version Dann made available.
Let me know if it solves the problem.
The main problem of List 512 under Poliglot is in multi-game matches. It cannot play more than one game. And the problem is still here. "List Bug = true" cannot cure it.
;-(
Fatal Error: Error: second chess program (polyglot.exe List_512.ini) exited unexpectedly
( ENGINE info depth 7 nodes 73582 currmove g6g5 currmovenumber 2
file "xboard.cpp", line 1024, assertion "move_is_legal_debug(RootMove,Board)" failed
"move_is_legal_debug(RootMove,Board)" failed
This is a different problem, although it might be related. Send complete log files (in a zip file) to fabien_letouzey@hotmail.com
Fabien.
Fabien Letouzey
 

sent (nt) (n/t)

Postby Igor Gorelikov » 02 Apr 2004, 11:12

Geschrieben von:/Posted by: Igor Gorelikov at 02 April 2004 12:12:39:
Als Antwort auf:/In reply to: Re: PolyGlot and List bug geschrieben von:/posted by: Fabien Letouzey at 02 April 2004 11:51:45:
Igor Gorelikov
 

Re: sent (nt) (n/t)

Postby Fabien Letouzey » 02 Apr 2004, 11:29

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 12:29:09:
Als Antwort auf:/In reply to: sent (nt) (n/t) geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 12:12:39:


Thanks Igor,
It is a problem unrelated to the "List Bug" which might still be useful. List does like how PolyGlot sends the starting position of chess. I have posted a question regarding this on CCC.
The problem only appears when the engine is white and has to think on the first move (no BookThinker). It is possible that other engines also have this problem.
Fabien.
Fabien Letouzey
 

Re: sent

Postby Fabien Letouzey » 02 Apr 2004, 11:55

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 12:55:08:
Als Antwort auf:/In reply to: sent (nt) (n/t) geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 12:12:39:


Igor,
Ingo Bauer has answered my post on CCC. IMO he knows a lot about UCI.
It appears that PolyGlot is doing nothing wrong, and List has another bug.
Fabien.
Fabien Letouzey
 

possible solution

Postby Igor Gorelikov » 02 Apr 2004, 12:31

Geschrieben von:/Posted by: Igor Gorelikov at 02 April 2004 13:31:35:
Als Antwort auf:/In reply to: Re: sent geschrieben von:/posted by: Fabien Letouzey at 02 April 2004 12:55:08:
Igor,
Ingo Bauer has answered my post on CCC. IMO he knows a lot about UCI.
It appears that PolyGlot is doing nothing wrong, and List has another bug.
Fabien.
Possible solution to the List problem is to let Poliglot restarting the engine after each game in multi-game match.
Igor
Igor Gorelikov
 

Re: possible solution

Postby Fabien Letouzey » 02 Apr 2004, 12:35

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 13:35:26:
Als Antwort auf:/In reply to: possible solution geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 13:31:35:

Igor,
Ingo Bauer has answered my post on CCC. IMO he knows a lot about UCI.
It appears that PolyGlot is doing nothing wrong, and List has another bug.
Fabien.
Possible solution to the List problem is to let Poliglot restarting the engine after each game in multi-game match.
Hm ... Winboard can already do this ("/xreuse"?) :)
Also it would be very difficult for PolyGlot to do this given its current, rather naive, architecture; maybe much much ... later.
Also, are you sure List works fine it is plays the first game with white?
Fabien.
Fabien Letouzey
 

works fine

Postby Igor Gorelikov » 02 Apr 2004, 13:06

Geschrieben von:/Posted by: Igor Gorelikov at 02 April 2004 14:06:44:
Als Antwort auf:/In reply to: Re: possible solution geschrieben von:/posted by: Fabien Letouzey at 02 April 2004 13:35:26:

Possible solution to the List problem is to let Poliglot restarting the engine after each game in multi-game match.
Hm ... Winboard can already do this ("/xreuse"?) :)
Also, are you sure List works fine it is plays the first game with white?
I just assume that if I specify "-xreuse" after ini name that can confuse Poliglot.
I was wrong :-)
Now List works fine in multi-game matches (with -xreuse option) so I have no problem at all.
Yes, all is fine.
Igor
Igor Gorelikov
 

Re: works fine

Postby Fabien Letouzey » 02 Apr 2004, 13:17

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 14:17:02:
Als Antwort auf:/In reply to: works fine geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 14:06:44:

I just assume that if I specify "-xreuse" after ini name that can confuse Poliglot.
I was wrong :-)
I don't know about WinBoard init.
In XBoard, confusion can be avoided with quotes, e.g.:
xboard -fcp "polyglot list.ini" -xreuse
I think the problem is that WinBoard does not support quotation in the INI file (probably due to Windows internals).
Fabien.
Fabien Letouzey
 

Re: works fine

Postby Fabien Letouzey » 02 Apr 2004, 13:33

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 14:33:07:
Als Antwort auf:/In reply to: works fine geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 14:06:44:

Now List works fine in multi-game matches (with -xreuse option) so I have no problem at all.
Does it also work reliably (for long matches) without the "List Bug" option?
I'd like to get rid of it.
Fabien.
Fabien Letouzey
 

third game problem

Postby Igor Gorelikov » 02 Apr 2004, 13:40

Geschrieben von:/Posted by: Igor Gorelikov at 02 April 2004 14:40:25:
Als Antwort auf:/In reply to: Re: works fine geschrieben von:/posted by: Fabien Letouzey at 02 April 2004 14:17:02:
I just assume that if I specify "-xreuse" after ini name that can confuse Poliglot.
I was wrong :-)
I don't know about WinBoard init.
In XBoard, confusion can be avoided with quotes, e.g.:
xboard -fcp "polyglot list.ini" -xreuse
I think the problem is that WinBoard does not support quotation in the INI file (probably due to Windows internals).
Fabien.
I use the following:
-fcp "polyglot.exe List_512.ini -xreuse"
And it works... but only for two games. After two games List is not restared and offers illegal moves (from the previous game).
From Poliglot file for List 512
================================
POLYGLOT NEW GAME
...cut
POLYGLOT white to play
POLYGLOT
) XBOARD 6 +332 5 6176
( ENGINE bestmove b6b4 ponder c4d3
) XBOARD move b6b4
file "san.cpp", line 45, assertion "move_is_legal_debug(move,board)" failed
Why List is not restarted and "who" is gilty: Poliglot or Winboard - I don't know.
Igor
Igor Gorelikov
 

Re: third game problem

Postby Fabien Letouzey » 02 Apr 2004, 13:45

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 14:45:22:
Als Antwort auf:/In reply to: third game problem geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 14:40:25:

I use the following:
-fcp "polyglot.exe List_512.ini -xreuse"
And it works... but only for two games. After two games List is not restared and offers illegal moves (from the previous game).
No. "xreuse" is a WinBoard option, not a PolyGlot option. It must be outside the quotes. See my another post of mine in this thread.
No it doesn't, see above.
Fabien.
Fabien Letouzey
 

Re: third game problem

Postby Igor Gorelikov » 02 Apr 2004, 14:09

Geschrieben von:/Posted by: Igor Gorelikov at 02 April 2004 15:09:36:
Als Antwort auf:/In reply to: Re: third game problem geschrieben von:/posted by: Fabien Letouzey at 02 April 2004 14:45:22:
I use the following:
-fcp "polyglot.exe List_512.ini -xreuse"
And it works... but only for two games. After two games List is not restared and offers illegal moves (from the previous game).
No. "xreuse" is a WinBoard option, not a PolyGlot option. It must be outside the quotes. See my another post of mine in this thread.
No it doesn't, see above.
Fabien.
Thanks for the hint, now it works fine with:
-fcp "polyglot.exe List_512.ini" -xreuse
BTW, I exclude "List Bug = true" from List ini and no harm at all.
Finally List runs smoothly under Polyglot in multiple games.
Best regards,
Igor
Igor Gorelikov
 

Re: third game problem

Postby Fabien Letouzey » 02 Apr 2004, 14:13

Geschrieben von:/Posted by: Fabien Letouzey at 02 April 2004 15:13:38:
Als Antwort auf:/In reply to: Re: third game problem geschrieben von:/posted by: Igor Gorelikov at 02 April 2004 15:09:36:

Finally List runs smoothly under Polyglot in multiple games.
I am going to re-write all the PolyGlot I/O code this week-end. Maybe List will work without reuse next week ...
Also when writing a readme.txt for PolyGlot, I will try to mention work arounds for engines.
Fabien.
Fabien Letouzey
 


Return to Archive (Old Parsimony Forum)

Who is online

Users browsing this forum: No registered users and 24 guests