[ pyopengl-Bugs-2300218 ] crash inside glGetBoolean(GL_TEXTURE_2D)
"SourceForge.net" <[email protected]> Sun, 26 Apr 2009 21:39:46 +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 (Comment added) made by nobody
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>)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-26 21:39
Message:
Same for me with glGetDoublev(GL_VIEWPORT)
OpenGL.__version__ = '3.0.0b6'
This is on Ubuntu 9.04
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-02 13:09
Message:
Same for me on debian lenny with 3.0.0~b6-3, going back to b3-1 resolves
the problem.
----------------------------------------------------------------------
Comment By: Ignazio Di Napoli (neclepsio)
Date: 2008-11-21 23:37
Message:
I have the very same problem, but with glGetInteger(GL_DEPTH_BITS). This
only happens with b6, going back to b5 makes the error disappear.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2300218&group_id=5988
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net