<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [llvmpipe] SIGSEGV src/gallium/drivers/llvmpipe/lp_texture.c:600"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77023#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [llvmpipe] SIGSEGV src/gallium/drivers/llvmpipe/lp_texture.c:600"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77023">bug 77023</a>
              from <span class="vcard"><a class="email" href="mailto:brianp@vmware.com" title="Brian Paul <brianp@vmware.com>"> <span class="fn">Brian Paul</span></a>
</span></b>
        <pre>The problem is we're mapping the same texture (but different slices) multiple
times simultaneously.  The state tracker doesn't support that.

This assertion fails if I put it in st_texture.c:

--- a/src/mesa/state_tracker/st_texture.c
+++ b/src/mesa/state_tracker/st_texture.c
@@ -256,6 +256,9 @@ st_texture_image_map(struct st_context *st, struct
st_textur
e_image *stImage,
    else
       level = stImage->base.Level;

+   /* check that the texture's not already mapped */
+   assert(!stImage->transfer);
+
    return pipe_transfer_map_3d(st->pipe, stImage->pt, level, usage,
                                x, y, z + stImage->base.Face,
                                w, h, d, &stImage->transfer);

Gallium allows mapping multiple slices of a 3D texture, but not Mesa's
ctx->Driver.MapTextureImage.</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>