Bug#913209: [mpv] Segfault when setting png as screenshot format
Control: tags -1 moreinfo Hi, On 08/11/2018 04:51, Synthea wrote: > Package: mpv > Version: 0.23.0-2+deb9u2 > Severity: normal > > When using --screenshot-format=png or inserting a line screenshot- > format=png in the config files mpv segfaults > Here's the debug [...] > Screenshot: '/home/dday/Screenshot-0001.png' > > Thread 1 "mpv" received signal SIGSEGV, Segmentation fault. > 0x765030e0 in avcodec_find_best_pix_fmt_of_list () from > /usr/lib/x86_64-linux-gnu/libavcodec.so.57 What version of ffmpeg do you have? You can run this to find out: dpkg -l libavcodec57 This sounds like #904123 which was fixed in ffmpeg 7:3.2.12-1~deb9u1. James signature.asc Description: OpenPGP digital signature
Bug#913209: [mpv] Segfault when setting png as screenshot format
Package: mpv Version: 0.23.0-2+deb9u2 Severity: normal When using --screenshot-format=png or inserting a line screenshot- format=png in the config files mpv segfaults Here's the debug (gdb) run '/media/dday/TOSHIBA/143234523.mkv' Starting program: /usr/bin/mpv '/media/dday/TOSHIBA/143234523.mkv' [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux- gnu/libthread_db.so.1". [New Thread 0x7fffcc93d700 (LWP 30814)] [New Thread 0x7fffcc13c700 (LWP 30815)] [New Thread 0x7fffcb93b700 (LWP 30816)] [New Thread 0x7fffcaec7700 (LWP 30817)] Playing: /media/dday/TOSHIBA/143234523.mkv [New Thread 0x7fffc9ea5700 (LWP 30818)] [New Thread 0x7fffc96a4700 (LWP 30819)] [Thread 0x7fffc9ea5700 (LWP 30818) exited] [New Thread 0x7fffc9ea5700 (LWP 30820)] (+) Video --vid=1 (*) (f) (h264) (+) Audio --aid=1 (*) (f) (aac) (+) Subs --sid=1 (*) (ass) [New Thread 0x7fffbbfff700 (LWP 30821)] [New Thread 0x7fffbb7fe700 (LWP 30822)] [New Thread 0x7fffb9c11700 (LWP 30826)] [New Thread 0x7fffb91d6700 (LWP 30827)] [New Thread 0x7fffb89d5700 (LWP 30828)] libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux- gnu/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_0_39 [New Thread 0x7fffa4a21700 (LWP 30829)] [New Thread 0x7fff9700 (LWP 30830)] [New Thread 0x7fff9f7fe700 (LWP 30831)] libva info: va_openDriver() returns 0 [sub/ass] Loading font attachment 'DFRys9.ttc' with MIME type application/octet-stream. Assuming this is a broken Matroska file, which was muxed without setting a correct font MIME type. [New Thread 0x7fff9effd700 (LWP 30833)] [Thread 0x7fff9effd700 (LWP 30833) exited] [New Thread 0x7fff9effd700 (LWP 30848)] AO: [alsa] 48000Hz stereo 2ch float Using hardware decoding (vaapi). VO: [opengl] 1280x720 vaapi Invalid video timestamp: 0.00 -> 0.00 AV: 00:00:04 / 00:27:11 (0%) A-V: 0.000 Dropped: 5 Cache: 20s+119MB Screenshot: '/home/dday/Screenshot-0001.png' Thread 1 "mpv" received signal SIGSEGV, Segmentation fault. 0x765030e0 in avcodec_find_best_pix_fmt_of_list () from /usr/lib/x86_64-linux-gnu/libavcodec.so.57 --- System information. --- Architecture: Kernel: Linux 4.9.0-5-amd64 Debian Release: 9.5 990 stable security.debian.org 990 stable deb.debian.org 500 stable-updates deb.debian.org 100 stretch-backports deb.debian.org --- Package information. --- Depends (Version) | Installed ==-+-== libasound2 (>= 1.0.27) | libass5(>= 0.13.2) | libavcodec57 (>= 7:3.2.9) | OR libavcodec-extra57(>= 7:3.2.9) | libavdevice57 (>= 7:3.2.9) | libavfilter6 (>= 7:3.2.9) | OR libavfilter-extra6(>= 7:3.2.9) | libavformat57 (>= 7:3.2.9) | libavutil55 (>= 7:3.2.9) | libbluray1(>= 1:0.2.2) | libc6(>= 2.16) | libcdio-cdda1(>= 0.83) | libcdio-paranoia1(>= 0.83) | libcdio13(>= 0.83) | libdrm2(>= 2.4.25) | libdvdnav4 (>= 4.1.3) | libdvdread4 (>= 4.1.3) | libegl1-mesa (>= 7.8.1) | OR libegl1-x11| libgbm1 (>= 8.1~0) | libgl1-mesa-glx| OR libgl1 | libjack-jackd2-0 (>= 1.9.10+20150825) | OR libjack-0.125 | libjpeg62-turbo (>= 1.3.1) | liblcms2-2(>= 2.6) | liblua5.2-0| libpulse0 (>= 0.99.4) | librubberband2 | libsdl2-2.0-0 (>= 2.0.4) | libsmbclient(>= 2:4.0.3+dfsg1) | libsndio6.1 (>= 1.1.0) | libswresample2(>= 7:3.2.9) | libswscale4 (>= 7:3.2.9) | libv4l-0(>= 0.5.0) | libva-drm1 (>= 1.1.0) | libva-wayland1 (>= 1.3.0) | libva-x11-1 (>= 1.0.3) | libva1 (>= 1.7.3) | libvdpau1 (>= 0.2) | libwayland-client0 (>= 1.9.91) | libwayland-cursor0 (>= 1.0.2) | libwayland-egl1-mesa (>= 10.0.2) | OR libwayland-egl1| libx11-6 | libxext6 | libxinerama1 | libxkbcommon0 (>=