google-code-export / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

PyChess gets stuck in a position #361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start PyChess in text-mode 'PYTHONPATH=lib/ python
lib/pychess/Players/PyChess.py'
2. 'setboard r4k2/2p1q2p/P1p3p1/2Pn1p1P/2B1pR2/1p6/5Q2/3N3K w - - 1 45'
3. 'analyze'

What is the expected output? What do you see instead?

PyChess gets stuck after searching ply 4. This is the same with PyChess in
play mode, where time-management should have taken care. So either we got
stuck in some loop, or in quientscent search. It can't be a deadlock, as
PyChess uses 100% cpu. It is probably not quientscent either, as I've had
it search for hours with no sign of progression.

Output is:
1   21.0    0.04    64  Bxd5 cxd5
32.0 moves/position; 1463.0 n/s
2   21.0    0.12    248     Bxd5 cxd5
6.4 moves/position; 3412.6 n/s
3   -171.0  0.71    2871    Qb2 Rxa6 Qh8+ Kf7
8.5 moves/position; 4805.6 n/s
4   -56.0   2.27    8074    Bxd5 cxd5 hxg6 Rxa6
6.0 moves/position; 5168.9 n/s

Did you use an installed version of PyChess or did you run in from a
tarball/svn?

Trunk

Original issue reported on code.google.com by lobais on 20 Dec 2008 at 11:20

GoogleCodeExporter commented 9 years ago
Seams to be a loop in the SEE.

Original comment by lobais on 20 Dec 2008 at 11:29