GNOME Bugzilla – Bug 538252
currentMode[0] fails inside OpenGL.glRenderMode(GL_SELECT)
Last modified: 2008-12-01 21:49:34 UTC
Version: 2.23.3 What were you doing when the application crashed? Clicked on a square in 3D mode. Distribution: Ubuntu 8.10 (intrepid) Gnome Release: 2.23.3 2008-06-04 (Ubuntu) BugBuddy Version: 2.22.0 System: Linux 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: Tango 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 (945 sec old) --------------------- CalDAV Eplugin starting up ... ** (evolution:7072): DEBUG: mailto URL command: evolution %s ** (evolution:7072): DEBUG: mailto URL program: evolution GCJ PLUGIN: thread 0x623490: NP_GetMIMEDescription GCJ PLUGIN: thread 0x623490: NP_GetMIMEDescription return GCJ PLUGIN: thread 0x623490: NP_GetValue GCJ PLUGIN: thread 0x623490: NP_GetValue: returning plugin name. GCJ PLUGIN: thread 0x623490: NP_GetValue return GCJ PLUGIN: thread 0x623490: NP_GetValue GCJ PLUGIN: thread 0x623490: NP_GetValue: returning plugin description. GCJ PLUGIN: thread 0x623490: NP_GetValue return (npviewer.bin:7200): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed (npviewer.bin:7200): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed -------------------------------------------------- Traceback (most recent call last):
+ Trace 200378
self.view.feedback.select(event.x, event.y)
self.scene.select(x, y)
coord = self.getSquare(x, y)
return self.controller.getSquare(x, y)
glRenderMode(GL_SELECT)
currentMode = currentMode[0]
*** Bug 539613 has been marked as a duplicate of this bug. ***
This is a problem in PyOpenGL. Keeping open as this may be related to 535256
*** Bug 540797 has been marked as a duplicate of this bug. ***
*** Bug 540962 has been marked as a duplicate of this bug. ***
*** Bug 541397 has been marked as a duplicate of this bug. ***
Reporters, please let us know what video driver you are using.
Hi all, I'm using the last version of the propietary driver from NVIDIA (NVIDIA-Linux-x86-173.14.09-pkg1). Not sure if it happens also with previous versions, I'll check it during the weekend and tell you about.
So it's probably not a driver issue. Perhaps some python-opengl API has changed... confirming bug.
*** Bug 542559 has been marked as a duplicate of this bug. ***
*** Bug 542955 has been marked as a duplicate of this bug. ***
*** Bug 544725 has been marked as a duplicate of this bug. ***
*** Bug 545618 has been marked as a duplicate of this bug. ***
*** Bug 547071 has been marked as a duplicate of this bug. ***
*** Bug 547945 has been marked as a duplicate of this bug. ***
*** Bug 548047 has been marked as a duplicate of this bug. ***
*** Bug 548048 has been marked as a duplicate of this bug. ***
*** Bug 548049 has been marked as a duplicate of this bug. ***
*** Bug 549756 has been marked as a duplicate of this bug. ***
*** Bug 548482 has been marked as a duplicate of this bug. ***
*** Bug 549098 has been marked as a duplicate of this bug. ***
*** Bug 549099 has been marked as a duplicate of this bug. ***
*** Bug 549224 has been marked as a duplicate of this bug. ***
I have been trying to reproduce this but I can't. I have tried both the 177 and the 173 nvidia driver. Other possibly relevant versions I'm running: python-opengl 3.0.0~b3-1ubuntu1 python-gtkglext1 1.1.0-3.1
I’m getting the crash with the same versions, but apparently not if python-opengl was upgraded from a former version. This really looks like an issue in python-opengl or its packaging.
Yes, looking at the stack-trace, this seems to be a problem with python-opengl: glRenderMode(GL_SELECT)
+ Trace 205963
*** Bug 551119 has been marked as a duplicate of this bug. ***
*** Bug 552123 has been marked as a duplicate of this bug. ***
*** Bug 552438 has been marked as a duplicate of this bug. ***
*** Bug 552439 has been marked as a duplicate of this bug. ***
*** Bug 552440 has been marked as a duplicate of this bug. ***
*** Bug 552574 has been marked as a duplicate of this bug. ***
*** Bug 552629 has been marked as a duplicate of this bug. ***
*** Bug 552933 has been marked as a duplicate of this bug. ***
*** Bug 552934 has been marked as a duplicate of this bug. ***
*** Bug 552935 has been marked as a duplicate of this bug. ***
*** Bug 552936 has been marked as a duplicate of this bug. ***
*** Bug 552937 has been marked as a duplicate of this bug. ***
*** Bug 553270 has been marked as a duplicate of this bug. ***
*** Bug 554315 has been marked as a duplicate of this bug. ***
*** Bug 555357 has been marked as a duplicate of this bug. ***
*** Bug 555358 has been marked as a duplicate of this bug. ***
I'm using an nvidia 6600gt. Here's what nvidia-settings says. Operating System: Linux-x86 NVIDIA Driver Version: 177.76 X Server Information Server Version Number: 11.0 Server Vendor Version: 1.5.1 (10501000) NV-Control Version: 1.17
*** Bug 555846 has been marked as a duplicate of this bug. ***
*** Bug 555845 has been marked as a duplicate of this bug. ***
*** Bug 555844 has been marked as a duplicate of this bug. ***
*** Bug 556076 has been marked as a duplicate of this bug. ***
*** Bug 556077 has been marked as a duplicate of this bug. ***
I've made the code handle this invalid response 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. Note however the rendering may be corrupt after this occurs.
Commit was actually: http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=8033 http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=8034
Looking at the PyOpenGL code (OpenGL/GL/pointers.py) shows we shouldn't change modes back to GL_RENDER: http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=8035
This appears to be fixed in PyOpenGL 3.0.0b4
Opened bug in Ubuntu to ask them to strongly consider upgrading before the release of Intrepid: https://bugs.launchpad.net/ubuntu/+source/pyopengl/+bug/283717
Ubuntu/Debian have confirmed this is a python-opengl bug and this bug has been fixed for Intrepid. Closing NOTGNOME but expecting some duplicates from existing installs.
*** Bug 556677 has been marked as a duplicate of this bug. ***
*** Bug 556602 has been marked as a duplicate of this bug. ***
*** Bug 557304 has been marked as a duplicate of this bug. ***
*** Bug 562899 has been marked as a duplicate of this bug. ***