Bug 29987 - [softpipe] SIGSEGV draw/draw_pt_fetch_shade_pipeline.c:189
Summary: [softpipe] SIGSEGV draw/draw_pt_fetch_shade_pipeline.c:189
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Dave Airlie
QA Contact:
: 30165 (view as bug list)
Depends on:
Blocks: mesa-7.9
  Show dependency treegraph
Reported: 2010-09-03 00:33 UTC by Vinson Lee
Modified: 2010-09-17 10:54 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Description Vinson Lee 2010-09-03 00:33:43 UTC
mesa: b009d50f4465d2b38613b5f8664121f56932f1c5 (master)

Run piglit test vp-ignore-input.

$ ./bin/vp-ignore-input
Mesa: Mesa 7.9-devel DEBUG build Sep  2 2010 13:53:21
Segmentation fault (core dumped)

(gdb) bt
#0  0x00fa4038 in ?? ()
#1  0x007d3e3d in draw_vertex_shader_run (vshader=0x9cea6b8, constants=0x9891cc0, const_size=0x9891d40, 
    input_verts=0xbfb4b138, output_verts=0xbfb4b128) at draw/draw_pt_fetch_shade_pipeline.c:189
#2  0x007d3f71 in fetch_pipeline_generic (middle=0x989b088, fetch_info=0x0, prim_info=0xbfb4b18c)
    at draw/draw_pt_fetch_shade_pipeline.c:238
#3  0x007d4163 in fetch_pipeline_linear_run (middle=0x989b088, start=0, count=4, prim_flags=0)
    at draw/draw_pt_fetch_shade_pipeline.c:345
#4  0x007d8a39 in vsplit_segment_simple_linear (vsplit=0x98985a0, flags=0, istart=0, icount=4)
    at draw/draw_pt_vsplit_tmp.h:229
#5  0x007d8d8f in vsplit_run_linear (frontend=0x98985a0, start=0, count=4) at draw/draw_split_tmp.h:61
#6  0x007d1c57 in draw_pt_arrays (draw=0x98917a8, prim=0, start=0, count=4) at draw/draw_pt.c:113
#7  0x007d243c in draw_vbo (draw=0x98917a8, info=0xbfb4b75c) at draw/draw_pt.c:398
#8  0x005c4c1c in softpipe_draw_vbo (pipe=0x9890888, info=0xbfb4b75c) at sp_draw_arrays.c:143
#9  0x006ab119 in st_draw_vbo (ctx=0x98a44a0, arrays=0x98e9aac, prims=0xbfb4b7e0, nr_prims=1, ib=0x0, 
    index_bounds_valid=1 '\001', min_index=0, max_index=3) at state_tracker/st_draw.c:719
#10 0x00771726 in vbo_exec_DrawArrays (mode=0, start=0, count=4) at vbo/vbo_exec_array.c:526
#11 0x006a13f9 in neutral_DrawArrays (mode=0, start=0, count=4) at main/vtxfmt_tmp.h:327
#12 0x0804a66d in piglit_display () at piglit/tests/shaders/vp-ignore-input.c:124
#13 0x0804bf07 in display () at piglit/tests/util/piglit-framework.c:52
#14 0x00a71820 in fghRedrawWindow (window=0x988fdd8, enumerator=0xbfb4b948) at freeglut_main.c:210
#15 fghcbDisplayWindow (window=0x988fdd8, enumerator=0xbfb4b948) at freeglut_main.c:227
#16 0x00a75660 in fgEnumWindows (enumCallback=0xa71790 <fghcbDisplayWindow>, enumerator=0xbfb4b948)
    at freeglut_structure.c:394
#17 0x00a71cdb in fghDisplayAll () at freeglut_main.c:249
#18 glutMainLoopEvent () at freeglut_main.c:1450
#19 0x00a72605 in glutMainLoop () at freeglut_main.c:1498
#20 0x0804c0b0 in main (argc=1, argv=0xbfb4bbd4) at piglit/tests/util/piglit-framework.c:118
Comment 1 Vinson Lee 2010-09-03 01:09:37 UTC
557a71c50631a232528f654fa8b8e4add0e565d2 is the first bad commit
commit 557a71c50631a232528f654fa8b8e4add0e565d2
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Sep 2 09:45:37 2010 +1000

    mesa/st: remove check for buffer/elements = 0
    shown by the glsl-vs-point-size failing on r600g.
    the test passes on softpipe and I get a full piglit test run completing on r600g.

:040000 040000 9356be064454237c04de83968ab2376287bca610 757653a77f4742333d2c7ed51d4eb51b72e604e7 M	src
bisect run success
Comment 2 Vinson Lee 2010-09-13 10:57:14 UTC
*** Bug 30165 has been marked as a duplicate of this bug. ***
Comment 3 Vinson Lee 2010-09-15 04:50:23 UTC
piglit glsl-vs-point-size crashes on softpipe with the same backtrace.
Comment 4 Brian Paul 2010-09-16 18:06:07 UTC
It was a bug in the SSE code path.  Fixed with Mesa commit 4b27c614cf4b06ad0c2a0414f60737f19eed021d.
Comment 5 Vinson Lee 2010-09-17 10:54:52 UTC
mesa: fd266ec62ca772a8551d2d7922d718d9d84bdf07 (master)
mesa: 83917660f1323bd8a50e8ba6ed2ff33d36880371 (7.9)

Verified fixed.

vp-ignore-input and glsl-vs-point-size pass on softpipe.

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.