<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 --- - [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82517">82517</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>kai@dev.carbon-project.org
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=104510" name="attach_104510" title="GDB backtrace of the crash in the VDPAU module">attachment 104510</a> <a href="attachment.cgi?id=104510&action=edit" title="GDB backtrace of the crash in the VDPAU module">[details]</a></span>
GDB backtrace of the crash in the VDPAU module

This is NOT <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU"
   href="show_bug.cgi?id=82428">bug 82428</a>, I have the patch from <span class=""><a href="attachment.cgi?id=104443" name="attach_104443" title="Possible fix">attachment 104443</a> <a href="attachment.cgi?id=104443&action=edit" title="Possible fix">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=82517&attachment=104443'>[review]</a> applied!

When closing a tab in a browser (Iceweasel/Firefox 31 in my case), that
contains a Flash video player, that uses VDPAU for accelerated playback, I see
the following crash:

<span class="quote">> Program received signal SIGSEGV, Segmentation fault.
> 0x00007f76ed331f57 in map_msg_fb_buf (dec=0x7f76fa66b6f0) at ../../../../../../src/gallium/drivers/radeon/radeon_uvd.c:125
> 125             ptr = dec->ws->buffer_map(buf->cs_handle, dec->cs, PIPE_TRANSFER_WRITE);</span >

This takes the plugin-container process down with it. Which means it's mostly
annoying.

The attached file contains a full backtrace with GDB attached to the
plugin-container process.


My stack is (base: Debian Testing):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Linux: Git:~agdf5/linux:drm-next-3.17-rebased-on-fixes:fa78380797 (calls itself
3.16-rc6)
Firmware: <<a href="http://people.freedesktop.org/~agd5f/radeon_ucode/ucode.tar.gz">http://people.freedesktop.org/~agd5f/radeon_ucode/ucode.tar.gz</a>>
<span class="quote">> 9e05820da42549ce9c89d147cf1f8e19  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_ce.bin
> c8bab593090fc54f239c8d7596c8d846  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_mc.bin
> 3618dbb955d8a84970e262bb2e6d2a16  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_me.bin
> c000b0fc9ff6582145f66504b0ec9597  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_mec.bin
> 0643ad24b3beff2214cce533e094c1b7  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_pfp.bin
> ba6054b7d78184a74602fd81607e1386  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_rlc.bin
> 11288f635737331b69de9ee82fe04898  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_sdma.bin
> 284429675a5560e0fad42aa982965fc2  /lib/firmware/updates/3.16.0-rc6-citadel/radeon/hawaii_smc.bin</span >
libdrm: 2.4.56-1
LLVM: SVN:trunk/r215347 (3.6 snapshot)
libclc: Git:master/5b48f170c8
Mesa: Git:master/4c16e6a8e0 + patch from <span class=""><a href="attachment.cgi?id=104443" name="attach_104443" title="Possible fix">attachment 104443</a> <a href="attachment.cgi?id=104443&action=edit" title="Possible fix">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=82517&attachment=104443'>[review]</a>
DDX: Git:master/fbf575cb01 + patch from
<<a href="http://lists.x.org/archives/xorg-driver-ati/2014-August/026534.html">http://lists.x.org/archives/xorg-driver-ati/2014-August/026534.html</a>>
X: 2:1.16.0-1 (1.16.0)</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>