From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video Date: Thu, 30 Oct 2014 07:23:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1628081124==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7E4E16E6CD for ; Thu, 30 Oct 2014 00:23:50 -0700 (PDT) In-Reply-To: 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 --===============1628081124== Content-Type: multipart/alternative; boundary="1414653830.C7d6E0.24181"; charset="UTF-8" --1414653830.C7d6E0.24181 Date: Thu, 30 Oct 2014 07:23:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D85613 --- Comment #4 from Michel D=C3=A4nzer --- >>From bug 85268: > =3D=3D13424=3D=3D Invalid read of size 8 > =3D=3D13424=3D=3D at 0x1A6A4291: destroy_video_buffer_private (in /usr= /lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0) > =3D=3D13424=3D=3D by 0x1A6C0127: vl_video_buffer_destroy (in /usr/lib/= x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0) > =3D=3D13424=3D=3D by 0x1A627314: vlVdpVideoSurfaceDestroy (in /usr/lib= /x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0) > =3D=3D13424=3D=3D by 0x189B4092: SurfaceDestroy (in /usr/lib/vlc/plugi= ns/vdpau/libvdpau_avcodec_plugin.so) > =3D=3D13424=3D=3D by 0x30D0E8DCF4: picture_Release (in /usr/lib/libvlc= core.so.8.0.0) > =3D=3D13424=3D=3D by 0x30D0E6D095: ThreadDisplayPreparePicture (in /us= r/lib/libvlccore.so.8.0.0) > =3D=3D13424=3D=3D by 0x30D0E6D12B: ThreadDisplayPicture (in /usr/lib/l= ibvlccore.so.8.0.0) > =3D=3D13424=3D=3D by 0x30D0E6DEB2: Thread (in /usr/lib/libvlccore.so.8= .0.0) > =3D=3D13424=3D=3D by 0x30022080A3: start_thread (pthread_create.c:309) > =3D=3D13424=3D=3D Address 0x6780940 is 480 bytes inside a block of size = 10,760 free'd > =3D=3D13424=3D=3D at 0x4A08E90: free (vg_replace_malloc.c:473) > =3D=3D13424=3D=3D by 0x1A6A44CA: vl_mpeg12_destroy (in /usr/lib/x86_64= -linux-gnu/vdpau/libvdpau_r600.so.1.0.0) > =3D=3D13424=3D=3D by 0x1A628489: vlVdpDecoderDestroy (in /usr/lib/x86_= 64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0) > =3D=3D13424=3D=3D by 0x189B370D: Close (in /usr/lib/vlc/plugins/vdpau/= libvdpau_avcodec_plugin.so) > =3D=3D13424=3D=3D by 0x30D0E9028E: vlc_module_unload (in /usr/lib/libv= lccore.so.8.0.0) > =3D=3D13424=3D=3D by 0x1715EE48: vlc_va_Delete (in /usr/lib/vlc/plugin= s/codec/libavcodec_plugin.so) > =3D=3D13424=3D=3D by 0x1715AA59: ffmpeg_GetFormat (in /usr/lib/vlc/plu= gins/codec/libavcodec_plugin.so) > =3D=3D13424=3D=3D by 0x306F7FD5E0: ff_get_format (in /usr/lib/x86_64-l= inux-gnu/libavcodec.so.56.1.0) > =3D=3D13424=3D=3D by 0x306F6DDBC8: decode_chunks (in /usr/lib/x86_64-l= inux-gnu/libavcodec.so.56.1.0) > =3D=3D13424=3D=3D by 0x306F6DF8C8: mpeg_decode_frame (in /usr/lib/x86_= 64-linux-gnu/libavcodec.so.56.1.0) > =3D=3D13424=3D=3D by 0x306F7FBE1A: avcodec_decode_video2 (in /usr/lib/= x86_64-linux-gnu/libavcodec.so.56.1.0) > =3D=3D13424=3D=3D by 0x1715C18C: DecodeVideo (in /usr/lib/vlc/plugins/= codec/libavcodec_plugin.so) Looks like VLC destroys the VDPAU surface after the VDPAU decoder, and the Gallium VDPAU state tracker chokes on that. --=20 You are receiving this mail because: You are the assignee for the bug. --1414653830.C7d6E0.24181 Date: Thu, 30 Oct 2014 07:23:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 85613<= /a> from Michel D=C3=A4nzer
From bug 85268:

