[ pyopengl-Bugs-2300218 ] crash inside glGetBoolean(GL_TEXTURE_2D)

"SourceForge.net" <[email protected]> Sun, 16 Nov 2008 19:02:28 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2300218, was opened at 2008-11-16 19:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2300218&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andre Klapper (riot69)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash inside glGetBoolean(GL_TEXTURE_2D)

Initial Comment:
http://bugzilla.gnome.org/show_bug.cgi?id=552981 is receiving lots of duplicates, and it seems to be a PyOpenGL issue.
Kindly asking for investigating here:

----------- .xsession-errors ---------------------
    self.chessSet.drawPiece(self.name, state, self.scene)
  File "/var/lib/python-support/python2.5/glchess/scene/opengl/new_models.py",
line 110, in drawPiece
    if glGetBoolean(GL_TEXTURE_2D):
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/wrapper.py",
line 1631, in __call__
    return self.finalise()( *args, **named )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/wrapper.py",
line 683, in wrapperCall
    converter( pyArgs, index, self )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/converters.py",
line 195, in __call__
    return self.arrayType.zeros( self.getSize(pyArgs) )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/arrays/arraydatatype.py",
line 98, in zeros
    return cls.returnHandler().zeros( dims, typeCode or cls.typeConstant )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/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 0x84904fc>',
[GL_TEXTURE_2D], 1, <OpenGL.wrapper.glGetIntegerv object at 0x8
--------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/glchess/gtkui/chessview.py", line
166, in __expose
    self.view.feedback.renderGL()
  File "/var/lib/python-support/python2.5/glchess/display.py", line 467, in
renderGL
    self.scene.controller.render()
  File "/var/lib/python-support/python2.5/glchess/scene/opengl/opengl.py", line
326, in render
    self.drawPieces()
  File "/var/lib/python-support/python2.5/glchess/scene/opengl/opengl.py", line
728, in drawPieces
    piece.draw()
  File "/var/lib/python-support/python2.5/glchess/scene/opengl/opengl.py", line
104, in draw
    self.chessSet.drawPiece(self.name, state, self.scene)
  File "/var/lib/python-support/python2.5/glchess/scene/opengl/new_models.py",
line 110, in drawPiece
    if glGetBoolean(GL_TEXTURE_2D):
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/wrapper.py",
line 1631, in __call__
    return self.finalise()( *args, **named )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/wrapper.py",
line 683, in wrapperCall
    converter( pyArgs, index, self )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/converters.py",
line 195, in __call__
    return self.arrayType.zeros( self.getSize(pyArgs) )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/OpenGL/arrays/arraydatatype.py",
line 98, in zeros
    return cls.returnHandler().zeros( dims, typeCode or cls.typeConstant )
  File
"/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b6-py2.5.egg/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 0x84904fc>',
[GL_TEXTURE_2D], 1, <OpenGL.wrapper.glGetIntegerv object at 0x849f28c>)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2300218&group_id=5988

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net