[FFmpeg-trac] #6866(avfilter:new): SIGSEV with libvmaf
FFmpeg
trac at avcodec.org
Sat Nov 25 22:52:45 EET 2017
#6866: SIGSEV with libvmaf
-------------------------------------+-------------------------------------
Reporter: Ilya87 | Owner:
Type: defect | Status: new
Priority: important | Component: avfilter
Version: git-master | Resolution:
Keywords: libvmaf | Blocked By:
crash | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Ilya87):
valgrind /usr/bin/ffmpeg -i /home/ilya/Video/Test/Xamd/Xamd_orig__x264.mkv
-i /home/ilya/Video/Test/Xamd/Xamd_orig_.mkv -lavfi libvmaf -f null -
{{{
==28496== Memcheck, a memory error detector
==28496== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28496== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright
info
==28496== Command: /usr/bin/ffmpeg -i
/home/ilya/Video/Test/Xamd/Xamd_orig__x264.mkv -i
/home/ilya/Video/Test/Xamd/Xamd_orig_.mkv -lavfi libvmaf -f null -
==28496==
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
--28496-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x13
ffmpeg version N-89240-gf6d49a0dc8 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.2.0 (GCC)
configuration: --prefix=/usr --enable-debug --disable-static --disable-
stripping --enable-avisynth --enable-avresample --enable-fontconfig
--enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass
--enable-libbluray --enable-libfreetype --enable-libfribidi --enable-
libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxcb --enable-libxvid --enable-shared
--enable-libvmaf --disable-optimizations --enable-debug=3 --disable-
stripping --enable-version3
libavutil 56. 3.100 / 56. 3.100
libavcodec 58. 3.105 / 58. 3.105
libavformat 58. 2.102 / 58. 2.102
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 4.100 / 7. 4.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, matroska,webm, from
'/home/ilya/Video/Test/Xamd/Xamd_orig__x264.mkv':
Metadata:
encoder : Haali Matroska Writer b0
Duration: 00:00:04.96, start: 0.000000, bitrate: 1172 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 720x406,
SAR 1:1 DAR 360:203, 23.98 fps, 23.98 tbr, 20k tbn, 2k tbc (default)
Input #1, matroska,webm, from '/home/ilya/Video/Test/Xamd/Xamd_orig_.mkv':
Metadata:
ENCODER : Lavf57.83.100
Duration: 00:00:05.01, start: 0.000000, bitrate: 22921 kb/s
Stream #1:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p(progressive),
720x406, SAR 255:254 DAR 45900:25781, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
(default)
Metadata:
ENCODER : Lavc57.107.100 ffv1
DURATION : 00:00:05.005000000
==28496== Invalid read of size 4
==28496== at 0x86BF39E: pthread_join (in /usr/lib/libpthread-2.26.so)
==28496== by 0x524069F: uninit (vf_libvmaf.c:301)
==28496== by 0x5131496: avfilter_free (avfilter.c:804)
==28496== by 0x5133954: avfilter_graph_free (avfiltergraph.c:126)
==28496== by 0x1226BF: init_complex_filtergraph (ffmpeg_filter.c:369)
==28496== by 0x11BCFC: init_complex_filters (ffmpeg_opt.c:2098)
==28496== by 0x120FE1: ffmpeg_parse_options (ffmpeg_opt.c:3343)
==28496== by 0x140AB0: main (ffmpeg.c:4785)
==28496== Address 0x2d0 is not stack'd, malloc'd or (recently) free'd
==28496==
==28496==
==28496== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==28496== Access not within mapped region at address 0x2D0
==28496== at 0x86BF39E: pthread_join (in /usr/lib/libpthread-2.26.so)
==28496== by 0x524069F: uninit (vf_libvmaf.c:301)
==28496== by 0x5131496: avfilter_free (avfilter.c:804)
==28496== by 0x5133954: avfilter_graph_free (avfiltergraph.c:126)
==28496== by 0x1226BF: init_complex_filtergraph (ffmpeg_filter.c:369)
==28496== by 0x11BCFC: init_complex_filters (ffmpeg_opt.c:2098)
==28496== by 0x120FE1: ffmpeg_parse_options (ffmpeg_opt.c:3343)
==28496== by 0x140AB0: main (ffmpeg.c:4785)
==28496== If you believe this happened as a result of a stack
==28496== overflow in your program's main thread (unlikely but
==28496== possible), you can try to increase the size of the
==28496== main thread stack using the --main-stacksize= flag.
==28496== The main thread stack size used in this run was 8388608.
==28496==
==28496== HEAP SUMMARY:
==28496== in use at exit: 1,113,503 bytes in 1,045 blocks
==28496== total heap usage: 2,367 allocs, 1,322 frees, 4,655,455 bytes
allocated
==28496==
==28496== LEAK SUMMARY:
==28496== definitely lost: 0 bytes in 0 blocks
==28496== indirectly lost: 0 bytes in 0 blocks
==28496== possibly lost: 0 bytes in 0 blocks
==28496== still reachable: 1,113,503 bytes in 1,045 blocks
==28496== suppressed: 0 bytes in 0 blocks
==28496== Rerun with --leak-check=full to see details of leaked memory
==28496==
==28496== For counts of detected and suppressed errors, rerun with: -v
==28496== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6866#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list