Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=6656
Summary: arbvptest3 segfaults because of bad index to tnl-
>vtx.tabfv
Product: Mesa
Version: CVS
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
0x00000000 in ?? ()
(gdb) f 1
#1 0xb7960627 in _tnl_VertexAttrib3fARB (index=19, x=1, y=0.5, z=0.25)
at tnl/t_vtx_generic.c:472
472 tnl->vtx.tabfv[index][3-1]( &z );
(gdb) p index
$1 = 19
_tnl_VertexAttrib3fARB (and other functions in t_vtx_generic.) have the
following code snippet:
if (index >= MAX_VERTEX_ATTRIBS)
index = ERROR_ATTRIB;
else
index += VERT_ATTRIB_GENERIC0;
MAX_VERTEX_ATTRIBS == VERT_ATTRIB_GENERIC0 == 16, and tabfv only has 17 slots,
so this doesn't make sense.
The segfault happened with the r300 driver, but it doesn't seem to be driver
specific.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev