http://bugs.freedesktop.org/show_bug.cgi?id=26768
Summary: Segmentation fault with indirect rendering
Product: Mesa
Version: 7.6
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: medium
Component: GLX
AssignedTo: [email protected]
ReportedBy: [email protected]
When using indirect rendering and the program "framebufferobject" from the Qt
demos a segmentation fault happens.
The segmentation fault is in src/glx/x11/indirect_vertex_array.c:
__glXPushArrayState(), because glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT)
is called twice or more times.
The solution is to change src/glx/x11/indirect_vertex_array.c, line 293
(function glXInitVertexArrayState) from:
arrays->stack = malloc(sizeof(struct array_stack_state)
* arrays->num_arrays);
to:
arrays->stack = malloc( sizeof( struct array_stack_state )
* arrays->num_arrays
*__GL_CLIENT_ATTRIB_STACK_DEPTH);
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® 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
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev