[Mesa-dev] [Bug 60518] New: glDrawElements segfault when compiled into display list
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 8 13:55:06 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=60518
Priority: medium
Bug ID: 60518
Assignee: mesa-dev at lists.freedesktop.org
Summary: glDrawElements segfault when compiled into display
list
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: core13 at gmx.net
Hardware: x86-64 (AMD64)
Status: NEW
Version: 9.0
Component: Mesa core
Product: Mesa
VDrift git on a Fedora 18 box (Linux 3.7.6-201.fc18.x86_64, 2.1 Mesa 9.0.1)
will segfault in the GL2/1 fallback path:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffed92461b in _save_VertexAttrib4fvARB (index=<optimized out>, v=0x0)
at ../../../src/mesa/vbo/vbo_attrib_tmp.h:547
547 ATTR4FV(VBO_ATTRIB_GENERIC0 + index, v);
(gdb) bt
#0 0x00007fffed92461b in _save_VertexAttrib4fvARB (index=<optimized out>,
v=0x0)
at ../../../src/mesa/vbo/vbo_attrib_tmp.h:547
#1 0x00007fffed828a1a in _ae_ArrayElement (elt=0) at
../../../src/mesa/main/api_arrayelt.c:1670
#2 0x00007fffed9197bd in _save_OBE_DrawElements (mode=4, count=<optimized
out>, type=<optimized out>,
indices=<optimized out>) at ../../../src/mesa/vbo/vbo_save_api.c:1252
#3 0x000000000058bfb9 in MODEL::GenerateListID (this=0x9e7080,
error_output=...) at src/graphics/model.cpp:185
#4 0x000000000058b8b3 in MODEL::Load (this=0x9e7080, varray=...,
error_output=..., genlist=true)
at src/graphics/model.cpp:85
The code looks like this (with vertex, texcoord, normal pointers set):
glNewList(listid, GL_COMPILE);
glDrawElements(GL_TRIANGLES, facecount, GL_UNSIGNED_INT, faces);
glEndList();
Apitrace attached.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130208/e220788c/attachment-0001.html>
More information about the mesa-dev
mailing list