[FFmpeg-devel] [FFmpeg-cvslog] avformat: add vividas demuxer
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sat Dec 22 13:53:07 EET 2018
2018-12-22 10:06 GMT+01:00, Paul B Mahol <onemda at gmail.com>:
> On 12/22/18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>> 2018-12-20 19:33 GMT+01:00, Paul B Mahol <git at videolan.org>:
>>> ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec 10
>>> 12:15:50 2018 +0100| [d06aae732c16bd4c490c6dfa35cc2a35129c640f] |
>>> committer:
>>> Paul B Mahol
>>>
>>> avformat: add vividas demuxer
>>
>> Crashes here on stream-copying a sample from
>> http://samples.ffmpeg.org/archive/container/unknown/
>>
>> $ valgrind ffmpeg_g -i
>> unknown+unknown+unknown+unknown+5064_cliplive5-16_2_644.viv -c copy -f
>> null -
>> ==23818==
>> ffmpeg version N-92766-g6a87729 Copyright (c) 2000-2018 the FFmpeg
>> developers
>> built with gcc 6.4.0 (GCC)
>> configuration: --enable-gpl --enable-libxml2 --enable-gnutls
>> --enable-gmp --enable-version3 --enable-libx264
>> libavutil 56. 25.100 / 56. 25.100
>> libavcodec 58. 42.104 / 58. 42.104
>> libavformat 58. 25.100 / 58. 25.100
>> libavdevice 58. 6.101 / 58. 6.101
>> libavfilter 7. 46.101 / 7. 46.101
>> libswscale 5. 4.100 / 5. 4.100
>> libswresample 3. 4.100 / 3. 4.100
>> libpostproc 55. 4.100 / 55. 4.100
>> Input #0, vividas, from
>> 'unknown+unknown+unknown+unknown+5064_cliplive5-16_2_644.viv':
>> Duration: N/A, start: 0.000000, bitrate: N/A
>> Stream #0:0: Video: vp6, yuv420p, 432x320, 25 tbr, 25 tbn, 25 tbc
>> Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp
>> Output #0, null, to 'pipe:':
>> Metadata:
>> encoder : Lavf58.25.100
>> Stream #0:0: Video: vp6, yuv420p, 432x320, q=2-31, 25 tbr, 25 tbn, 25
>> tbc
>> Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp
>> Stream mapping:
>> Stream #0:0 -> #0:0 (copy)
>> Stream #0:1 -> #0:1 (copy)
>> Press [q] to stop, [?] for help
>> ==23818== Invalid read of size 8=N/A time=00:06:00.63 bitrate=N/A speed=
>> 103x
>> ==23818== at 0x6766CA: ffio_read_varlen (aviobuf.c:930)
>> ==23818== by 0x79F932: viv_read_packet (vividas.c:621)
>> ==23818== by 0x790A6D: ff_read_packet (utils.c:856)
>> ==23818== by 0x793ED3: read_frame_internal (utils.c:1582)
>> ==23818== by 0x795021: av_read_frame (utils.c:1779)
>> ==23818== by 0x4A8C07: transcode (ffmpeg.c:4147)
>> ==23818== by 0x486F82: main (ffmpeg.c:4891)
>> ==23818== Address 0x18 is not stack'd, malloc'd or (recently) free'd
>> ==23818==
>> ==23818==
>> ==23818== Process terminating with default action of signal 11 (SIGSEGV)
>
> Can not reproduce.
Still reproducible with e9909fe1 here, also reproducible with
different compiler.
$ md5sum unknown+unknown+unknown+unknown+5064_cliplive5-16_2_644.viv
cd6466d1c8260ed200d73af2ba000d44
unknown+unknown+unknown+unknown+5064_cliplive5-16_2_644.viv
$ valgrind ffmpeg_g -i
unknown+unknown+unknown+unknown+5064_cliplive5-16_2_644.viv -c copy -f
null -
==3362== Memcheck, a memory error detector
==3362== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==3362== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==3362== Command: ffmpeg_g -i
unknown+unknown+unknown+unknown+5064_cliplive5-16_2_644.viv -c copy -f
null -
==3362==
ffmpeg version N-92770-ge9909fe Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.4.0 (GCC)
configuration: --enable-gpl --enable-libxml2 --enable-gnutls
--enable-gmp --enable-version3 --enable-libx264
libavutil 56. 25.100 / 56. 25.100
libavcodec 58. 42.104 / 58. 42.104
libavformat 58. 25.100 / 58. 25.100
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 46.101 / 7. 46.101
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Input #0, vividas, from
'unknown+unknown+unknown+unknown+5064_cliplive5-16_2_644.viv':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: vp6, yuv420p, 432x320, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf58.25.100
Stream #0:0: Video: vp6, yuv420p, 432x320, q=2-31, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
==3362== Invalid read of size 8
==3362== at 0x6766CA: ffio_read_varlen (aviobuf.c:930)
==3362== by 0x79F932: viv_read_packet (vividas.c:622)
==3362== by 0x790A6D: ff_read_packet (utils.c:856)
==3362== by 0x793ED3: read_frame_internal (utils.c:1582)
==3362== by 0x795021: av_read_frame (utils.c:1779)
==3362== by 0x4A8C07: transcode (ffmpeg.c:4147)
==3362== by 0x486F82: main (ffmpeg.c:4891)
==3362== Address 0x18 is not stack'd, malloc'd or (recently) free'd
==3362==
==3362==
==3362== Process terminating with default action of signal 11 (SIGSEGV)
==3362== Access not within mapped region at address 0x18
==3362== at 0x6766CA: ffio_read_varlen (aviobuf.c:930)
==3362== by 0x79F932: viv_read_packet (vividas.c:622)
==3362== by 0x790A6D: ff_read_packet (utils.c:856)
==3362== by 0x793ED3: read_frame_internal (utils.c:1582)
==3362== by 0x795021: av_read_frame (utils.c:1779)
==3362== by 0x4A8C07: transcode (ffmpeg.c:4147)
==3362== by 0x486F82: main (ffmpeg.c:4891)
==3362== If you believe this happened as a result of a stack
==3362== overflow in your program's main thread (unlikely but
==3362== possible), you can try to increase the size of the
==3362== main thread stack using the --main-stacksize= flag.
==3362== The main thread stack size used in this run was 8388608.
==3362==
==3362== HEAP SUMMARY:
==3362== in use at exit: 193,516 bytes in 1,476 blocks
==3362== total heap usage: 213,070 allocs, 211,594 frees, 72,080,342
bytes allocated
==3362==
==3362== LEAK SUMMARY:
==3362== definitely lost: 0 bytes in 0 blocks
==3362== indirectly lost: 0 bytes in 0 blocks
==3362== possibly lost: 0 bytes in 0 blocks
==3362== still reachable: 193,516 bytes in 1,476 blocks
==3362== suppressed: 0 bytes in 0 blocks
==3362== Rerun with --leak-check=full to see details of leaked memory
==3362==
==3362== For counts of detected and suppressed errors, rerun with: -v
==3362== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
Segmentation fault
Carl Eugen
More information about the ffmpeg-devel
mailing list