fowode / pychess

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

Crashes when opening a pgn #751

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install 0.10.1 on fedora 18
2. Play a game, using "Save Game As" at some position
3. Try to open that game at that position and play it

What is the expected output? What do you see instead?
Expect a regular game. Instead got:
'/home/mcrouch/chess/sicilian/open.pgn'
'/home/mcrouch/chess/sicilian/najdorf.pgn'
/usr/lib/python2.7/site-packages/pychess/Main.py:320: GtkWarning: 
IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' 
failed
  gtk.main()
'/home/mcrouch/chess/sicilian/najdorf_f7_Qc7.pgn'
setting spymode for <GameWidget object at 0x232adc0 
(pychess+widgets+gamewidget+GameWidget at 0x23c8b00)> to True
setting spymode for <GameWidget object at 0x27486e0 
(pychess+widgets+gamewidget+GameWidget at 0x7f9d3c00aca0)> to True

Client was frozen and window had to be closed. Got "Not Responding" message and 
force quit, showing in terminal:
Killed

Does it happen every time?
No. It happened twice after first pychess install, can't reproduce right now. 
Hopefully the terminal output above helps

What version of the product are you using?
0.10.1

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

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/"

Can't find the relevant one, sorry.

Original issue reported on code.google.com by lamp5m...@gmail.com on 4 Mar 2013 at 2:30

GoogleCodeExporter commented 9 years ago
I also note that killing the client in the way leaves processes alive that eat 
my CPU. Though I no longer have the application open, ps aux | grep python 
reports on these process, and 'top' indicates that each is using 70-99% of CPU. 
Gnome-Shell is also now using 150-250% cpu

mcrouch   5371 79.6  4.8 1368512 395616 ?      SNl  07:52  46:08 
/usr/bin/python -u /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py
mcrouch   5374 79.6  4.7 1301064 385148 ?      SNl  07:52  46:09 
/usr/bin/python -u /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py
mcrouch   5503  0.0  0.3 568652 29532 ?        Sl   07:53   0:00 python 
/usr/bin/hamster
mcrouch   5523 95.2  5.7 1545688 464992 pts/4  SNl  07:54  53:12 
/usr/bin/python -u /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py
mcrouch   6096 95.2  2.6 1475664 217280 pts/4  SNl  08:08  39:32 
/usr/bin/python -u /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py
mcrouch   6099 95.1  3.1 1300100 255696 pts/4  SNl  08:08  39:30 
/usr/bin/python -u /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py

Original comment by lamp5m...@gmail.com on 4 Mar 2013 at 2:50

GoogleCodeExporter commented 9 years ago
Seems this is the same as issue #620. 

Original comment by gbtami on 5 Mar 2013 at 8:39