GNOME Bugzilla – Bug 442933
Invalid value building mipmaps with GLU
Last modified: 2009-02-12 11:30:45 UTC
What were you doing when the application crashed? Starting glchess Distribution: Gentoo Base System release 1.12.10 Gnome Release: 2.18.1 2007-06-01 (Gentoo) BugBuddy Version: 2.18.1 System: Linux 2.6.21-viper2 #1 SMP PREEMPT Thu May 31 18:52:07 CEST 2007 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: No Accessibility: Disabled GTK+ Theme: Murrina-Sky Icon Theme: sander-new 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 (31 sec old) ---------------------
+ Trace 137265
self.view.feedback.renderGL()
self.scene.render()
self.__drawBoard()
self.__whiteTexture.bind() #blackTexture
self.__texture = self.__generate()
gluBuild2DMipmaps(GL_TEXTURE_2D, GL_LUMINANCE, self.__width, self.__height, self.__format, GL_UNSIGNED_BYTE, self.__data) GLUerror: [Errno 100901] invalid value ex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum -------------------------------------------------- Traceback (most recent call last):
gluBuild2DMipmaps(GL_TEXTURE_2D, GL_LUMINANCE, self.__width, self.__height, self.__format, GL_UNSIGNED_BYTE, self.__data) GLUerror: [Errno 100901] invalid value
*** Bug 448854 has been marked as a duplicate of this bug. ***
*** Bug 450407 has been marked as a duplicate of this bug. ***
*** Bug 453211 has been marked as a duplicate of this bug. ***
*** Bug 453641 has been marked as a duplicate of this bug. ***
*** Bug 453648 has been marked as a duplicate of this bug. ***
*** Bug 457241 has been marked as a duplicate of this bug. ***
*** Bug 457881 has been marked as a duplicate of this bug. ***
*** Bug 461084 has been marked as a duplicate of this bug. ***
*** Bug 461088 has been marked as a duplicate of this bug. ***
If you are having this problem please state what video card, drivers and OS you are using. Thanks.
nVidia 7600GT, nVidia drivers version 1.0.9631, Ubuntu Gutsy.
nVidia 7300GT, nVidia drivers version 100.14.11, Gentoo Linux (~amd64)
*** Bug 464118 has been marked as a duplicate of this bug. ***
*** Bug 467871 has been marked as a duplicate of this bug. ***
*** Bug 468093 has been marked as a duplicate of this bug. ***
*** Bug 468520 has been marked as a duplicate of this bug. ***
*** Bug 468663 has been marked as a duplicate of this bug. ***
*** Bug 469703 has been marked as a duplicate of this bug. ***
*** Bug 479294 has been marked as a duplicate of this bug. ***
*** Bug 481785 has been marked as a duplicate of this bug. ***
*** Bug 486812 has been marked as a duplicate of this bug. ***
*** Bug 487086 has been marked as a duplicate of this bug. ***
*** Bug 487955 has been marked as a duplicate of this bug. ***
*** Bug 488366 has been marked as a duplicate of this bug. ***
*** Bug 488087 has been marked as a duplicate of this bug. ***
*** Bug 488126 has been marked as a duplicate of this bug. ***
I still can't work out why this error has been thrown, as far as I can tell the parameters are correct. But I've done what I should have a long time ago and glChess now catches the GLU exception and falls back to standard textures. Because I can't reproduce this problem I don't know if that call will fail too; any reporter who knows how to build the glchess head/2.20 branch please try and let me know.
*** Bug 488148 has been marked as a duplicate of this bug. ***
*** Bug 488947 has been marked as a duplicate of this bug. ***
*** Bug 488958 has been marked as a duplicate of this bug. ***
*** Bug 490096 has been marked as a duplicate of this bug. ***
*** Bug 490443 has been marked as a duplicate of this bug. ***
If this is occuring for you the way to get back to 2D mode is: Open the configuration editor: Applications->System Tools->Configuration Editor Go to apps->glchess and uncheck the show_3d item.
*** Bug 490854 has been marked as a duplicate of this bug. ***
*** Bug 490717 has been marked as a duplicate of this bug. ***
*** Bug 490916 has been marked as a duplicate of this bug. ***
*** Bug 493995 has been marked as a duplicate of this bug. ***
*** Bug 493805 has been marked as a duplicate of this bug. ***
*** Bug 495540 has been marked as a duplicate of this bug. ***
*** Bug 496411 has been marked as a duplicate of this bug. ***
*** Bug 498390 has been marked as a duplicate of this bug. ***
*** Bug 499312 has been marked as a duplicate of this bug. ***
*** Bug 499509 has been marked as a duplicate of this bug. ***
*** Bug 501002 has been marked as a duplicate of this bug. ***
*** Bug 501045 has been marked as a duplicate of this bug. ***
*** Bug 501083 has been marked as a duplicate of this bug. ***
*** Bug 501085 has been marked as a duplicate of this bug. ***
*** Bug 502482 has been marked as a duplicate of this bug. ***
*** Bug 502549 has been marked as a duplicate of this bug. ***
*** Bug 502550 has been marked as a duplicate of this bug. ***
*** Bug 503713 has been marked as a duplicate of this bug. ***
*** Bug 495815 has been marked as a duplicate of this bug. ***
*** Bug 505974 has been marked as a duplicate of this bug. ***
*** Bug 506956 has been marked as a duplicate of this bug. ***
*** Bug 506957 has been marked as a duplicate of this bug. ***
*** Bug 509070 has been marked as a duplicate of this bug. ***
*** Bug 511417 has been marked as a duplicate of this bug. ***
*** Bug 511419 has been marked as a duplicate of this bug. ***
*** Bug 511420 has been marked as a duplicate of this bug. ***
*** Bug 511485 has been marked as a duplicate of this bug. ***
*** Bug 510689 has been marked as a duplicate of this bug. ***
*** Bug 511689 has been marked as a duplicate of this bug. ***
*** Bug 511859 has been marked as a duplicate of this bug. ***
*** Bug 512635 has been marked as a duplicate of this bug. ***
Take a look at this bugreport in Gentoo ("dev-python/pyopengl-2.0.0.44 doesn't work w/ python-2.5"): http://bugs.gentoo.org/show_bug.cgi?id=192019
*** Bug 515660 has been marked as a duplicate of this bug. ***
*** Bug 515935 has been marked as a duplicate of this bug. ***
*** Bug 516175 has been marked as a duplicate of this bug. ***
*** Bug 516179 has been marked as a duplicate of this bug. ***
Workaround seems broken too: It should be "except GLUerror, e:" instead of "except GLUError, e:"
*** Bug 517556 has been marked as a duplicate of this bug. ***
Maxim, There seems to be a difference in the OpenGL libraries on gentoo; see bug 503238
Closing as complete as users are now hitting bug 503238 instead. There's something very weird in those Gentoo Python bindings...
*** Bug 520813 has been marked as a duplicate of this bug. ***
*** Bug 520814 has been marked as a duplicate of this bug. ***
*** Bug 520824 has been marked as a duplicate of this bug. ***
*** Bug 520870 has been marked as a duplicate of this bug. ***
*** Bug 521236 has been marked as a duplicate of this bug. ***
*** Bug 522721 has been marked as a duplicate of this bug. ***
*** Bug 528654 has been marked as a duplicate of this bug. ***
*** Bug 532368 has been marked as a duplicate of this bug. ***
*** Bug 535282 has been marked as a duplicate of this bug. ***
*** Bug 539111 has been marked as a duplicate of this bug. ***
*** Bug 539619 has been marked as a duplicate of this bug. ***
*** Bug 539945 has been marked as a duplicate of this bug. ***
*** Bug 539941 has been marked as a duplicate of this bug. ***
*** Bug 542131 has been marked as a duplicate of this bug. ***
*** Bug 570102 has been marked as a duplicate of this bug. ***
*** Bug 571401 has been marked as a duplicate of this bug. ***