Bug 34464 - [swrast] SIGSEGV x86/sse_xform2.S:203
Summary: [swrast] SIGSEGV x86/sse_xform2.S:203
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/swrast (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Brian Paul
QA Contact:
: 21892 (view as bug list)
Depends on:
Reported: 2011-02-18 15:08 UTC by Vinson Lee
Modified: 2019-09-18 18:44 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Vinson Lee 2011-02-18 15:08:38 UTC
mesa: e16e70610c459721f4344dc6e61a8af1c2ad870d (master)

Run piglit draw-elements-base-vertex-neg on swrast.

$ ./bin/draw-elements-base-vertex-neg -auto
BaseVertex = -1
BaseVertex = -2
Probe at (25,5)
  Expected: 1.000000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000
BaseVertex = -37
Segmentation fault (core dumped)

(gdb) bt
#0  _mesa_sse_transform_points2_3d_no_rot () at x86/sse_xform2.S:203
#1  0x0028626b in run_vertex_stage (ctx=0x84cdbf8, stage=0x8524598) at tnl/t_vb_vertex.c:161
#2  0x002755d5 in _tnl_run_pipeline (ctx=0x84cdbf8) at tnl/t_pipeline.c:153
#3  0x002769fe in _tnl_draw_prims (ctx=0x84cdbf8, arrays=0xbf90b77c, prim=0xbf90b994, nr_prims=1, ib=0xbf90b7fc, min_index=0, max_index=2) at tnl/t_draw.c:524
#4  0x00276712 in _tnl_vbo_draw_prims (ctx=0x84cdbf8, arrays=0xbf90b77c, prim=0xbf90b994, nr_prims=1, ib=0xbf90b7fc, index_bounds_valid=1 '\001', min_index=0, 
    max_index=2) at tnl/t_draw.c:424
#5  0x003bf3df in vbo_rebase_prims (ctx=0x84cdbf8, arrays=0x8512908, prim=0xbf90b994, nr_prims=1, ib=0xbf90b7fc, min_index=37, max_index=39, 
    draw=0x276698 <_tnl_vbo_draw_prims>) at vbo/vbo_rebase.c:234
#6  0x00276827 in _tnl_draw_prims (ctx=0x84cdbf8, arrays=0x8512908, prim=0xbf90b994, nr_prims=1, ib=0xbf90b9a8, min_index=37, max_index=39) at tnl/t_draw.c:467
#7  0x00276712 in _tnl_vbo_draw_prims (ctx=0x84cdbf8, arrays=0x8512908, prim=0xbf90b994, nr_prims=1, ib=0xbf90b9a8, index_bounds_valid=0 '\000', min_index=37, 
    max_index=39) at tnl/t_draw.c:424
#8  0x002666e5 in vbo_validated_drawrangeelements (ctx=0x84cdbf8, mode=4, index_bounds_valid=0 '\000', start=4294967295, end=4294967295, count=3, type=5125, 
    indices=0x0, basevertex=-37, numInstances=1) at vbo/vbo_exec_array.c:821
#9  0x00266d4d in vbo_exec_DrawElementsBaseVertex (mode=4, count=3, type=5125, indices=0x0, basevertex=-37) at vbo/vbo_exec_array.c:998
#10 0x0806a3a8 in test_negative_index_offset (x1=40, y1=0, x2=60, y2=20, index=37) at piglit/tests/general/draw-elements-base-vertex-neg.c:79
#11 0x0806a4e7 in piglit_display () at piglit/tests/general/draw-elements-base-vertex-neg.c:100
#12 0x0806c777 in display () at piglit/tests/util/piglit-framework.c:52
#13 0x00cca820 in fghRedrawWindow (window=0x84caff8, enumerator=0xbf90bbb8) at freeglut_main.c:210
#14 fghcbDisplayWindow (window=0x84caff8, enumerator=0xbf90bbb8) at freeglut_main.c:227
#15 0x00cce660 in fgEnumWindows (enumCallback=0xcca790 <fghcbDisplayWindow>, enumerator=0xbf90bbb8) at freeglut_structure.c:394
#16 0x00ccacdb in fghDisplayAll () at freeglut_main.c:249
#17 glutMainLoopEvent () at freeglut_main.c:1450
#18 0x00ccb605 in glutMainLoop () at freeglut_main.c:1498
#19 0x0806c920 in main (argc=1, argv=0xbf90be44) at piglit/tests/util/piglit-framework.c:118
(gdb) frame 0
#0  _mesa_sse_transform_points2_3d_no_rot () at x86/sse_xform2.S:203
203	    MOVLPS   ( XMM0, D(0) )			/* -> D(1) | -> D(0) */
Comment 1 Timothy Arceri 2018-04-10 06:40:03 UTC
*** Bug 21892 has been marked as a duplicate of this bug. ***
Comment 2 GitLab Migration User 2019-09-18 18:44:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/306.

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.