Bug 40413 - [swrast] piglit draw-elements-base-vertex regression
Summary: [swrast] piglit draw-elements-base-vertex regression
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Brian Paul
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 17:59 UTC by Vinson Lee
Modified: 2011-08-30 12:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2011-08-26 17:59:43 UTC
mesa: f8e6d19f3f40931be741b44d3edf210c38e13f0f (master)

piglit draw-elements-base-vertex now crashes with swrast. It previously ran to completion and passed.

$ ./bin/draw-elements-base-vertex -auto
Segmentation fault (core dumped)


(gdb) bt
#0  0x0061289d in _tnl_render_quads_elts (ctx=0x8a57bf8, start=0, count=8, flags=55) at tnl/t_vb_rendertmp.h:383
#1  0x00613233 in run_render (ctx=0x8a57bf8, stage=0x8aaf9d8) at tnl/t_vb_render.c:321
#2  0x00604245 in _tnl_run_pipeline (ctx=0x8a57bf8) at tnl/t_pipeline.c:163
#3  0x006056e8 in _tnl_draw_prims (ctx=0x8a57bf8, arrays=0x8a9dc7c, prim=0xbf9b6bf4, nr_prims=1, ib=0xbf9b6c08, min_index=0, max_index=7)
    at tnl/t_draw.c:535
#4  0x006053fc in _tnl_vbo_draw_prims (ctx=0x8a57bf8, arrays=0x8a9dc7c, prim=0xbf9b6bf4, nr_prims=1, ib=0xbf9b6c08, index_bounds_valid=0 '\000', 
    min_index=0, max_index=7) at tnl/t_draw.c:435
#5  0x005f505e in vbo_validated_drawrangeelements (ctx=0x8a57bf8, mode=7, index_bounds_valid=0 '\000', start=4294967295, end=4294967295, count=8, 
    type=5125, indices=0x140, basevertex=0, numInstances=1) at vbo/vbo_exec_array.c:860
#6  0x005f5606 in vbo_exec_DrawElementsBaseVertex (mode=7, count=8, type=5125, indices=0x140, basevertex=0) at vbo/vbo_exec_array.c:1040
#7  0x0806ae94 in piglit_display () at piglit/tests/general/draw-elements-base-vertex.c:109
#8  0x0806b9f7 in display () at piglit/tests/util/piglit-framework.c:48
#9  0x002d2820 in fghRedrawWindow (window=0x8a54ff8, enumerator=0xbf9b6dd8) at freeglut_main.c:210
#10 fghcbDisplayWindow (window=0x8a54ff8, enumerator=0xbf9b6dd8) at freeglut_main.c:227
#11 0x002d6660 in fgEnumWindows (enumCallback=0x2d2790 <fghcbDisplayWindow>, enumerator=0xbf9b6dd8) at freeglut_structure.c:394
#12 0x002d2cdb in fghDisplayAll () at freeglut_main.c:249
#13 glutMainLoopEvent () at freeglut_main.c:1450
#14 0x002d3605 in glutMainLoop () at freeglut_main.c:1498
#15 0x0806bcc8 in main (argc=1, argv=0xbf9b7064) at piglit/tests/util/piglit-framework.c:144
(gdb) frame 0 
#0  0x0061289d in _tnl_render_quads_elts (ctx=0x8a57bf8, start=0, count=8, flags=55) at tnl/t_vb_rendertmp.h:383
383	            RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) );
(gdb) info locals
j = 3
tnl = 0x8aaf7c8
VB = 0x8aafc04
elt = 0x140
LineFunc = 0x683773 <swsetup_line>
TriangleFunc = 0x67e24a <triangle_rgba>
QuadFunc = 0x67e3b5 <quadfunc_rgba>
stipple = 0 '\000'
Comment 1 Vinson Lee 2011-08-26 19:18:26 UTC
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
28249bd260f4c52badf3eb61ade2744604b21bca
cccc7412c22a704d85203d7bb9c8e73d45cccf49
655c7d7498390ab69623e308abe5db4a8489a25c
b2184da684fc20849b5e6e554f0a0f92d2872ce9
2ea1ff38164d95f8291ef2e5dfe2cb13936a60f2
6183edc070e2d3dce36ab5ee7aee72b0c38775a7
0d636213d491f88726155e12c3b445a88e0f1cd8
f973be59fa293ea75f05cdbac2372360deb5e186
4ddae2fb666c86e3267ef6e3d2699f9bfb40d206
9bda86c3550090f5370ef2d010e659758dc9a540
6c8aa3491a19535e8c39a47a3766bf8524e80582
70b1837dfb1b282ad9efcaeec4f9c8da5f9a74d8
1284d5b25507a56634519ac385cbc00a00b94417
92f3fca0ea429dcf07123e63447449db53308266
12d924c5ae14a1c6a05a3dcae29b77e7668e227d
cc9a8915f093c57d2748370d18ed47f66c933013
c3ad95ed40fca72dbc6c157de2948cb6d074aaac
We cannot bisect more!
bisect run cannot continue any more
Comment 2 Brian Paul 2011-08-30 09:18:52 UTC
Fixed w/ commit 5d9e242c3e28046e9c8ae1760533f92841d0cfaf
Comment 3 Vinson Lee 2011-08-30 12:34:27 UTC
mesa: 1995d1e2070f8cda9e2ce489c694e0949749c8cb (master)

Verified fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.