> =3D=3D13424=3D=3D Invalid read of size 8
> =3D=3D13424=3D=3D    at 0x1A6A4291: destroy_video_buffer_private (in /=
usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> =3D=3D13424=3D=3D    by 0x1A6C0127: vl_video_buffer_destroy (in /usr/l=
ib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> =3D=3D13424=3D=3D    by 0x1A627314: vlVdpVideoSurfaceDestroy (in /usr/=
lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> =3D=3D13424=3D=3D    by 0x189B4092: SurfaceDestroy (in /usr/lib/vlc/pl=
ugins/vdpau/libvdpau_avcodec_plugin.so)
> =3D=3D13424=3D=3D    by 0x30D0E8DCF4: picture_Release (in /usr/lib/lib=
vlccore.so.8.0.0)
> =3D=3D13424=3D=3D    by 0x30D0E6D095: ThreadDisplayPreparePicture (in =
/usr/lib/libvlccore.so.8.0.0)
> =3D=3D13424=3D=3D    by 0x30D0E6D12B: ThreadDisplayPicture (in /usr/li=
b/libvlccore.so.8.0.0)
> =3D=3D13424=3D=3D    by 0x30D0E6DEB2: Thread (in /usr/lib/libvlccore.s=
o.8.0.0)
> =3D=3D13424=3D=3D    by 0x30022080A3: start_thread (pthread_create.c:3=
09)
> =3D=3D13424=3D=3D  Address 0x6780940 is 480 bytes inside a block of si=
ze 10,760 free'd
> =3D=3D13424=3D=3D    at 0x4A08E90: free (vg_replace_malloc.c:473)
> =3D=3D13424=3D=3D    by 0x1A6A44CA: vl_mpeg12_destroy (in /usr/lib/x86=
_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> =3D=3D13424=3D=3D    by 0x1A628489: vlVdpDecoderDestroy (in /usr/lib/x=
86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> =3D=3D13424=3D=3D    by 0x189B370D: Close (in /usr/lib/vlc/plugins/vdp=
au/libvdpau_avcodec_plugin.so)
> =3D=3D13424=3D=3D    by 0x30D0E9028E: vlc_module_unload (in /usr/lib/l=
ibvlccore.so.8.0.0)
> =3D=3D13424=3D=3D    by 0x1715EE48: vlc_va_Delete (in /usr/lib/vlc/plu=
gins/codec/libavcodec_plugin.so)
> =3D=3D13424=3D=3D    by 0x1715AA59: ffmpeg_GetFormat (in /usr/lib/vlc/=
plugins/codec/libavcodec_plugin.so)
> =3D=3D13424=3D=3D    by 0x306F7FD5E0: ff_get_format (in /usr/lib/x86_6=
4-linux-gnu/libavcodec.so.56.1.0)
> =3D=3D13424=3D=3D    by 0x306F6DDBC8: decode_chunks (in /usr/lib/x86_6=
4-linux-gnu/libavcodec.so.56.1.0)
> =3D=3D13424=3D=3D    by 0x306F6DF8C8: mpeg_decode_frame (in /usr/lib/x=
86_64-linux-gnu/libavcodec.so.56.1.0)
> =3D=3D13424=3D=3D    by 0x306F7FBE1A: avcodec_decode_video2 (in /usr/l=
ib/x86_64-linux-gnu/libavcodec.so.56.1.0)
> =3D=3D13424=3D=3D    by 0x1715C18C: DecodeVideo (in /usr/lib/vlc/plugi=
ns/codec/libavcodec_plugin.so)

Looks like VLC destroys the VDPAU surface after the VDPAU decoder, and the
Gallium VDPAU state tracker chokes on that.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1414653830.C7d6E0.24181-- --===============1628081124== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1628081124==--