GNOME Bugzilla – Bug 593201
GNUChess automatically saves your preference when you click "3D Mode" in the preferences dialogue -- please read comments
Last modified: 2009-09-01 23:00:47 UTC
Version: 2.26.1 What were you doing when the application crashed? Started GNUChess after it had crashed and it attempted to reload with the same settings. Distribution: Ubuntu 9.04 (jaunty) Gnome Release: 2.26.1 2009-05-06 (Ubuntu) BugBuddy Version: 2.26.0 System: Linux 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10600000 Selinux: No Accessibility: Disabled GTK+ Theme: Human Icon Theme: Human GTK+ Modules: canberra-gtk-module Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 Traceback (most recent call last):
+ Trace 217162
self.view.feedback.renderGL()
self.scene.controller.render()
self.drawPieces()
piece.draw()
self.chessSet.drawPiece(self.name, state, self.scene)
if glGetBoolean(GL_TEXTURE_2D):
return self.finalise()( *args, **named )
converter( pyArgs, index, self )
return self.arrayType.zeros( self.getSize(pyArgs) )
return cls.returnHandler().zeros( dims, typeCode or cls.typeConstant )
raise TypeError( """Can't create NULL pointer filled with values""" )
----------- .xsession-errors --------------------- self.chessSet.drawPiece(self.name, state, self.scene) File "/var/lib/python-support/python2.6/glchess/scene/opengl/new_models.py", line 111, in drawPiece if glGetBoolean(GL_TEXTURE_2D): File "/usr/lib/python2.6/dist-packages/OpenGL/wrapper.py", line 1631, in __call__ return self.finalise()( *args, **named ) File "/usr/lib/python2.6/dist-packages/OpenGL/wrapper.py", line 683, in wrapperCall converter( pyArgs, index, self ) File "/usr/lib/python2.6/dist-packages/OpenGL/converters.py", line 195, in __call__ return self.arrayType.zeros( self.getSize(pyArgs) ) File "/usr/lib/python2.6/dist-packages/OpenGL/arrays/arraydatatype.py", line 98, in zeros return cls.returnHandler().zeros( dims, typeCode or cls.typeConstant ) File "/usr/lib/python2.6/dist-packages/OpenGL/arrays/nones.py", line 32, in zeros raise TypeError( """Can't create NULL pointer filled with values""" ) TypeError: ("Can't create NULL pointer filled with values", 'Failure in cConverter <OpenGL.converters.SizedOutput object at 0x89e4224>', [GL_TEXTURE_2D], 1, <OpenGL.wrapper.glGetIntegerv object at 0x8 --------------------------------------------------
This bug effectively means that I cannot restart GNUChess from the Applications->Games->Chess menu under Ubuntu, as the application now crashes each time I launch it.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 552981 ***
I don't think this particular bug is a duplicate - it is not about the crash itself, but the fact that GNUChess (or Gnome Chess) tries to start with the same settings each time, so I can never get into the program preferences to switch off 3D mode. One crash has effectively disabled this program for me, which is a completely separate issue to the cause of the crash in the first place.
hi, the stacktraces are identical. i can say this is a dup of 552981.
I think you've missed my point - bug 552981 is something to do with Python/GTK/Gl (and the other bug I filed - or rather the application did for me - is a duplicate of that bug). However, the other problem/bug is that GNUChess remembers if you selected 3D mode or not and uses that every time from then on, so if 3D mode crashes your system then GNUChess will crash every single time you load it from then on. It doesn't attempt to drop back to 2D mode or fall back to a previous configuration, so once you've selected 3D mode you can no longer use GNUChess with manually finding the configuration file for the program and disabling 3D mode, which is probably beyond the reach of most new users.
I can confirm that this is exactly the same bug as bug 552981 and both have exactly the same reason for crashing.
Okay, let me explain again: 1. GNUChess crashes in 3D Mode - bug 552981 and duplicates. 2. GNUChess automatically saves your preference when you click "3D Mode" in the preferences dialogue, so there is no way to start GNUChess again if 3D Mode causes it to crash. The sensible thing for GNUChess to do would be to not remember your preferences until you clicked a button (Accept / OK seem to be the accepted standards), so if a particular preference causes GNUChess to crash you can restart it with your previous set of preferences. If you like the new preferences and they don't cause the application to crash, you can elect to have them apply from there on. Without this option, you cannot get out of the "GNUChess crashes every time I launch it" loop without manually editing the preferences file (wherever it happens to be stored). If it would make things easier, I am happy to file issue #2 as a separate bug without a stack trace, but it is a different problem to the cause of the original crash.
your idea can report as enhancement :-)
Fabio: In that case please properly change status, priority, summary and component.
maybe, can be a "solution" to the bug #552981 http://bugzilla.gnome.org/show_bug.cgi?id=552981 (In reply to comment #7) > 2. GNUChess automatically saves your preference when you click "3D Mode" in the > preferences dialogue, so there is no way to start GNUChess again if 3D Mode > causes it to crash. The sensible thing for GNUChess to do would be to not > remember your preferences until you clicked a button (Accept / OK seem to be > the accepted standards), so if a particular preference causes GNUChess to crash > you can restart it with your previous set of preferences. If you like the new > preferences and they don't cause the application to crash, you can elect to > have them apply from there on. Without this option, you cannot get out of the > "GNUChess crashes every time I launch it" loop without manually editing the > preferences file (wherever it happens to be stored). > > If it would make things easier, I am happy to file issue #2 as a separate bug > without a stack trace, but it is a different problem to the cause of the > original crash.
Perhaps a workaround to this, rather than denial would have been helpful to us guys trying gnome rather than KDE. My workaround is this (ubuntu 9.04):- In System->Preferences->MainMenu under system tools enable Configuration Editor In Applications->System Tools->Configuration Editor select apps->glchess and unclick the 3D box Job Done.
The workaround fixes the problem for me, although personally I think it involves too many steps for a novice user and I don't know if it will work if someone is running GNUChess under a different environment (KDE, Fluxbox etc.).
*** This bug has been marked as a duplicate of bug 577240 ***