Bug 101266 - segfault in libvdpau_radeonsi.so.1.0.0 when opening certain videos
Summary: segfault in libvdpau_radeonsi.so.1.0.0 when opening certain videos
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords: have-backtrace
Depends on:
Blocks:
 
Reported: 2017-06-01 04:22 UTC by P. Levine
Modified: 2017-06-01 09:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
gdb output of `run` and `thread apply all backtrace full` (58.01 KB, text/plain)
2017-06-01 04:22 UTC, P. Levine
Details

Description P. Levine 2017-06-01 04:22:45 UTC
Created attachment 131631 [details]
gdb output of `run` and `thread apply all backtrace full`

When opening certain videos in vlc, I end up with a segfault in libvdpau_radeonsi.so.1.0.0.  This has been going on for some time so I eventually decided to rebuild all relevant packages with debugging flags for a good backtrace.


Output of `uname --all`:

> Linux Home-PC 4.11.2-gentoo-r1 #2 SMP Tue May 23 00:27:39 EDT 2017 x86_64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz GenuineIntel GNU/Linux

Output of `glxinfo -B`:


> name of display: :0
> display: :0  screen: 0
> direct rendering: Yes
> Extended renderer info (GLX_MESA_query_renderer):
>     Vendor: X.Org (0x1002)
>     Device: AMD BONAIRE (DRM 2.49.0 / 4.11.2-gentoo-r1, LLVM 4.0.0) (0x6658)
>     Version: 17.2.0
>     Accelerated: yes
>     Video memory: 2048MB
>     Unified memory: no
>     Preferred profile: core (0x1)
>     Max core profile version: 4.5
>     Max compat profile version: 3.0
>     Max GLES1 profile version: 1.1
>     Max GLES[23] profile version: 3.1
> OpenGL vendor string: X.Org
> OpenGL renderer string: Gallium 0.4 on AMD BONAIRE (DRM 2.49.0 / 4.11.2-gentoo-r1, LLVM 4.0.0)
> OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.0-devel (git-f42fb0012a)
> OpenGL core profile shading language version string: 4.50
> OpenGL core profile context flags: (none)
> OpenGL core profile profile mask: core profile
> 
> OpenGL version string: 3.0 Mesa 17.2.0-devel (git-f42fb0012a)
> OpenGL shading language version string: 1.30
> OpenGL context flags: (none)
> 
> OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.0-devel (git-f42fb0012a)
> OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
Comment 1 Christian König 2017-06-01 09:04:47 UTC
That looks like VLC is trying to decode a frame while it has already destroyed the decoder object.

Please try to reproduce the issue by running vlc with "VDPAU_TRACE=1 VDPAU_TRACE_FILE=vlc.trace vlc".


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.