<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 - gstreamer vaapih264enc segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102006">102006</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>gstreamer vaapih264enc segfault
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg 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>DRM/Radeon
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>rataj28@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=133180" name="attach_133180" title="proposed patch by Julien Isorce">attachment 133180</a> <a href="attachment.cgi?id=133180&action=edit" title="proposed patch by Julien Isorce">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=102006&attachment=133180'>[review]</a>
proposed patch by Julien Isorce

Based on following bug:

<a href="https://bugzilla.gnome.org/show_bug.cgi?id=785085">https://bugzilla.gnome.org/show_bug.cgi?id=785085</a>

In Mesa the picture_id is a frame number which is in the range 0-31 here:

<a href="https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/picture.c#n430">https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/picture.c#n430</a>

In gst vaapi it is used as surface handles and that can be larger than 31 thus
causing SEGFAULT.</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>