Bug#761165: vlc: segmentation fault with VDPAU
Arthur Marsh
arthur.marsh at internode.on.net
Thu Sep 11 14:21:14 UTC 2014
Package: vlc
Version: 2.2.0~pre2-4+b1
Followup-For: Bug #761165
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Playing a VOB file using vlc with vdpau
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
$ gdb --args vlc *VOB
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...Reading symbols from /usr/lib/debug/.build-id/c6/d16d96b77b7561e0bfce9b446f57835a3b753d.debug...done.
done.
(gdb) run
Starting program: /usr/bin/vlc VTS_01_1.VOB
warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu//ld-2.19.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so" does not match "/lib/x86_64-linux-gnu/libpthread.so.0" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so" does not match "/lib/x86_64-linux-gnu/libpthread.so.0" (CRC mismatch).
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so" does not match "/lib/x86_64-linux-gnu/libc.so.6" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so" does not match "/lib/x86_64-linux-gnu/libc.so.6" (CRC mismatch).
VLC media player 2.2.0-pre2 Weatherwax (revision 2.2.0-pre1-15-g5178b24)
[New Thread 0x7ffff6756700 (LWP 7726)]
[New Thread 0x7ffff5f55700 (LWP 7727)]
[New Thread 0x7ffff46ae700 (LWP 7728)]
[New Thread 0x7ffff41a2700 (LWP 7730)]
[00000000006090b8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[New Thread 0x7fffea779700 (LWP 7731)]
[New Thread 0x7fffe2d27700 (LWP 7733)]
[Thread 0x7ffff46ae700 (LWP 7728) exited]
[Thread 0x7fffe2d27700 (LWP 7733) exited]
[New Thread 0x7fffe2d27700 (LWP 7734)]
[New Thread 0x7ffff46ae700 (LWP 7735)]
[New Thread 0x7fffe1b3a700 (LWP 7736)]
[New Thread 0x7fffe1a39700 (LWP 7737)]
[Thread 0x7fffe1a39700 (LWP 7737) exited]
[New Thread 0x7fffe1a39700 (LWP 7739)]
[New Thread 0x7fffccb3f700 (LWP 7740)]
[New Thread 0x7fffc745f700 (LWP 7744)]
[00007fffe4c04568] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x7fffe4c64da0] warning: first frame is no keyframe
[New Thread 0x7fffc2b7b700 (LWP 7745)]
[New Thread 0x7fffc23cf700 (LWP 7746)]
Program received signal SIGBUS, Bus error.
[Switching to Thread 0x7fffc2b7b700 (LWP 7745)]
0x00000030022904d9 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00000030022904d9 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fffc78bcad0 in memcpy (__len=<optimized out>,
__src=<optimized out>, __dest=<optimized out>)
at /usr/include/x86_64-linux-gnu/bits/string3.h:51
#2 store_shader (ctx=ctx at entry=0x7fffd4050d20,
shader=shader at entry=0x7fffbc02d750)
at ../../../../../../src/gallium/drivers/r600/r600_shader.c:125
#3 0x00007fffc78c09fb in store_shader (shader=0x7fffbc02d750,
ctx=0x7fffd4050d20)
at ../../../../../../src/gallium/drivers/r600/r600_shader.c:198
#4 r600_pipe_shader_create (ctx=0x7fffd4050d20, shader=0x7fffbc02d750,
key=...) at ../../../../../../src/gallium/drivers/r600/r600_shader.c:203
#5 0x00007fffc78d4cc3 in r600_shader_select (ctx=0x7fffd4050d20,
sel=0x7fffd405ed00, dirty=0x7fffc2b7a994)
at ../../../../../../src/gallium/drivers/r600/r600_state_common.c:747
#6 0x00007fffc78d8422 in r600_update_derived_state (rctx=0x7fffd4050d20)
at ../../../../../../src/gallium/drivers/r600/r600_state_common.c:1204
#7 r600_draw_vbo (ctx=0x7fffd4050d20, dinfo=<optimized out>)
at ../../../../../../src/gallium/drivers/r600/r600_state_common.c:1342
#8 0x00007fffc797183e in util_draw_arrays (mode=<optimized out>,
count=<optimized out>, start=<optimized out>, pipe=<optimized out>)
at ../../../../../src/gallium/auxiliary/util/u_draw.h:63
#9 draw_layers (dirty=<optimized out>, s=<optimized out>, c=<optimized out>)
---Type <return> to continue, or q <return> to quit---
at ../../../../../src/gallium/auxiliary/vl/vl_compositor.c:776
#10 vl_compositor_render (s=0x7fffd4020f20, c=0x1, dst_surface=0x3,
dirty_area=0x7fffbc0281d8, clear_dirty=false, clear_dirty at entry=true)
at ../../../../../src/gallium/auxiliary/vl/vl_compositor.c:1083
#11 0x00007fffc79dca36 in vlVdpResolveDelayedRendering (dev=0x7fffd4020f10,
surface=0x7fffbc00de60, dirty_area=0x7fffbc020fe8)
at ../../../../../../src/gallium/state_trackers/vdpau/device.c:290
#12 0x00007fffc79e095c in vlVdpBitmapSurfacePutBitsNative (surface=3246989312,
source_data=0x7fffc2b7abd8, source_pitches=0x7fffc2b7abcc,
destination_rect=0x0)
at ../../../../../../src/gallium/state_trackers/vdpau/bitmap.c:199
#13 0x00007fffc2875f85 in RenderRegion (reg=<optimized out>,
subpic=<optimized out>, target=<optimized out>, vd=<optimized out>)
at display.c:197
#14 Queue (vd=0x7fffbc001268, pic=0x7fffbc030460, subpic=0x7fffbc01e670)
at display.c:260
#15 0x000000309286097c in vout_display_Prepare (subpicture=<optimized out>,
picture=<optimized out>, vd=<optimized out>)
at ../include/vlc_vout_wrapper.h:47
#16 ThreadDisplayRenderPicture (is_forced=<optimized out>,
vout=<optimized out>) at video_output/video_output.c:1040
#17 ThreadDisplayPicture (vout=0x7fffd40f4058, deadline=0x7fffbc012901)
at video_output/video_output.c:1146
---Type <return> to continue, or q <return> to quit---
#18 0x0000003092860d7b in Thread (object=0x7fffd40f4058)
at video_output/video_output.c:1575
#19 0x0000003002e080a4 in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#20 0x00000030022e5c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0 0x00000030022904d9 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007fffc78bcad0 in memcpy (__len=<optimized out>,
__src=<optimized out>, __dest=<optimized out>)
at /usr/include/x86_64-linux-gnu/bits/string3.h:51
No locals.
#2 store_shader (ctx=ctx at entry=0x7fffd4050d20,
shader=shader at entry=0x7fffbc02d750)
at ../../../../../../src/gallium/drivers/r600/r600_shader.c:125
ptr = <optimized out>
#3 0x00007fffc78c09fb in store_shader (shader=0x7fffbc02d750,
ctx=0x7fffd4050d20)
at ../../../../../../src/gallium/drivers/r600/r600_shader.c:198
rctx = 0x7fffd4050d20
#4 r600_pipe_shader_create (ctx=0x7fffd4050d20, shader=0x7fffbc02d750,
key=...) at ../../../../../../src/gallium/drivers/r600/r600_shader.c:203
rctx = 0x7fffd4050d20
sel = 0x7fffd405ed00
r = <optimized out>
dump = false
use_sb = 1
sb_disasm = 1
export_shader = 0
---Type <return> to continue, or q <return> to quit---
__func__ = "r600_pipe_shader_create"
#5 0x00007fffc78d4cc3 in r600_shader_select (ctx=0x7fffd4050d20,
sel=0x7fffd405ed00, dirty=0x7fffc2b7a994)
at ../../../../../../src/gallium/drivers/r600/r600_state_common.c:747
key = {color_two_side = 0, alpha_to_one = 0, nr_cbufs = 0,
vs_as_es = 0}
r = 0
__func__ = "r600_shader_select"
#6 0x00007fffc78d8422 in r600_update_derived_state (rctx=0x7fffd4050d20)
at ../../../../../../src/gallium/drivers/r600/r600_state_common.c:1204
ctx = 0x7fffd4050d20
ps_dirty = false
vs_dirty = false
gs_dirty = false
blend_disable = <optimized out>
#7 r600_draw_vbo (ctx=0x7fffd4050d20, dinfo=<optimized out>)
at ../../../../../../src/gallium/drivers/r600/r600_state_common.c:1342
rctx = 0x7fffd4050d20
info = {indexed = 0 '\000', mode = 7, start = 0, count = 4,
start_instance = 0, instance_count = 1, index_bias = 0,
min_index = <optimized out>, max_index = <optimized out>,
primitive_restart = <optimized out>,
restart_index = <optimized out>,
---Type <return> to continue, or q <return> to quit---
count_from_stream_output = <optimized out>}
ib = {index_size = 0, offset = 0, buffer = 0x0, user_buffer = 0x0}
i = <optimized out>
cs = 0x7fffd406c2b0
#8 0x00007fffc797183e in util_draw_arrays (mode=<optimized out>,
count=<optimized out>, start=<optimized out>, pipe=<optimized out>)
at ../../../../../src/gallium/auxiliary/util/u_draw.h:63
info = {indexed = 0 '\000', mode = 7, start = 0, count = 4,
start_instance = 0, instance_count = 1, index_bias = 0,
min_index = 0, max_index = 3, primitive_restart = 0 '\000',
restart_index = 0, count_from_stream_output = 0x0}
#9 draw_layers (dirty=<optimized out>, s=<optimized out>, c=<optimized out>)
at ../../../../../src/gallium/auxiliary/vl/vl_compositor.c:776
num_sampler_views = 3
blend = 0x7fffbc030460
i = 0
#10 vl_compositor_render (s=0x7fffd4020f20, c=0x1, dst_surface=0x3,
dirty_area=0x7fffbc0281d8, clear_dirty=false, clear_dirty at entry=true)
at ../../../../../src/gallium/auxiliary/vl/vl_compositor.c:1083
No locals.
#11 0x00007fffc79dca36 in vlVdpResolveDelayedRendering (dev=0x7fffd4020f10,
surface=0x7fffbc00de60, dirty_area=0x7fffbc020fe8)
at ../../../../../../src/gallium/state_trackers/vdpau/device.c:290
---Type <return> to continue, or q <return> to quit---
cstate = 0x7fffbc0281d8
vlsurface = 0x7fffbc020210
__PRETTY_FUNCTION__ = "vlVdpResolveDelayedRendering"
#12 0x00007fffc79e095c in vlVdpBitmapSurfacePutBitsNative (surface=3246989312,
source_data=0x7fffc2b7abd8, source_pitches=0x7fffc2b7abcc,
destination_rect=0x0)
at ../../../../../../src/gallium/state_trackers/vdpau/bitmap.c:199
vlsurface = 0x7fffbc01e370
dst_box = {x = -1028150332, y = 32767, z = -1140669296, width = 32767,
height = -1140843680, depth = 32767}
pipe = 0x7fffd4050d20
#13 0x00007fffc2875f85 in RenderRegion (reg=<optimized out>,
subpic=<optimized out>, target=<optimized out>, vd=<optimized out>)
at display.c:197
sys = 0x7fffbc001b60
area = {x0 = 810959958, y0 = 720, x1 = 576, y1 = 0}
color = {red = 0, green = 1.00893489e-42, blue = 8.07147915e-43,
alpha = 0}
surface = 3
data = 0x7fffbc021340
state = {struct_version = 64, blend_factor_source_color = 45,
blend_factor_destination_color = 615553280,
blend_factor_source_alpha = 1773957828,
---Type <return> to continue, or q <return> to quit---
blend_factor_destination_alpha = VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ZERO,
blend_equation_color = VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_SUBTRACT, blend_equation_alpha = 3154174792, blend_constant = {red = 4.59163468e-41,
green = -2.46105191e+12, blue = 4.59163468e-41,
alpha = -0.00788353384}}
pic = 0xfffffffffa79e3a8
pitch = 832
#14 Queue (vd=0x7fffbc001268, pic=0x7fffbc030460, subpic=0x7fffbc01e670)
at display.c:260
r = 0x7fffbc02c490
sys = 0x7fffc2b7abcc
status = VDP_PRESENTATION_QUEUE_STATUS_IDLE
ts = 0
now = 140736347686032
pts = 193273528384
delay = 0
#15 0x000000309286097c in vout_display_Prepare (subpicture=<optimized out>,
picture=<optimized out>, vd=<optimized out>)
at ../include/vlc_vout_wrapper.h:47
No locals.
#16 ThreadDisplayRenderPicture (is_forced=<optimized out>,
vout=<optimized out>) at video_output/video_output.c:1040
---Type <return> to continue, or q <return> to quit---
render_subtitle_date = 140736347580673
torender = 0x7fffbc0129f0
fmt_spu = {i_chroma = 810959958, i_width = 1024, i_height = 576,
i_x_offset = 0, i_y_offset = 0, i_visible_width = 1024,
i_visible_height = 576, i_bits_per_pixel = 0, i_sar_num = 1,
i_sar_den = 1, i_frame_rate = 50, i_frame_rate_base = 2,
i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0,
i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0,
p_palette = 0x0, orientation = ORIENT_TOP_LEFT}
fmt_spu_rot = {i_chroma = 810959958, i_width = 1024, i_height = 576,
i_x_offset = 0, i_y_offset = 0, i_visible_width = 1024,
i_visible_height = 576, i_bits_per_pixel = 0, i_sar_num = 1,
i_sar_den = 1, i_frame_rate = 50, i_frame_rate_base = 2,
i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0,
i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0,
p_palette = 0x0, orientation = ORIENT_TOP_LEFT}
vd = 0x7fffbc001268
subpic = 0x7fffbc01e670
#17 ThreadDisplayPicture (vout=0x7fffd40f4058, deadline=0x7fffbc012901)
at video_output/video_output.c:1146
paused = 112
first = 104
date = -92675160
---Type <return> to continue, or q <return> to quit---
render_delay = 140736347702368
date_next = 368
refresh = 168
date_refresh = 184
#18 0x0000003092860d7b in Thread (object=0x7fffd40f4058)
at video_output/video_output.c:1575
cmd = {type = 6, u = {boolean = 176, time = 140736347628464,
time_ptr = 0x7fffbc01e3b0,
string = 0x7fffbc01e3b0 "`\343\001\274\377\177",
integer = -1140726864, pair = {a = -1140726864, b = 32767},
pause = {is_on = 176, date = 0}, message = {channel = -1140726864,
string = 0x0}, border = {left = 3154240432, top = 32767,
right = 0, bottom = 0}, window = {x = 3154240432, y = 32767,
width = 0, height = 0}, cfg = 0x7fffbc01e3b0,
subpicture = 0x7fffbc01e3b0}}
picture_interlaced = true
interlacing = {is_interlaced = true, date = 1434318257}
deadline = 0
#19 0x0000003002e080a4 in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#20 0x00000030022e5c2d in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
* What outcome did you expect instead?
Not to reset the X server.
Playing the same DVD with mplayer and mpv (both using VDPAU) worked fine.
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.17.0-rc4+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages vlc depends on:
ii fonts-freefont-ttf 20120503-4
ii libaa1 1.4p5-43
ii libavcodec56 6:11~beta1-2
ii libavutil54 6:11~beta1-2
ii libc6 2.19-10
ii libcaca0 0.99.beta19-2
ii libegl1-mesa [libegl1-x11] 10.2.6-1
ii libfreerdp1 1.1.0~git20140809.1.b07a5c1+dfsg-4+b1
ii libfreetype6 2.5.2-1.1
ii libfribidi0 0.19.6-2
ii libgcc1 1:4.9.1-13
ii libgl1-mesa-glx [libgl1] 10.2.6-1
ii libgles1-mesa [libgles1] 10.2.6-1
ii libgles2-mesa [libgles2] 10.2.6-1
ii libice6 2:1.0.9-1
ii libpulse0 5.0-6
ii libqtcore4 4:4.8.6+git64-g5dc8b2b+dfsg-2
ii libqtgui4 4:4.8.6+git64-g5dc8b2b+dfsg-2
ii libsdl-image1.2 1.2.12-5+b2
ii libsdl1.2debian 1.2.15-10
ii libsm6 2:1.2.2-1
ii libstdc++6 4.9.1-13
ii libva-drm1 1.3.1-3
ii libva-x11-1 1.3.1-3
ii libva1 1.3.1-3
ii libvlccore8 2.2.0~pre2-4+b1
ii libvncclient0 0.9.9+dfsg-6
ii libx11-6 2:1.6.2-3
ii libxcb-composite0 1.10-3
ii libxcb-keysyms1 0.3.9-2
ii libxcb-randr0 1.10-3
ii libxcb-render0 1.10-3
ii libxcb-shape0 1.10-3
ii libxcb-shm0 1.10-3
ii libxcb-xfixes0 1.10-3
ii libxcb-xv0 1.10-3
ii libxcb1 1.10-3
ii libxext6 2:1.3.2-1
ii libxinerama1 2:1.1.3-1
ii libxpm4 1:3.5.11-1
ii vlc-nox 2.2.0~pre2-4+b1
ii zlib1g 1:1.2.8.dfsg-2
Versions of packages vlc recommends:
ii vlc-plugin-notify 2.2.0~pre2-4+b1
ii vlc-plugin-samba 2.2.0~pre2-4+b1
ii xdg-utils 1.1.0~rc1+git20111210-7.1
Versions of packages vlc suggests:
ii videolan-doc 20070626-1
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list