<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - egl segfault since gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93737">93737</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>egl segfault since gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

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

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

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>adf.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>R9285 first noticed trying to set up wayland/weston, bisected with
eglgears_x11.

Since -

commit 321140d563730b210e6390c5b73c09fdcf9649af
Author: Nicolai Hähnle <<a href="mailto:nicolai.haehnle@amd.com">nicolai.haehnle@amd.com</a>>
Date:   Thu Jan 14 09:41:04 2016 -0500

    gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER

I get segfaults trying to run egl.

bt from gears

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=0x692b30, rbuffer=0x0)
at r600_buffer_common.c:219
219             if (rctx->ws->buffer_is_user_ptr(rbuffer->buf))
(gdb) bt
#0  0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=0x692b30,
rbuffer=0x0) at r600_buffer_common.c:219
#1  0x00007ffff2210dd2 in dri_flush (cPriv=<optimized out>, dPriv=<optimized
out>, flags=5, reason=<optimized out>) at dri_drawable.c:496
#2  0x00007ffff645ddb8 in dri2_x11_swap_buffers_msc (msc=0, divisor=0,
remainder=0, drv=<optimized out>, draw=0x6f9160, disp=<optimized out>) at
drivers/dri2/platform_x11.c:837
#3  dri2_x11_swap_buffers (drv=<optimized out>, disp=<optimized out>,
draw=0x6f9160) at drivers/dri2/platform_x11.c:873
#4  0x00007ffff6453d76 in eglSwapBuffers (dpy=0x62af30, surface=<optimized
out>) at main/eglapi.c:1010
#5  0x0000000000403a71 in _eglutNativeEventLoop () at eglut_x11.c:249
#6  0x000000000040328b in eglutMainLoop () at eglut.c:272
#7  0x0000000000401d16 in main (argc=1, argv=0x7fffffffe108) at eglgears.c:298</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>