Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,865
    • Issues 2,865
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 894
    • Merge requests 894
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #306

Closed
Open
Created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

[swrast] SIGSEGV x86/sse_xform2.S:203

Submitted by Vinson Lee

Assigned to Brian Paul @brianp

Link to original bug (#34464)

Description

mesa: e16e7061 (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) */

Version: git

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking