Bug#853798: mpv: Segfaults on TV input
Frédéric Brière
fbriere at fbriere.net
Wed Feb 1 00:27:19 UTC 2017
Package: mpv
Version: 0.23.0-1
Severity: important
mpv quickly segfaults (before displaying any video) on TV input:
$ mpv tv://
Playing: tv://
[tv] Selected driver: v4l2
[tv] name: Video 4 Linux 2 input
[tv] Selected device: BT878 video (Hauppauge (bt878))
[tv] Tuner cap:
[tv] Tuner rxs: MONO
[tv] Capabilities: video capture video overlay VBI capture device tuner read/write streaming
[tv] supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; 9 = PAL-M; 10 = PAL-N; 11 = PAL-Nc; 12 = PAL-60; 13 = SECAM; 14 = SECAM-B; 15 = SECAM-G; 16 = SECAM-H; 17 = SECAM-DK; 18 = SECAM-L; 19 = SECAM-Lc;
[tv] inputs: 0 = Television; 1 = Composite1; 2 = S-Video; 3 = Composite3;
[tv] Current input: 0
[tv] Current format: YVU420
[tv] current audio mode is : MONO
Segmentation fault
For what it's worth, this bug does not seem to be present in MPlayer.
Backtrace follows. Let me know if I can be of any further help.
#0 0x0000557aee3e8dc7 in set_norm_and_freq (tvh=tvh at entry=0x7f397001e700,
chan=0x5a00000005) at ../stream/tv.c:430
#1 0x0000557aee3e94d6 in open_tv (tvh=tvh at entry=0x7f397001e700)
at ../stream/tv.c:599
#2 0x0000557aee3950e4 in demux_open_tv (demuxer=0x7f3970007590,
check=<optimized out>) at ../demux/demux_tv.c:52
#3 0x0000557aee383ab3 in open_given_type (global=global at entry=0x557aef6fc2b0,
log=log at entry=0x7f39700035b0, desc=0x557aee6bf4c0 <demuxer_desc_tv>,
stream=stream at entry=0x7f39805fc050, params=params at entry=0x7f397bffea50,
check=check at entry=DEMUX_CHECK_REQUEST) at ../demux/demux.c:1274
#4 0x0000557aee383ef7 in demux_open (stream=0x7f39805fc050,
params=params at entry=0x7f397bffea50, global=global at entry=0x557aef6fc2b0)
at ../demux/demux.c:1354
#5 0x0000557aee3840b6 in demux_open_url (url=<optimized out>,
params=params at entry=0x7f397bffea50, cancel=<optimized out>,
global=global at entry=0x557aef6fc2b0) at ../demux/demux.c:1393
#6 0x0000557aee3c5155 in open_demux_thread (pctx=0x7ffc0dd234f0)
at ../player/loadfile.c:797
#7 0x0000557aee3c8ca0 in thread_wrapper (pctx=0x7ffc0dd23460)
at ../player/misc.c:267
#8 0x00007f39a996b424 in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#9 0x00007f39a4aa19bf in clone () from /lib/x86_64-linux-gnu/libc.so.6
#0 0x0000557aee3e8dc7 in set_norm_and_freq (tvh=tvh at entry=0x7f397001e700,
chan=0x5a00000005) at ../stream/tv.c:430
#1 0x0000557aee3e94d6 in open_tv (tvh=tvh at entry=0x7f397001e700)
at ../stream/tv.c:599
#2 0x0000557aee3950e4 in demux_open_tv (demuxer=0x7f3970007590,
check=<optimized out>) at ../demux/demux_tv.c:52
#3 0x0000557aee383ab3 in open_given_type (global=global at entry=0x557aef6fc2b0,
log=log at entry=0x7f39700035b0, desc=0x557aee6bf4c0 <demuxer_desc_tv>,
stream=stream at entry=0x7f39805fc050, params=params at entry=0x7f397bffea50,
check=check at entry=DEMUX_CHECK_REQUEST) at ../demux/demux.c:1274
#4 0x0000557aee383ef7 in demux_open (stream=0x7f39805fc050,
params=params at entry=0x7f397bffea50, global=global at entry=0x557aef6fc2b0)
at ../demux/demux.c:1354
#5 0x0000557aee3840b6 in demux_open_url (url=<optimized out>,
params=params at entry=0x7f397bffea50, cancel=<optimized out>,
global=global at entry=0x557aef6fc2b0) at ../demux/demux.c:1393
#6 0x0000557aee3c5155 in open_demux_thread (pctx=0x7ffc0dd234f0)
at ../player/loadfile.c:797
#7 0x0000557aee3c8ca0 in thread_wrapper (pctx=0x7ffc0dd23460)
at ../player/misc.c:267
#8 0x00007f39a996b424 in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#9 0x00007f39a4aa19bf in clone () from /lib/x86_64-linux-gnu/libc.so.6
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-2-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages mpv depends on:
ii libasound2 1.1.3-4
ii libass5 1:0.13.4-2
ii libavcodec57 7:3.2.2-2
ii libavdevice57 7:3.2.2-2
ii libavfilter6 7:3.2.2-2
ii libavformat57 7:3.2.2-2
ii libavutil55 7:3.2.2-2
ii libbluray1 1:0.9.3-3
ii libc6 2.24-9
ii libcdio-cdda1 0.83-4.3
ii libcdio-paranoia1 0.83-4.3
ii libcdio13 0.83-4.3
ii libdrm2 2.4.74-1
ii libdvdnav4 5.0.3-3
ii libdvdread4 5.0.3-2
ii libegl1-mesa [libegl1-x11] 13.0.3-1
ii libgbm1 13.0.3-1
ii libgl1-mesa-glx [libgl1] 13.0.3-1
ii libjack0 [libjack-0.125] 1:0.125.0-2
ii libjpeg62-turbo 1:1.5.1-2
ii liblcms2-2 2.8-4
ii liblua5.2-0 5.2.4-1.1+b1
ii libpulse0 10.0-1
ii librubberband2 1.8.1-7
ii libsdl2-2.0-0 2.0.5+dfsg1-2
ii libsmbclient 2:4.5.4+dfsg-1
ii libsndio6.1 1.1.0-3
ii libswresample2 7:3.2.2-2
ii libswscale4 7:3.2.2-2
ii libv4l-0 1.12.2-2
ii libva-drm1 1.7.3-2
ii libva-wayland1 1.7.3-2
ii libva-x11-1 1.7.3-2
ii libva1 1.7.3-2
ii libvdpau1 1.1.1-6
ii libwayland-client0 1.12.0-1
ii libwayland-cursor0 1.12.0-1
ii libwayland-egl1-mesa [libwayland-egl1] 13.0.3-1
ii libx11-6 2:1.6.4-3
ii libxext6 2:1.3.3-1
ii libxinerama1 2:1.1.3-1+b1
ii libxkbcommon0 0.7.1-1
ii libxrandr2 2:1.5.1-1
ii libxss1 1:1.2.2-1
ii libxv1 2:1.0.11-1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages mpv recommends:
ii xdg-utils 1.1.1-1
ii youtube-dl 2016.12.01-1
mpv suggests no packages.
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list