Original issue 822 reported by [email protected] 2013-11-10
Hi!
First: I love pychess because I like the design and the playful but functional style. But I encounter some problems since update to Beta.
Pychess freezes and crasdhes regularly on various occasions,since I upgraded from the stable version to the Pychess 0.12beta4-1. I use it on Ubuntu 13.10.
Playing ffline and playing online on FICS freezes Pychess, if:
'Giving up' freezes pychess.
'Saving' freezes pychess.
'Enable undo'freezes pychess.
'Offer Remis' freezes Pychess
'Break' freezes Pychess
Pychess crashes frequently after starting FICS; many times in between a game or while doing a move.
What steps will reproduce the problem?
- 'enable undo'
- 'give up'
- 'Save' or 'save to file'
- Opponent 'Give up'
- Crash unpredictable.
- Ask for a 'Break'
- Offer 'Remis' (Literally all functions of the actions segment)
What is the expected output? What do you see instead?
I would expect that pychess is doing what it is told instead of a freeze. I have to force quit and close instead.
Does it happen every time?
Freeze yes. Crash frequently.
What version of the product are you using?
Pychess 0.12beta4-1
Did you use an installed version of PyChess or did you run in from a
tarball/svn?
I used the recent deb and updated the archive as described in another post to make sure I got all the bugfixes.
Please provide any additional information below.
Please attach the latest pychess logfile. It's in a hidden folder, under
your homedirectory, named ".local/share/pychess/"
11:07:09 Default Debug: PyChess Anderssen 0.12beta4 rev. started
11:07:10 Default Debug: ionest.generalStart: <GameModel at 63870608 (ply=0, variant=Normal, status=0, reason=35, players=[], tags={'TimeControl': '300+0', 'Time': '11:07:00', 'Result': '*', 'Round': 1, 'Year': 2013, 'Month': 11, 'Day': 10, 'Event': u'\xd6rtliches Ereignis', 'Site': u'Lokale Seite'}
board=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
)>
(0, <class 'pychess.Players.Human.Human'>, (0, 'Peer'), 'Peer')
(1, <bound method EngineDiscoverer.initPlayerEngine of <EngineDiscoverer object at 0x2f37b90 (pychess+Players+engineNest+EngineDiscoverer at 0x2600780)>>, ({u'protocol': u'uci', u'name': u'stockfish', u'author': u'Tord Romstad, Marco Costalba and Joona Kiiski', u'country': u'no', u'command': u'/usr/games/stockfish', u'options': [{u'default': True, u'type': u'check', u'name': u'Ponder'}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Space', u'min': 0}, {u'default': 40, u'max': 50, u'type': u'spin', u'name': u'Emergency Move Horizon', u'min': 0}, {u'default': 5, u'max': 8, u'type': u'spin', u'name': u'Max Threads per Split Point', u'min': 4}, {u'default': 100, u'max': 1000, u'type': u'spin', u'name': u'Slow Mover', u'min': 10}, {u'default': False, u'type': u'check', u'name': u'UCI_Chess960'}, {u'default': False, u'type': u'check', u'name': u'Use Search Log'}, {u'default': True, u'type': u'check', u'name': u'Use Sleeping Threads'}, {u'default': 0, u'max': 50, u'type': u'spin', u'name': u'Contempt Factor', u'min': -50}, {u'default': False, u'type': u'check', u'name': u'OwnBook'}, {u'default': 4, u'max': 64, u'type': u'spin', u'name': u'Threads', u'min': 1}, {u'default': 20, u'max': 20, u'type': u'spin', u'name': u'Skill Level', u'min': 0}, {u'default': 20, u'max': 5000, u'type': u'spin', u'name': u'Minimum Thinking Time', u'min': 0}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Passed Pawns (Middle Game)', u'min': 0}, {u'type': u'button', u'name': u'Clear Hash'}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Mobility (Middle Game)', u'min': 0}, {u'default': u'SearchLog.txt', u'type': u'text', u'name': u'Search Log Filename'}, {u'default': 32, u'max': 8192, u'type': u'spin', u'name': u'Hash', u'min': 1}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Mobility (Endgame)', u'min': 0}, {u'default': False, u'type': u'check', u'name': u'UCI_AnalyseMode'}, {u'default': 1, u'max': 500, u'type': u'spin', u'name': u'MultiPV', u'min': 1}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Cowardice', u'min': 0}, {u'default': u'book.bin', u'type': u'text', u'name': u'Book File'}, {u'default': False, u'type': u'check', u'name': u'Use Debug Log'}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Passed Pawns (Endgame)', u'min': 0}, {u'default': False, u'type': u'check', u'name': u'Best Book Move'}, {u'default': 200, u'max': 30000, u'type': u'spin', u'name': u'Emergency Base Time', u'min': 0}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Aggressiveness', u'min': 0}, {u'default': 70, u'max': 5000, u'type': u'spin', u'name': u'Emergency Move Time', u'min': 0}, {u'default': 4, u'max': 12, u'type': u'spin', u'name': u'Min Split Depth', u'min': 4}], u'recheck': False, u'md5': u'366318fae442df26655a28d111642bc9'}, 1, 20, <class pychess.Variants.normal.NormalChess at 0x2e83460>, 300, 0), u'stockfish')
11:07:10 Default Debug: ionest.workfunc: <GameModel at 63870608 (ply=0, variant=Normal, status=0, reason=35, players=[], tags={'TimeControl': '300+0', 'Time': '11:07:00', 'Result': '*', 'Round': 1, 'Year': 2013, 'Month': 11, 'Day': 10, 'Event': u'\xd6rtliches Ereignis', 'Site': u'Lokale Seite'}
board=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
)>
(0, <class 'pychess.Players.Human.Human'>, (0, 'Peer'), 'Peer')
(1, <bound method EngineDiscoverer.initPlayerEngine of <EngineDiscoverer object at 0x2f37b90 (pychess+Players+engineNest+EngineDiscoverer at 0x2600780)>>, ({u'protocol': u'uci', u'name': u'stockfish', u'author': u'Tord Romstad, Marco Costalba and Joona Kiiski', u'country': u'no', u'command': u'/usr/games/stockfish', u'options': [{u'default': True, u'type': u'check', u'name': u'Ponder'}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Space', u'min': 0}, {u'default': 40, u'max': 50, u'type': u'spin', u'name': u'Emergency Move Horizon', u'min': 0}, {u'default': 5, u'max': 8, u'type': u'spin', u'name': u'Max Threads per Split Point', u'min': 4}, {u'default': 100, u'max': 1000, u'type': u'spin', u'name': u'Slow Mover', u'min': 10}, {u'default': False, u'type': u'check', u'name': u'UCI_Chess960'}, {u'default': False, u'type': u'check', u'name': u'Use Search Log'}, {u'default': True, u'type': u'check', u'name': u'Use Sleeping Threads'}, {u'default': 0, u'max': 50, u'type': u'spin', u'name': u'Contempt Factor', u'min': -50}, {u'default': False, u'type': u'check', u'name': u'OwnBook'}, {u'default': 4, u'max': 64, u'type': u'spin', u'name': u'Threads', u'min': 1}, {u'default': 20, u'max': 20, u'type': u'spin', u'name': u'Skill Level', u'min': 0}, {u'default': 20, u'max': 5000, u'type': u'spin', u'name': u'Minimum Thinking Time', u'min': 0}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Passed Pawns (Middle Game)', u'min': 0}, {u'type': u'button', u'name': u'Clear Hash'}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Mobility (Middle Game)', u'min': 0}, {u'default': u'SearchLog.txt', u'type': u'text', u'name': u'Search Log Filename'}, {u'default': 32, u'max': 8192, u'type': u'spin', u'name': u'Hash', u'min': 1}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Mobility (Endgame)', u'min': 0}, {u'default': False, u'type': u'check', u'name': u'UCI_AnalyseMode'}, {u'default': 1, u'max': 500, u'type': u'spin', u'name': u'MultiPV', u'min': 1}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Cowardice', u'min': 0}, {u'default': u'book.bin', u'type': u'text', u'name': u'Book File'}, {u'default': False, u'type': u'check', u'name': u'Use Debug Log'}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Passed Pawns (Endgame)', u'min': 0}, {u'default': False, u'type': u'check', u'name': u'Best Book Move'}, {u'default': 200, u'max': 30000, u'type': u'spin', u'name': u'Emergency Base Time', u'min': 0}, {u'default': 100, u'max': 200, u'type': u'spin', u'name': u'Aggressiveness', u'min': 0}, {u'default': 70, u'max': 5000, u'type': u'spin', u'name': u'Emergency Move Time', u'min': 0}, {u'default': 4, u'max': 12, u'type': u'spin', u'name': u'Min Split Depth', u'min': 4}], u'recheck': False, u'md5': u'366318fae442df26655a28d111642bc9'}, 1, 20, <class pychess.Variants.normal.NormalChess at 0x2e83460>, 300, 0), u'stockfish')
11:07:10 (u'Stockfish', '11:11:10.638') Debug: /usr/games/stockfish
11:07:10 (u'Stockfish', '11:11:10.638') Debug: Schwarz
11:07:10 (u'Stockfish', '11:11:10.638') Info: uci
11:07:10 (u'Stockfish', '11:11:10.638') Debug: Attaching Engine Output black comment 14.0496030899008 to engine <SubProcess object at 0x7fc7c803b5f0 (pychess+System+SubProcess+SubProcess at 0x3e17b00)>
11:07:10 (u'Stockfish', '11:11:10.638') Debug: Stockfish 09-06-13 64bit by Tord Romstad, Marco Costalba and Joona Kiiski
11:07:10 Default Debug: ionest.workfunc: returning gmwidg=<GameWidget object at 0x3ce9550 (pychess+widgets+gamewidget+GameWidget at 0x3e2bb60)>
gamemodel=<GameModel at 63870608 (ply=0, variant=Normal, status=0, reason=35, players=[Peer, stockfish], tags={'Site': u'Lokale Seite', 'Black': 'stockfish', 'Time': '11:07:00', 'White': 'Peer', 'Round': 1, 'TimeControl': '300+0', 'Month': 11, 'Result': '*', 'Year': 2013, 'Day': 10, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
)>
11:07:10 Default Debug: GameModel.run: Starting. self=<GameModel at 63870608 (ply=0, variant=Normal, status=0, reason=35, players=[Peer, stockfish], tags={'Site': u'Lokale Seite', 'Black': 'stockfish', 'Time': '11:07:00', 'White': 'Peer', 'Round': 1, 'TimeControl': '300+0', 'Month': 11, 'Result': '*', 'Year': 2013, 'Day': 10, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
)>
11:07:10 (u'Stockfish', '11:11:10.638') Debug: id name Stockfish 09-06-13 64bit
11:07:10 (u'Stockfish', '11:11:10.638') Debug: id author Tord Romstad, Marco Costalba and Joona Kiiski
11:07:10 (u'Stockfish', '11:11:10.638') Debug:
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Use Debug Log type check default false
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Use Search Log type check default false
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Search Log Filename type string default SearchLog.txt
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Book File type string default book.bin
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Best Book Move type check default false
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Contempt Factor type spin default 0 min -50 max 50
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Mobility (Middle Game) type spin default 100 min 0 max 200
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Mobility (Endgame) type spin default 100 min 0 max 200
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Passed Pawns (Middle Game) type spin default 100 min 0 max 200
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Passed Pawns (Endgame) type spin default 100 min 0 max 200
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Space type spin default 100 min 0 max 200
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Aggressiveness type spin default 100 min 0 max 200
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Cowardice type spin default 100 min 0 max 200
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Min Split Depth type spin default 4 min 4 max 12
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Max Threads per Split Point type spin default 5 min 4 max 8
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Threads type spin default 4 min 1 max 64
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Use Sleeping Threads type check default true
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Hash type spin default 32 min 1 max 8192
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Clear Hash type button
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Ponder type check default true
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name OwnBook type check default false
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name MultiPV type spin default 1 min 1 max 500
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Skill Level type spin default 20 min 0 max 20
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Emergency Move Horizon type spin default 40 min 0 max 50
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Emergency Base Time type spin default 200 min 0 max 30000
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Emergency Move Time type spin default 70 min 0 max 5000
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Minimum Thinking Time type spin default 20 min 0 max 5000
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name Slow Mover type spin default 100 min 10 max 1000
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name UCI_Chess960 type check default false
11:07:10 (u'Stockfish', '11:11:10.638') Debug: option name UCI_AnalyseMode type check default false
11:07:10 (u'Stockfish', '11:11:10.638') Debug: uciok
11:07:10 (u'Stockfish', '11:11:10.638') Info: setoption name Ponder value true
11:07:10 (u'Stockfish', '11:11:10.638') Info: isready
11:07:10 (u'Stockfish', '11:11:10.638') Debug: readyok
11:07:10 (u'Stockfish', '11:11:10.638') Info: ucinewgame
11:07:10 Default Debug: GameModel.run: emitting 'game_started' self=<GameModel at 63870608 (ply=0, variant=Normal, status=2, reason=35, players=[Peer, Stockfish 09-06-13 64bit], tags={'Site': u'Lokale Seite', 'Black': 'stockfish', 'Time': '11:07:00', 'White': 'Peer', 'Round': 1, 'TimeControl': '300+0', 'Month': 11, 'Result': '*', 'Year': 2013, 'Day': 10, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
)>
11:07:11 (u'Stockfish', '11:11:11.180') Debug: /usr/games/stockfish
11:07:11 (u'Stockfish', '11:11:11.180') Debug: Weiß
11:07:11 (u'Stockfish', '11:11:11.180') Info: uciStockfish 09-06-13 64bit by Tord Romstad, Marco Costalba and Joona Kiiski
11:07:11 (u'Stockfish', '11:11:11.180') Info:
11:07:11 Default Debug: hint analyzer: stockfish
11:07:11 (u'Stockfish', '11:11:11.180') Debug: setOptionInitialBoard: self=stockfish, model=<GameModel at 63870608 (ply=0, variant=Normal, status=2, reason=35, players=[Peer, Stockfish 09-06-13 64bit], tags={'Site': u'Lokale Seite', 'Black': 'stockfish', 'Time': '11:07:00', 'White': 'Peer', 'Round': 1, 'TimeControl': '300+0', 'Month': 11, 'Result': '*', 'Year': 2013, 'Day': 10, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
)>
11:07:11 (u'Stockfish', '11:11:11.226') Debug: /usr/games/stockfish
11:07:11 (u'Stockfish', '11:11:11.226') Debug: Stockfish 09-06-13 64bit by Tord Romstad, Marco Costalba and Joona Kiiski
11:07:11 (u'Stockfish', '11:11:11.226') Debug: Weiß
11:07:11 (u'Stockfish', '11:11:11.226') Info: uci
11:07:11 Default Debug: spy analyzer: stockfish
11:07:11 (u'Stockfish', '11:11:11.226') Debug: setOptionInitialBoard: self=stockfish, model=<GameModel at 63870608 (ply=0, variant=Normal, status=2, reason=35, players=[Peer, Stockfish 09-06-13 64bit], tags={'Site': u'Lokale Seite', 'Black': 'stockfish', 'Time': '11:07:00', 'White': 'Peer', 'Round': 1, 'TimeControl': '300+0', 'Month': 11, 'Result': '*', 'Year': 2013, 'Day': 10, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
)>
11:07:11 (u'Stockfish', '11:11:11.180') Debug: pause: self=stockfish
11:07:11 (u'Stockfish', '11:11:11.226') Debug: pause: self=stockfish
11:07:11 Default Debug: GameModel.checkStatus:
11:07:11 Default Debug: GameModel.run: id=63870608, players=[Peer, Stockfish 09-06-13 64bit], self.ply=0: updating Peer's time
11:07:11 Default Debug: GameModel.run: id=63870608, players=[Peer, Stockfish 09-06-13 64bit], self.ply=0: calling Peer.makeMove()
11:07:11 Default Debug: Human.makeMove: move=None, board1=#Weiß KQkq -
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
board2=None
11:07:11 Default Debug: GameWidget.setLocked: [Peer, Stockfish 09-06-13 64bit] locked=False
11:07:11 Default Debug: GameWidget.setLocked: [Peer, Stockfish 09-06-13 64bit]: returning
11:07:15 Default Debug: Human.emit_action: self.name=Peer, action=draw offer
11:07:15 Default Debug: GameModel.offerRecieved: offerer=Peer Offer(type="draw offer")
11:07:15 Default Debug: GameModel.offerRecieved: doing Stockfish 09-06-13 64bit.offer(Offer(type="draw offer"))
11:07:15 Default Debug: GameModel.declineRecieved: decliner=Stockfish 09-06-13 64bit Offer(type="draw offer")
11:07:15 Default Debug: GameModel.declineRecieved: declining Offer(type="draw offer")
11:07:15 Default Debug: Human.offerDeclined: self=Peer Offer(type="draw offer")
bug Critical