vlc segfaults playing dvd with r600 / radeon vdpau with mesa 10.3.2
Hi, I'm having vlc 2.2.0~pre4-2 on Debian amd64 segfault on playing a DVD with vdpau using mesa 10.3.2-1 and the r600 mesa vdpau driver (Radeon 3850HD video card installed).
I've reported the problem on Debian at:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761165 (vlc) and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766058 (mesa-vdpau-drivers)
One bug was fixed in the 10.3.2 release of mesa and playback now works in other players with vdpau enabled (mpv, mplayer) but the problem persists in vlc.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Rémi Denis-Courmont assigned to @Courmisch
assigned to @Courmisch
- Maintainer
Sample needed.
- Rémi Denis-Courmont added Component::Video: X11 label
added Component::Video: X11 label
- Rémi Denis-Courmont unassigned @Courmisch
unassigned @Courmisch
- Maintainer
No such hardware, no sample -> not me.
Result of running under vlc:
$ gdb --args vlc VTS_01_0.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/58/9bf4b8c3dbcf8534df80318b7a759270e409d6.debug...done. done. (gdb) run Starting program: /usr/bin/vlc VTS_01_0.VOB [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". VLC media player 2.2.0-pre4 Weatherwax (revision 2.2.0-pre3-104-g836a443) [New Thread 0x7ffff670c700 (LWP 11648)] [New Thread 0x7ffff5f0b700 (LWP 11649)] [New Thread 0x7ffff4658700 (LWP 11650)] [New Thread 0x7ffff4123700 (LWP 11651)] [00000000006090b8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [New Thread 0x7fffeada6700 (LWP 11652)] [New Thread 0x7fffe31c4700 (LWP 11653)] [Thread 0x7ffff4658700 (LWP 11650) exited] [Thread 0x7fffe31c4700 (LWP 11653) exited] [New Thread 0x7fffe31c4700 (LWP 11654)] [New Thread 0x7ffff4658700 (LWP 11655)] [New Thread 0x7fffe08a6700 (LWP 11656)] [New Thread 0x7fffe07a5700 (LWP 11657)] [New Thread 0x7fffcf578700 (LWP 11659)] [Thread 0x7fffe07a5700 (LWP 11657) exited] [New Thread 0x7fffe07a5700 (LWP 11662)] [New Thread 0x7fffcc112700 (LWP 11663)] [New Thread 0x7fffc4df0700 (LWP 11666)] [00007fffd8c3fa48] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding. [New Thread 0x7fffbc277700 (LWP 11667)] [New Thread 0x7fffbc176700 (LWP 11668)] [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343629635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343669635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343709635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343749635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343789635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343829635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343869635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343909635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343949635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97343989635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97344029635 [00007fffd8c3fa48] core decoder error: Could not convert timestamp 97344069635 [00007fffd8c686d8] core decoder error: Could not convert timestamp 97344053635 [mpeg2video @ 0x7fffd8c542c0] releasing zombie picture [00007fffe4002b08] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms) [00007fffe4002b08] core input error: ES_OUT_RESET_PCR called [00007fffd8c3fa48] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffbc277700 (LWP 11667)] 0x0000000000000000 in ?? () (gdb) bt [#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x0000000000000000 in ?? () [#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00007fffc5ad4737 in pipe_sampler_view_reference (view=0x0, ptr=<optimized out>) at ../../../../../src/gallium/auxiliary/util/u_inlines.h:151 [#2](https://code.videolan.org/videolan/vlc/-/issues/2) destroy_video_buffer_private (private=0x7fffd00e8230) at ../../../../../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:103 [#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x00007fffc5af0678 in vl_video_buffer_set_associated_data ( destroy_associated_data=0x0, associated_data=0x0, vcodec=0x0, vbuf=0x7fffd006a350) at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:200 [#4](https://code.videolan.org/videolan/vlc/-/issues/4) vl_video_buffer_destroy (buffer=0x7fffd006a350) at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:265 [#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x00007fffc5a57325 in vlVdpVideoSurfaceDestroy (surface=2) at ../../../../../../src/gallium/state_trackers/vdpau/surface.c:140 [#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x00007fffbc681a43 in SurfaceDestroy (opaque=<optimized out>) at picture.c:48 [#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x00007fffbc680d65 in VideoRender (filter=0x7fffb8026aa8, src=0x7fffb81228a0) at chroma.c:670 [#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x00000030f04a84ac in FilterChainVideoFilter (p_pic=0x7fffb8012a90, f=0x7fffb8026aa8) at misc/filter_chain.c:230 [#9](https://code.videolan.org/videolan/vlc/-/issues/9) filter_chain_VideoFilter (p_chain=0x7fffb80543c0, p_pic=<optimized out>) at misc/filter_chain.c:248 [#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x00000030f046de7b in ThreadDisplayRenderPicture ( is_forced=<optimized out>, vout=<optimized out>) ---Type <return> to continue, or q <return> to quit--- at video_output/video_output.c:1038 [#11](https://code.videolan.org/videolan/vlc/-/issues/11) ThreadDisplayPicture (vout=0x7fffd01a4478, deadline=0x0) at video_output/video_output.c:1149 [#12](https://code.videolan.org/videolan/vlc/-/issues/12) 0x00000030f046e253 in Thread (object=0x7fffd01a4478) at video_output/video_output.c:1579 [#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0x0000003001e080a4 in start_thread (arg=0x7fffbc277700) at pthread_create.c:309 [#14](https://code.videolan.org/videolan/vlc/-/issues/14) 0x00000030016e5cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 (gdb) bt full [#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x0000000000000000 in ?? () No symbol table info available. [#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00007fffc5ad4737 in pipe_sampler_view_reference (view=0x0, ptr=<optimized out>) at ../../../../../src/gallium/auxiliary/util/u_inlines.h:151 old_view = <optimized out> [#2](https://code.videolan.org/videolan/vlc/-/issues/2) destroy_video_buffer_private (private=0x7fffd00e8230) at ../../../../../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:103 priv = 0x7fffd00e8230 i = <optimized out> [#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x00007fffc5af0678 in vl_video_buffer_set_associated_data ( destroy_associated_data=0x0, associated_data=0x0, vcodec=0x0, vbuf=0x7fffd006a350) at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:200 No locals. [#4](https://code.videolan.org/videolan/vlc/-/issues/4) vl_video_buffer_destroy (buffer=0x7fffd006a350) at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:265 buf = 0x7fffd006a350 i = <optimized out> [#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x00007fffc5a57325 in vlVdpVideoSurfaceDestroy (surface=2) at ../../../../../../src/gallium/state_trackers/vdpau/surface.c:140 p_surf = 0x7fffd00690c0 [#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x00007fffbc681a43 in SurfaceDestroy (opaque=<optimized out>) at picture.c:48 ---Type <return> to continue, or q <return> to quit--- field = <optimized out> frame = 0x7fffd0071640 err = <optimized out> [#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x00007fffbc680d65 in VideoRender (filter=0x7fffb8026aa8, src=0x7fffb81228a0) at chroma.c:670 sys = 0x7fffb8124090 dst = 0x7fffb8011f20 field = 0x7fffd009fe20 features = {4} enables = {0} attrs = {3, 0} values = {0x7fffb8124458, 0x0} count = 0 csc = {{-0.0102184191, 4.59163468e-41, -0.0102184191, 4.59163468e-41}, {0, 0, 4.25875062e-38, 6.72623263e-44}, {-3.48863541e-05, 4.59163468e-41, -2.48674077e+29, 6.72623263e-44}} swap = false output = 13 structure = (unknown: 3489827584) past = {3, 2} surface = 0 future = {4} src_rect = {x0 = 0, y0 = 0, x1 = 720, y1 = 576} dst_rect = {x0 = 0, y0 = 0, x1 = 1024, y1 = 576} ---Type <return> to continue, or q <return> to quit--- [#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x00000030f04a84ac in FilterChainVideoFilter (p_pic=0x7fffb8012a90, f=0x7fffb8026aa8) at misc/filter_chain.c:230 p_filter = 0x7fffb8026aa8 [#9](https://code.videolan.org/videolan/vlc/-/issues/9) filter_chain_VideoFilter (p_chain=0x7fffb80543c0, p_pic=<optimized out>) at misc/filter_chain.c:248 No locals. [#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x00000030f046de7b in ThreadDisplayRenderPicture ( is_forced=<optimized out>, vout=<optimized out>) at video_output/video_output.c:1038 render_subtitle_date = 140736280472208 torender = 0x7fffb8012a90 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, ---Type <return> to continue, or q <return> to quit--- p_palette = 0x0, orientation = ORIENT_TOP_LEFT} vd = 0x7fffb8001268 subpic = 0x0 [#11](https://code.videolan.org/videolan/vlc/-/issues/11) ThreadDisplayPicture (vout=0x7fffd01a4478, deadline=0x0) at video_output/video_output.c:1149 paused = 104 first = 144 date = 140736683703840 render_delay = 140736684092000 date_next = 140736280555456 date_refresh = 0 [#12](https://code.videolan.org/videolan/vlc/-/issues/12) 0x00000030f046e253 in Thread (object=0x7fffd01a4478) at video_output/video_output.c:1579 cmd = {type = 12, u = {boolean = true, time = 1, time_ptr = 0x1, string = 0x1 <error: Cannot access memory at address 0x1>, integer = 1, pair = {a = 1, b = 0}, pause = {is_on = true, date = 0}, message = {channel = 1, string = 0x0}, border = { left = 1, top = 0, right = 0, bottom = 0}, window = {x = 1, y = 0, width = 0, height = 0}, cfg = 0x1, subpicture = 0x1}} picture_interlaced = true interlacing = {is_interlaced = true, date = 97331689869} deadline = 0 [#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0x0000003001e080a4 in start_thread (arg=0x7fffbc277700) at pthread_create.c:309 ---Type <return> to continue, or q <return> to quit--- __res = <optimized out> pd = 0x7fffbc277700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736350091008, -462473636969946614, 1, 206160662624, 210189606848, 140736350091008, 462620495308415498, -435453417885375990}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread"
#14 (closed) 0x00000030016e5cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. }}} http://www.users.on.net/~arthur.marsh/VTS_01_0.VOB (152 Megabytes)
- Maintainer
Playing the whole VOB (2 minutes) with VDPAU hardware acceleration does not yield any crash here, or any noticeable problem. I can see the DVD menu just fine. I have also not experienced any issue with software decoding and VDPAU display.
Furthermore, VDPAU_TRACE did not find any error; in particular, VLC does not appear to use VDPAU handles after freeing them.
So that would seem to be a bug in your VDPAU driver.
- Rémi Denis-Courmont added Status::not VLC label
added Status::not VLC label
- Rémi Denis-Courmont closed
closed