[ pyopengl-Bugs-2980896 ] Creating ~8000 VBOs crashes python with PyOpenGL-accelerate

"SourceForge.net" <[email protected]> Fri, 02 Apr 2010 01:51:00 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2980896, was opened at 2010-04-02 01:51
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2980896&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: GL
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: Creating ~8000 VBOs crashes python with PyOpenGL-accelerate

Initial Comment:
Allocating ~8000 VBOs causes python to exit with the message "Fatal Python error: deallocating None" when PyOpenGL-accelerate is installed.  It's easy to hit this limit with rapidly changing content, e.g. incoming experimental data.  Uninstalling PyOpenGL-accelerate avoids this crash, and the code seems to work fine in that case.  This is a reasonable workaround for the moment, but it would be nice to be able to use PyOpenGL-accelerate in the long term.  

System: Ubuntu 9.10, AMD_64, PyOpenGL 3.0.1b1, Intel X3100 graphics

Here's a minimal reproduction case:

from OpenGL.arrays import vbo
import numpy as np

data = np.arange(1000).astype(np.float32)
for i in range(1000000): 
    new_vbo = vbo.VBO(data)
    # optional: new_vbo.delete


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

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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net