<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [swrast] SIGSEGV swrast/s_renderbuffer.c:559"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73757">73757</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[swrast] SIGSEGV swrast/s_renderbuffer.c:559
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: 1c5e2965a0de296240dd8f5af12482164416b7f1 (master)

Run piglit fbo-drawbuffers-none glColorMaskIndexed on swrast.

$ ./bin/fbo-drawbuffers-none glColorMaskIndexed -auto
Testing glColorMaskIndexed.
Probe color at (0,0)
  Expected: 1.000000 1.000000 0.200000 1.000000
  Observed: 0.200000 0.200000 0.200000 0.200000
  from color attachment 0,
  config (COLOR_ATTACHMENT3, COLOR_ATTACHMENT2, COLOR_ATTACHMENT1,
COLOR_ATTACHMENT0)
Probe color at (0,0)
  Expected: 0.200000 0.200000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000 0.200000
  from color <span class=""><a href="attachment.cgi?id=1" name="attach_1" title="various speedups">attachment 1</a> <a href="attachment.cgi?id=1&action=edit" title="various speedups">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=73757&attachment=1'>[review]</a>,
  config (COLOR_ATTACHMENT3, COLOR_ATTACHMENT2, COLOR_ATTACHMENT1,
COLOR_ATTACHMENT0)
Probe color at (0,0)
  Expected: 0.200000 1.000000 0.000000 0.200000
  Observed: 0.200000 0.000000 0.200000 0.200000
  from color <span class=""><a href="attachment.cgi?id=2" name="attach_2" title="fail on submake failure patch">attachment 2</a> <a href="attachment.cgi?id=2&action=edit" title="fail on submake failure patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=73757&attachment=2'>[review]</a>,
  config (COLOR_ATTACHMENT3, COLOR_ATTACHMENT2, COLOR_ATTACHMENT1,
COLOR_ATTACHMENT0)
Segmentation fault (core dumped)


Program terminated with signal 11, Segmentation fault.
#0  0x00007f45d2d61118 in map_attachment (ctx=0x7f45d7382010, fb=0x1fb3d00,
buffer=4294967295) at swrast/s_renderbuffer.c:559
559       struct gl_texture_object *texObj = fb->Attachment[buffer].Texture;
(gdb) bt
#0  0x00007f45d2d61118 in map_attachment (ctx=0x7f45d7382010, fb=0x1fb3d00,
buffer=4294967295) at swrast/s_renderbuffer.c:559
#1  0x00007f45d2d6155c in _swrast_map_renderbuffers (ctx=0x7f45d7382010) at
swrast/s_renderbuffer.c:662
#2  0x00007f45d2d5146e in _swrast_span_render_start (ctx=0x7f45d7382010) at
swrast/s_context.c:877
#3  0x00007f45d2d514ce in _swrast_render_start (ctx=0x7f45d7382010) at
swrast/s_context.c:895
#4  0x00007f45d2da0cbd in _swsetup_RenderStart (ctx=0x7f45d7382010) at
swrast_setup/ss_context.c:202
#5  0x00007f45d2d29725 in run_render (ctx=0x7f45d7382010, stage=0x1dd4b70) at
tnl/t_vb_render.c:276
#6  0x00007f45d2d15b5b in _tnl_run_pipeline (ctx=0x7f45d7382010) at
tnl/t_pipeline.c:163
#7  0x00007f45d2d1766d in _tnl_draw_prims (ctx=0x7f45d7382010,
arrays=0x1dc1bb0, prim=0x7fffe431efa0, nr_prims=1, ib=0x0, min_index=0,
max_index=3)
    at tnl/t_draw.c:526
#8  0x00007f45d2d172bf in _tnl_vbo_draw_prims (ctx=0x7f45d7382010,
prim=0x7fffe431efa0, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001',
min_index=0, 
    max_index=3, tfb_vertcount=0x0, indirect=0x0) at tnl/t_draw.c:426
#9  0x00007f45d2cec5c4 in vbo_draw_arrays (ctx=0x7f45d7382010, mode=5, start=0,
count=4, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:661
#10 0x00007f45d2ced00f in vbo_exec_DrawArrays (mode=5, start=0, count=4) at
vbo/vbo_exec_array.c:813
#11 0x00007f45d6f069d7 in piglit_draw_rect_from_arrays (verts=0x7fffe431f070,
tex=0x0) at piglit/tests/util/piglit-util-gl-common.c:632
#12 0x00007f45d6f06d4f in piglit_draw_rect (x=-1, y=-1, w=2, h=2) at
piglit/tests/util/piglit-util-gl-common.c:741
#13 0x0000000000401c3f in test_glColorMaskIndexed (drawbufs=0x402510
<drawbuf_config+16>)
    at piglit/tests/spec/arb_framebuffer_object/fbo-drawbuffers-none.c:294
#14 0x0000000000402204 in piglit_init (argc=2, argv=0x7fffe431f2c8)
    at piglit/tests/spec/arb_framebuffer_object/fbo-drawbuffers-none.c:431
#15 0x00007f45d6f098fa in run_test (gl_fw=0x7f45d71f7340 <glut_fw>, argc=2,
argv=0x7fffe431f2c8)
    at piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:140
#16 0x00007f45d6f076c9 in piglit_gl_test_run (argc=2, argv=0x7fffe431f2c8,
config=0x7fffe431f190)
    at piglit/tests/util/piglit-framework-gl.c:191
#17 0x0000000000401630 in main (argc=2, argv=0x7fffe431f2c8) at
piglit/tests/spec/arb_framebuffer_object/fbo-drawbuffers-none.c:50
(gdb) frame 0
#0  0x00007f45d2d61118 in map_attachment (ctx=0x7f45d7382010, fb=0x1fb3d00,
buffer=4294967295) at swrast/s_renderbuffer.c:559
559       struct gl_texture_object *texObj = fb->Attachment[buffer].Texture;
(gdb) print /x buffer
$1 = 0xffffffff</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>