From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 82517] New: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player Date: Tue, 12 Aug 2014 16:04:42 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0979502863==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 925F96E253 for ; Tue, 12 Aug 2014 09:04:42 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0979502863== Content-Type: multipart/alternative; boundary="1407859482.3D7150.1610"; charset="us-ascii" --1407859482.3D7150.1610 Date: Tue, 12 Aug 2014 16:04:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=82517 Priority: medium Bug ID: 82517 Assignee: dri-devel@lists.freedesktop.org Summary: [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player Severity: normal Classification: Unclassified OS: Linux (All) Reporter: kai@dev.carbon-project.org Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa Created attachment 104510 --> https://bugs.freedesktop.org/attachment.cgi?id=104510&action=edit GDB backtrace of the crash in the VDPAU module This is NOT bug 82428, I have the patch from attachment 104443 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: > 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); 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: > 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 libdrm: 2.4.56-1 LLVM: SVN:trunk/r215347 (3.6 snapshot) libclc: Git:master/5b48f170c8 Mesa: Git:master/4c16e6a8e0 + patch from attachment 104443 DDX: Git:master/fbf575cb01 + patch from X: 2:1.16.0-1 (1.16.0) -- You are receiving this mail because: You are the assignee for the bug. --1407859482.3D7150.1610 Date: Tue, 12 Aug 2014 16:04:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 82517
Assignee dri-devel@lists.freedesktop.org
Summary [RADEONSI,VDPAU] SIGSEGV in map_msg_fb_buf called from ruvd_destroy, when closing a Tab with accelerated video player
Severity normal
Classification Unclassified
OS Linux (All)
Reporter kai@dev.carbon-project.org
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/radeonsi
Product Mesa

Created attachment 104510 [details]
GDB backtrace of the crash in the VDPAU module

This is NOT bug 82428, I have the patch from attachment 104443 [details] [review] 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:

> 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);

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: <http://people.freedesktop.org/~agd5f/radeon_ucode/ucode.tar.gz>
> 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
libdrm: 2.4.56-1
LLVM: SVN:trunk/r215347 (3.6 snapshot)
libclc: Git:master/5b48f170c8
Mesa: Git:master/4c16e6a8e0 + patch from attachment 104443 [details] [review]
DDX: Git:master/fbf575cb01 + patch from
<http://lists.x.org/archives/xorg-driver-ati/2014-August/026534.html>
X: 2:1.16.0-1 (1.16.0)


You are receiving this mail because:
  • You are the assignee for the bug.
--1407859482.3D7150.1610-- --===============0979502863== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0979502863==--