From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 85267] New: vlc crashes with vdpau (Radeon 3850HD) [r600]
Date: Tue, 21 Oct 2014 02:53:00 +0000
Message-ID:
Bug ID
85267
Summary
vlc crashes with vdpau (Radeon 3850HD) [r600]
Product
Mesa
Version
unspecified
Hardware
x86-64 (AMD64)
OS
Linux (All)
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/r600
Assignee
dri-devel@lists.freedesktop.org
Reporter
arthur.marsh@internode.on.net
I'm using version 10.3.1-1 on Debian of most mesa-related packages and Linux
kernel 3.18.0-rc1 from Linus' git head.
replaying a particular dvd in VLC triggers some errors:
(see also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766058 )
vdpau-related packages are also installed;
when I ran the dvd in VLC under valgrind I encountered:
(comments are from michel@daenzer.net )
> ==13424== Invalid read of size 1
> ==13424== at 0x1A8789C0: r600_bind_blend_state_internal (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424== by 0x1A6723C0: blitter_restore_fragment_states (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424== by 0x1A675C47: util_blitter_clear_render_target (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424== by 0x1A852985: r600_clear_render_target (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424== by 0x1A69D9A9: vl_compositor_render (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424== by 0x1A629E96: vlVdpPresentationQueueDisplay (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424== by 0x1F2F80A3: Queue (in /usr/lib/vlc/plugins/vdpau/libvdpau_display_plugin.so)
> ==13424== by 0x30D0E6DB48: ThreadDisplayPicture (in /usr/lib/libvlccore.so.8.0.0)
> ==13424== by 0x30D0E6DEB2: Thread (in /usr/lib/libvlccore.so.8.0.0)
> ==13424== by 0x30022080A3: start_thread (pthread_create.c:309)
> ==13424== Address 0xedfe51d is 61 bytes inside a block of size 64 free'd
> ==13424== at 0x4A08E90: free (vg_replace_malloc.c:473)
> ==13424== by 0x1A62C7DD: vlVdpOutputSurfaceRenderBitmapSurface (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424== by 0x1F2F8200: Queue (in /usr/lib/vlc/plugins/vdpau/libvdpau_display_plugin.so)
> ==13424== by 0x30D0E6DB48: ThreadDisplayPicture (in /usr/lib/libvlccore.so.8.0.0)
> ==13424== by 0x30D0E6DEB2: Thread (in /usr/lib/libvlccore.so.8.0.0)
> ==13424== by 0x30022080A3: start_thread (pthread_create.c:309)
This looks like a use-after-free bug in the Mesa r600g driver. Can you report
this upstream at https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa ,
component Drivers/Gallium/r600?