[ pyopengl-Bugs-2300218 ] crash inside glGetBoolean(GL_TEXTURE_2D)
"SourceForge.net" <[email protected]> Sun, 19 Jul 2009 01:26:21 +0000
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2300218, was opened at 2008-11-16 14:02
Message generated for change (Comment added) made by mcfletch
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: Closed
>Resolution: Works For Me
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: Mike C. Fletcher (mcfletch)
Date: 2009-07-18 21:26
Message:
Sorry this bug didn't get addressed last year. I can't reproduce the
behaviour on Ubuntu amd64, the traceback suggests that the NonesHandler was
registered as being a return-type handler, which should not be possible on
current bzr head (at least, I don't see how it could happen).
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-05-04 21:17
Message:
thanks for the work around
----------------------------------------------------------------------
Comment By: Lino Mastrodomenico (mastrodomenico)
Date: 2009-04-30 17:28
Message:
A workaround is to install python-numpy (tested on Ubuntu 9.04).
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-26 17: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 08: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 18: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
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net