fowode / pychess

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

Clicking "Play Rematch" after PyChess engine game will crash engine. #397

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open PyChess
2. Start game against PyChess engine.  (Will not occur with other engines)
3. End game (Either through win, loss, draw, or resign.)
4. Click "Play Rematch"
---->  Bug reporting tool will now appear.  Application will still be
running though.

What is the expected output? What do you see instead?
Expected output is another game to be started.  What I see instead is a bug
reporting tool and the application (PyChess) still at the previous game.

Does it happen every time?
Yes.  It happens every time using the PyChess engine.  Using another engine
(like Crafty) will not crash no matter how many instances I open!

What version of the product are you using?
PyChess Staunton 0.10alpha2 (The .deb release)

Did you use an installed version of PyChess or did you run in from a
tarball/svn?
No.  I am dumb.  I will try to compile myself at some point.

Please provide any additional information below.
This bug ONLY happens with PyChess engine!!!  (Not Crafty, GNUChess, et al.)

Please attach the latest pychess logfile. It's in a hidden folder, under
your homedirectory, named ".pychess/"

Here are some log files, but I think the debugs might be more useful:

2009-02-21_18-38-29.log:
=========================
18:38:29 stdout Debug: feature done=0
18:38:29 stdout Debug: feature draw=1 reuse=0 myname='PyChess 0.10alpha2'
usermove=1 setboard=1 sigterm=1 analyze=1
variants='normal,nocastle,fischerandom' done=1
18:38:29 stdout Debug: Playing 0 moves in 300 seconds + 0 increment

2009-02-21_18-38-18.log:
========================
18:38:18 Default Debug: Started
18:38:26 (u'Python', '18:02:26.786') Debug: /usr/bin/python
18:38:27 (u'Python', '18:02:26.786') Debug: Black
18:38:27 (u'Python', '18:02:26.786') Log: xboard
18:38:27 (u'Python', '18:02:26.786') Log: protover 2
18:38:29 (u'Python', '18:02:26.786') Debug: feature done=0
18:38:29 (u'Python', '18:02:26.786') Log: Adds 10 minutes timeoutfeature
draw=1 reuse=0 myname='PyChess 0.10alpha2' usermove=1 setboard=1 sigterm=1
analyze=1 variants='normal,nocastle,fischerandom' done=1
18:38:29 (u'Python', '18:02:26.786') Log: nopost
18:38:29 (u'Python', '18:02:26.786') Log: hard
18:38:29 (u'Python', '18:02:26.786') Log: egtb
18:38:29 (u'Python', '18:02:26.786') Log: level 0 5 0
18:38:29 (u'Python', '18:02:26.786') Debug: Playing 0 moves in 300 seconds
+ 0 increment
18:38:30 Default Debug: Ending a game with status 5 for reason 20
18:40:21 (u'Python', '18:02:26.786') Log: result 0-1 {?}
18:40:21 (u'Python', '18:02:26.786') Log: quit
18:40:21 (u'Python', '18:02:26.786') Debug: Exitcode 0 Success

2009-02-21_18-37-01.log:
========================
18:37:01 Default Debug: Started
18:37:06 (u'Python', '18:02:6.968') Debug: /usr/bin/python
18:37:06 (u'Python', '18:02:6.968') Debug: Black
18:37:06 (u'Python', '18:02:6.968') Log: xboard
18:37:06 (u'Python', '18:02:6.968') Log: protover 2
18:37:09 (u'Python', '18:02:6.968') Debug: feature done=0
18:37:09 (u'Python', '18:02:6.968') Log: Adds 10 minutes timeoutfeature
draw=1 reuse=0 myname='PyChess 0.10alpha2' usermove=1 setboard=1 sigterm=1
analyze=1 variants='normal,nocastle,fischerandom' done=1
18:37:09 (u'Python', '18:02:6.968') Log: nopost
18:37:09 (u'Python', '18:02:6.968') Log: hard
18:37:09 (u'Python', '18:02:6.968') Log: egtb
18:37:09 (u'Python', '18:02:6.968') Log: level 0 5 0
18:37:09 (u'Python', '18:02:6.968') Debug: Playing 0 moves in 300 seconds +
0 increment
18:37:10 (u'Python', '18:02:6.968') Log: time 30000
18:37:10 (u'Python', '18:02:6.968') Log: otim 30000
18:37:10 (u'Python', '18:02:6.968') Log: usermove e2e4
18:37:10 (u'Python', '18:02:6.968') Debug: move c5
18:37:12 Default Debug: Ending a game with status 5 for reason 20
18:37:28 (u'Python', '18:02:6.968') Log: result 0-1 {?}
18:37:28 (u'Python', '18:02:6.968') Log: quit
18:37:28 Default Debug: Ending a game with status 8 for reason 1

I saved many of the bug reports under different situations.  I hope they help.

I hope I have given enough information.  I am going to try to compile to
see if there's a difference.  In the meantime...

GOOD LUCK!!!

Be Good!

Sincerely,
John Zollo

Original issue reported on code.google.com by zollo.j...@gmail.com on 21 Feb 2009 at 11:51

Attachments:

GoogleCodeExporter commented 9 years ago
It looks like this bug was fixed in SVN!!!  Whoops!!!  Probably should've 
checked
that first!  Revision 1398 by gbtami: "Fixed rematch playing against PyChess 
engine".
 Does that mean I should close this issue?

Thanks!
Sincerely,
john

Original comment by zollo.j...@gmail.com on 22 Feb 2009 at 12:12

GoogleCodeExporter commented 9 years ago
Yes, it's fixed in svn.

Original comment by gbtami on 22 Feb 2009 at 9:32

GoogleCodeExporter commented 9 years ago
THANK YOU!!!

john

Original comment by zollo.j...@gmail.com on 25 Feb 2009 at 1:31

GoogleCodeExporter commented 9 years ago
Issue 469 has been merged into this issue.

Original comment by mattgatto on 25 Jun 2009 at 12:48