GNOME Bugzilla – Bug 535256
IndexError selecting unnamed polygon in 3D mode
Last modified: 2011-01-17 08:24:41 UTC
Version: 2.20.0.1 What were you doing when the application crashed? starting a new game in 3d mode. Distribution: openSUSE 10.3 (X86-64) Gnome Release: 2.20.0 2007-09-22 (SUSE) BugBuddy Version: 2.20.1 System: Linux 2.6.22.17-0.1-default #1 SMP 2008/02/10 20:01:04 UTC x86_64 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Disabled GTK+ Theme: Industrial Icon Theme: Industrial 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 ----------- .xsession-errors --------------------- RENDERER=ATI MOBILITY RADEON X700 VERSION=2.1.7537 Release EXTENSIONS=GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_multisample GL_ARB_multitexture GL_ARB_occl
+ Trace 198844
self.view.feedback.select(event.x, event.y)
self.scene.select(x, y)
coord = self.getSquare(x, y)
return self.controller.getSquare(x, y)
rank = chr(ord('a') + coord[0])
-------------------------------------------------- Traceback (most recent call last):
*** Bug 539663 has been marked as a duplicate of this bug. ***
Is line 387 in opengl.py a typo?
*** Bug 540252 has been marked as a duplicate of this bug. ***
*** Bug 540303 has been marked as a duplicate of this bug. ***
*** Bug 540345 has been marked as a duplicate of this bug. ***
No typo, in this case the users are selecting an unnamed polygon (i.e. the polygon has an empty tuple attached to it not (row,col) as we expect). This should not be occurring, maybe the scene has not been correctly cleared before a render is done? Some documents: http://pyopengl.sourceforge.net/documentation/opengl_diffs.html http://www.opengl.org/sdk/docs/man/xhtml/glRenderMode.xml http://www.opengl.org/sdk/docs/man/xhtml/glLoadName.xml http://www.opengl.org/sdk/docs/man/xhtml/glPushName.xml
*** Bug 540846 has been marked as a duplicate of this bug. ***
*** Bug 541497 has been marked as a duplicate of this bug. ***
The last duplicate give some information: 3D CHESS VIEW. wONDERING WHERE THE PIECES WERE. i.e. The display is not rendering
*** Bug 541788 has been marked as a duplicate of this bug. ***
Probably related to similar bug #542386 (where it appears the attached tuple element is outside the range [0,7]). These reports suggest corruption of the selection buffer.
*** Bug 543081 has been marked as a duplicate of this bug. ***
*** Bug 543203 has been marked as a duplicate of this bug. ***
*** Bug 543765 has been marked as a duplicate of this bug. ***
*** Bug 543900 has been marked as a duplicate of this bug. ***
The display is rendering in some cases (bug #543900): "Clicking on a pawn"
*** Bug 544170 has been marked as a duplicate of this bug. ***
*** Bug 544353 has been marked as a duplicate of this bug. ***
*** Bug 544530 has been marked as a duplicate of this bug. ***
*** Bug 546350 has been marked as a duplicate of this bug. ***
*** Bug 546447 has been marked as a duplicate of this bug. ***
*** Bug 542386 has been marked as a duplicate of this bug. ***
*** Bug 547232 has been marked as a duplicate of this bug. ***
*** Bug 547511 has been marked as a duplicate of this bug. ***
*** Bug 550422 has been marked as a duplicate of this bug. ***
*** Bug 549004 has been marked as a duplicate of this bug. ***
*** Bug 552092 has been marked as a duplicate of this bug. ***
*** Bug 552319 has been marked as a duplicate of this bug. ***
*** Bug 555734 has been marked as a duplicate of this bug. ***
*** Bug 555883 has been marked as a duplicate of this bug. ***
*** Bug 556158 has been marked as a duplicate of this bug. ***
I've made the code handle this invalid response and print out some debugging information for 2.24.1 (not 2.25): http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=8032 This will hopefully stop a flood of duplicates and possible provide us with some useful information. If you are getting this problem can you please try the patch/wait for 2.24.1, run Chess from a terminal and report if you see something like: Invalid response received from glRenderMode(GL_RENDER): coord=(0,), viewport=array([ 0, 0, 526, 512],'i')
*** Bug 557938 has been marked as a duplicate of this bug. ***
*** Bug 558471 has been marked as a duplicate of this bug. ***
*** Bug 559969 has been marked as a duplicate of this bug. ***
*** Bug 561029 has been marked as a duplicate of this bug. ***
*** Bug 562161 has been marked as a duplicate of this bug. ***
*** Bug 562421 has been marked as a duplicate of this bug. ***
*** Bug 562717 has been marked as a duplicate of this bug. ***
*** Bug 562585 has been marked as a duplicate of this bug. ***
*** Bug 562809 has been marked as a duplicate of this bug. ***
*** Bug 563536 has been marked as a duplicate of this bug. ***
*** Bug 565754 has been marked as a duplicate of this bug. ***
*** Bug 568271 has been marked as a duplicate of this bug. ***
*** Bug 571101 has been marked as a duplicate of this bug. ***
*** Bug 572594 has been marked as a duplicate of this bug. ***
*** Bug 579094 has been marked as a duplicate of this bug. ***
Robert, what's the status of this crasher? Is it fixed now?
Obsolete/fixed now glChess has been rewritten in Vala.