fowode / pychess

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

Ubuntu 12 PYChess random crash #764

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Play Pychess connected to the FICS server. The whole client randomly crashes 
and shuts down. Current games are lost and rating is lowered.
2.
3.

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

Does it happen every time? IT happens 20% of the time

What version of the product are you using? This happened with the PYChess 
0.10.1-1 installed from the apt-get . I then downloaded your latest version 
pychess-0.12beta1-1 and ran it straight from the directory. It happened again.

Did you use an installed version of PyChess or did you run in from a
tarball/svn? Installed it from apt-get and then also tried from a tar download.

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

/home/desbond/Chess/pychess-0.12beta1/lib/pychess/Main.py:300: GtkWarning: 
IA__gtk_widget_set_events: assertion `!gtk_widget_get_realized (widget)' failed
  widgets["menubar1"].set_events(widgets["menubar1"].get_events() | gtk.gdk.DRAG_STATUS)
/home/desbond/Chess/pychess-0.12beta1/lib/pychess/Main.py:301: GtkWarning: 
IA__gtk_widget_set_events: assertion `!gtk_widget_get_realized (widget)' failed
  widgets["Background"].set_events(widgets["Background"].get_events() | gtk.gdk.DRAG_STATUS)
18:18:09 Default Warning: Tried to set combobox to 9, but it has only got 7 
items
notify flag False
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 20 10 r  1125-1525 m
seek 5 0 r  0-9999 m
desbond@populus-dev:~/Chess/pychess-0.12beta1$ PYTHONPATH=lib/ ./pychess
/home/desbond/Chess/pychess-0.12beta1/lib/pychess/Main.py:300: GtkWarning: 
IA__gtk_widget_set_events: assertion `!gtk_widget_get_realized (widget)' failed
  widgets["menubar1"].set_events(widgets["menubar1"].get_events() | gtk.gdk.DRAG_STATUS)
/home/desbond/Chess/pychess-0.12beta1/lib/pychess/Main.py:301: GtkWarning: 
IA__gtk_widget_set_events: assertion `!gtk_widget_get_realized (widget)' failed
  widgets["Background"].set_events(widgets["Background"].get_events() | gtk.gdk.DRAG_STATUS)
21:39:52 Default Warning: Tried to set combobox to 9, but it has only got 7 
items
notify flag False
**
Gdk:ERROR:/build/buildd/gtk+2.0-2.24.10/gdk/gdkregion-generic.c:1110:miUnionNonO
: assertion failed: (y1 < y2)
Segmentation fault (core dumped)

Original issue reported on code.google.com by desb...@gmail.com on 8 Apr 2013 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 9 Apr 2013 at 6:50

GoogleCodeExporter commented 9 years ago
Committed a possible fix in rev #9d1b88cc75ac
Can you try it please?

Original comment by gbtami on 9 Apr 2013 at 5:37

GoogleCodeExporter commented 9 years ago
I would be happy to try it. Where can I download this revision from?

Des

Original comment by desb...@gmail.com on 9 Apr 2013 at 5:48

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/pychess/source/checkout
If you need any help join to #pychess on freenode IRC.

Original comment by gbtami on 9 Apr 2013 at 6:40

GoogleCodeExporter commented 9 years ago
I followed the directions in that link and downloaded the latest version. 
However theres no label so I'm unsure if I am using the latest revision. 

Anyway I have used that latest download extensively for the last few days and 
have had no crashes.

Your fix seems to have worked.

Thanks a mill.

Spunog

Original comment by desb...@gmail.com on 17 Apr 2013 at 8:51

GoogleCodeExporter commented 9 years ago
If you run PyChess from sources you can see the hg rev. on Help->About dialog.

Thx. for testing it!

Original comment by gbtami on 17 Apr 2013 at 9:32

GoogleCodeExporter commented 9 years ago
Getting the odd crash on this again :

/home/test/chesstest/pychess/lib/pychess/Main.py:448: GtkWarning: 
IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' 
failed
  gtk.main()
*** glibc detected *** /usr/bin/python: double free or corruption (fasttop): 
0x00000000033c5040 ***
**
Gdk:ERROR:/build/buildd/gtk+2.0-2.24.10/gdk/gdkregion-generic.c:1110:miUnionNonO
: assertion failed: (y1 < y2)
Aborted (core dumped)

Original comment by desb...@gmail.com on 7 May 2013 at 4:01

GoogleCodeExporter commented 9 years ago
@desbond, is this happened with _latest_ source? I'v committed a fix for a 
similar bug, issue #768 the day before yesterday. 

Original comment by gbtami on 7 May 2013 at 4:46

GoogleCodeExporter commented 9 years ago
Got the latest version again and will let you know if theres any crashes.

Cheers

Original comment by desb...@gmail.com on 7 May 2013 at 4:58

GoogleCodeExporter commented 9 years ago
Install the faulthandler module from 
https://pypi.python.org/pypi/faulthandler/2.2 please!
It will help to find the root of the problem, if it happens again.

Original comment by gbtami on 7 May 2013 at 5:03

GoogleCodeExporter commented 9 years ago
@desbond, you can check the revision label on Help-About dialog if you start 
pychess from sources, but beta2 is out now with all the mentioned fixes above.

Original comment by gbtami on 17 May 2013 at 5:26

GoogleCodeExporter commented 9 years ago
It hasnt happened since I got rev rev. 577551f431c6

Des

Original comment by desb...@gmail.com on 17 May 2013 at 5:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 5 Jun 2013 at 11:52