<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 --- - bug in clearing color buffer"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75061">75061</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>bug in clearing color buffer
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ya.maxis11@yandex.ru
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Created <span class=""><a href="attachment.cgi?id=94169" name="attach_94169" title="program which seg fault.">attachment 94169</a> <a href="attachment.cgi?id=94169&action=edit" title="program which seg fault.">[details]</a></span>
program which seg fault.

I have example program, that creates 2 context for 2 threads. Program runs 2-3
seconds and crashes (segmentation fault). It crashes in glClear(
GL_COLOR_BUFFER_BIT ); Exactly in: rctx->gtt += rr->buf->size; (114 line;
function: r600_context_add_resource_size; file:
r600_context_adr600_buffer_common.c) Flags: autogen.sh --with-dri-drivers=""
--enable-gbm --enable-gallium-gbm --enable-glx-tls --with-gallium-drivers=r600
--enable-driglx-direct --enable-opencl --enable-opencl-icd
--with-llvm-shared-libs --enable-r600-llvm-compiler --enable-openvg
--enable-gles2 --enable-gles1 --prefix=/usr/local --enable-xa
--enable-gallium-egl --enable-texture-float --enable-selinux</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>