<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 - vaTerminate crashes the app"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91546">91546</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>vaTerminate crashes the app
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ratin3@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=117499" name="attach_117499" title="vaTerminate causes segfault in _int_free">attachment 117499</a> <a href="attachment.cgi?id=117499&action=edit" title="vaTerminate causes segfault in _int_free">[details]</a></span>
vaTerminate causes segfault in _int_free

(gdb) p pVaContext2->context_id
$18 = 0
(gdb) n
3346        if (pVaContext && pVaContext->config_id
)vaDestroyConfig(pVAAPICNTX->vaDisplay, pVaContext->config_id);
(gdb) p pVaContext
$19 = (struct vaapi_context *) 0x7fffe84cb710
(gdb) p *pVaContext
$20 = {display = 0x7fffe84f3ea0, config_id = 16777216, context_id = 0,
pic_param_buf_id = 0, iq_matrix_buf_id = 0, bitplane_buf_id = 0, slice_buf_ids
= 0x0, n_slice_buf_ids = 0, 
  slice_buf_ids_alloc = 0, slice_params = 0x0, slice_param_size = 2088,
slice_params_alloc = 0, slice_count = 0, slice_data = 0x0, slice_data_size = 0}
(gdb) p pVaContext->config_id
$21 = 16777216
(gdb) 
$22 = 16777216
(gdb) n
3347        if (pVaContext2 && pVaContext2->config_id
)vaDestroyConfig(pVAAPICNTX->vaDisplay, pVaContext2->config_id);
(gdb) 
3350        if (pVAAPICNTX->vaDisplay)
(gdb) p pVAAPICNTX->vaDisplay
$23 = (VADisplay) 0x7fffe84f3ea0
(gdb) 
$24 = (VADisplay) 0x7fffe84f3ea0
(gdb) n
3352            vaTerminate(pVAAPICNTX->vaDisplay);
(gdb) 

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4bb5c6d in _int_free (av=0x7fffe8000020, p=<optimized out>,
have_lock=0) at malloc.c:3987
3987    malloc.c: No such file or directory.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>