Opened 12 years ago

Closed 12 years ago

#1634 closed defect (fixed)

Leak on probing particular file

Reported by: Andrey Utkin Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: leak
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

While testing my app with valgrind, i found one leak that is reproduced with ffprobe.
Read errors valgrind mentions are irrelevant on the subject.
See ffmpeg version and configuration in the listing. It's today's git master HEAD.

 $ valgrind -v ffprobe /usr/local/src/netsol/samples/leak.ts -loglevel debug
==20267== Memcheck, a memory error detector
==20267== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==20267== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==20267== Command: ffprobe /usr/local/src/netsol/samples/leak.ts -loglevel debug
==20267== 
--20267-- Valgrind options:
--20267--    --memcheck:num-callers=50
--20267--    --memcheck:leak-check=full
--20267--    --memcheck:leak-resolution=high
--20267--    --memcheck:track-origins=yes
--20267--    --memcheck:show-reachable=yes
--20267--    --memcheck:show-possibly-lost=yes
--20267--    --memcheck:malloc-fill=11
--20267--    --memcheck:free-fill=33
--20267--    -v
--20267-- Contents of /proc/version:
--20267--   Linux version 3.4.5-gentoo-zver (root@zver) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.5, pie-0.4.7) ) #11 SMP PREEMPT Mon Aug 6 15:09:51 EEST 2012
--20267-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--20267-- Page sizes: currently 4096, max supported 4096
--20267-- Valgrind library directory: /usr/lib64/valgrind
--20267-- Reading syms from /usr/bin/ffprobe (0x400000)
--20267--   Considering /usr/lib/debug/usr/bin/ffprobe.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /lib64/ld-2.15.so (0x4000000)
--20267--   Considering /usr/lib/debug/lib64/ld-2.15.so.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux (0x38000000)
--20267--   Considering /usr/lib/debug/usr/lib64/valgrind/memcheck-amd64-linux.debug ..
--20267--   .. CRC is valid
--20267--    object doesn't have a dynamic symbol table
--20267-- Reading suppressions file: /usr/lib64/valgrind/default.supp
--20267-- REDIR: 0x40179a0 (strlen) redirected to 0x38042a67 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--20267-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so (0x4a24000)
--20267--   Considering /usr/lib/debug/usr/lib64/valgrind/vgpreload_core-amd64-linux.so.debug ..
--20267--   .. CRC is valid
==20267== Conditional jump or move depends on uninitialised value(s)
==20267==    at 0x4017876: index (in /lib64/ld-2.15.so)
==20267==    by 0x4007582: expand_dynamic_string_token (in /lib64/ld-2.15.so)
==20267==    by 0x4007E5F: _dl_map_object (in /lib64/ld-2.15.so)
==20267==    by 0x400136D: map_doit (in /lib64/ld-2.15.so)
==20267==    by 0x400E1E5: _dl_catch_error (in /lib64/ld-2.15.so)
==20267==    by 0x4001286: do_preload (in /lib64/ld-2.15.so)
==20267==    by 0x40039E6: dl_main (in /lib64/ld-2.15.so)
==20267==    by 0x4014867: _dl_sysdep_start (in /lib64/ld-2.15.so)
==20267==    by 0x40048AC: _dl_start (in /lib64/ld-2.15.so)
==20267==    by 0x4000BA7: ??? (in /lib64/ld-2.15.so)
==20267==    by 0x3: ???
==20267==    by 0x7FF000322: ???
==20267==    by 0x7FF00032A: ???
==20267==    by 0x7FF000350: ???
==20267==    by 0x7FF00035A: ???
==20267==  Uninitialised value was created by a stack allocation
==20267==    at 0x4002BF9: dl_main (in /lib64/ld-2.15.so)
==20267== 
==20267== Conditional jump or move depends on uninitialised value(s)
==20267==    at 0x401787B: index (in /lib64/ld-2.15.so)
==20267==    by 0x4007582: expand_dynamic_string_token (in /lib64/ld-2.15.so)
==20267==    by 0x4007E5F: _dl_map_object (in /lib64/ld-2.15.so)
==20267==    by 0x400136D: map_doit (in /lib64/ld-2.15.so)
==20267==    by 0x400E1E5: _dl_catch_error (in /lib64/ld-2.15.so)
==20267==    by 0x4001286: do_preload (in /lib64/ld-2.15.so)
==20267==    by 0x40039E6: dl_main (in /lib64/ld-2.15.so)
==20267==    by 0x4014867: _dl_sysdep_start (in /lib64/ld-2.15.so)
==20267==    by 0x40048AC: _dl_start (in /lib64/ld-2.15.so)
==20267==    by 0x4000BA7: ??? (in /lib64/ld-2.15.so)
==20267==    by 0x3: ???
==20267==    by 0x7FF000322: ???
==20267==    by 0x7FF00032A: ???
==20267==    by 0x7FF000350: ???
==20267==    by 0x7FF00035A: ???
==20267==  Uninitialised value was created by a stack allocation
==20267==    at 0x4002BF9: dl_main (in /lib64/ld-2.15.so)
==20267== 
--20267-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c26000)
--20267--   Considering /usr/lib/debug/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so.debug ..
--20267--   .. CRC is valid
==20267== WARNING: new redirection conflicts with existing -- ignoring it
--20267--     new: 0x040179a0 (strlen              ) R-> 0x04c2b5b0 strlen
--20267-- REDIR: 0x4017810 (index) redirected to 0x4c2b210 (index)
--20267-- REDIR: 0x4017890 (strcmp) redirected to 0x4c2c130 (strcmp)
--20267-- Reading syms from /usr/lib64/libavdevice.so.54.2.100 (0x4e31000)
--20267--   Considering /usr/lib/debug/usr/lib64/libavdevice.so.54.2.100.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libavfilter.so.3.7.100 (0x503d000)
--20267--   Considering /usr/lib/debug/usr/lib64/libavfilter.so.3.7.100.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libavformat.so.54.23.100 (0x52e0000)
--20267--   Considering /usr/lib/debug/usr/lib64/libavformat.so.54.23.100.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libavcodec.so.54.51.100 (0x5609000)
--20267--   Considering /usr/lib/debug/usr/lib64/libavcodec.so.54.51.100.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libpostproc.so.52.0.100 (0x633c000)
--20267--   Considering /usr/lib/debug/usr/lib64/libpostproc.so.52.0.100.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libswresample.so.0.15.100 (0x654c000)
--20267--   Considering /usr/lib/debug/usr/lib64/libswresample.so.0.15.100.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libswscale.so.2.1.101 (0x6760000)
--20267--   Considering /usr/lib/debug/usr/lib64/libswscale.so.2.1.101.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libavutil.so.51.67.100 (0x69a3000)
--20267--   Considering /usr/lib/debug/usr/lib64/libavutil.so.51.67.100.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /lib64/libpthread-2.15.so (0x6bcd000)
--20267--   Considering /usr/lib/debug/lib64/libpthread-2.15.so.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /lib64/libm-2.15.so (0x6dea000)
--20267--   Considering /usr/lib/debug/lib64/libm-2.15.so.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /lib64/libc-2.15.so (0x70de000)
--20267--   Considering /usr/lib/debug/lib64/libc-2.15.so.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libXfixes.so.3.1.0 (0x7488000)
--20267--   Considering /usr/lib/debug/usr/lib64/libXfixes.so.3.1.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libXext.so.6.4.0 (0x768e000)
--20267--   Considering /usr/lib/debug/usr/lib64/libXext.so.6.4.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libX11.so.6.3.0 (0x78a0000)
--20267--   Considering /usr/lib/debug/usr/lib64/libX11.so.6.3.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libasound.so.2.0.0 (0x7bdf000)
--20267--   Considering /usr/lib/debug/usr/lib64/libasound.so.2.0.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libSDL-1.2.so.0.11.4 (0x7ec0000)
--20267--   Considering /usr/lib/debug/usr/lib64/libSDL-1.2.so.0.11.4.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libfreetype.so.6.8.1 (0x8120000)
--20267--   Considering /usr/lib/debug/usr/lib64/libfreetype.so.6.8.1.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /lib64/libbz2.so.1.0.6 (0x83c0000)
--20267--    object doesn't have a symbol table
--20267-- Reading syms from /lib64/libz.so.1.2.5.1 (0x85d0000)
--20267--   Considering /usr/lib/debug/lib64/libz.so.1.2.5.1.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libxvidcore.so.4.3 (0x87e6000)
--20267--   Considering /usr/lib/debug/usr/lib64/libxvidcore.so.4.3.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libx264.so.125 (0x8b00000)
--20267-- Reading syms from /usr/lib64/libvorbisenc.so.2.0.9 (0x8e1b000)
--20267--   Considering /usr/lib/debug/usr/lib64/libvorbisenc.so.2.0.9.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libvorbis.so.0.4.6 (0x92ea000)
--20267--   Considering /usr/lib/debug/usr/lib64/libvorbis.so.0.4.6.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libvo-aacenc.so.0.0.3 (0x9517000)
--20267--   Considering /usr/lib/debug/usr/lib64/libvo-aacenc.so.0.0.3.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libspeex.so.1.5.0 (0x9735000)
--20267--   Considering /usr/lib/debug/usr/lib64/libspeex.so.1.5.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libmp3lame.so.0.0.0 (0x994f000)
--20267--   Considering /usr/lib/debug/usr/lib64/libmp3lame.so.0.0.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libfaac.so.0.0.0 (0x9bc7000)
--20267--   Considering /usr/lib/debug/usr/lib64/libfaac.so.0.0.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libxcb.so.1.1.0 (0x9dda000)
--20267--   Considering /usr/lib/debug/usr/lib64/libxcb.so.1.1.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /lib64/libdl-2.15.so (0x9ffb000)
--20267--   Considering /usr/lib/debug/lib64/libdl-2.15.so.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /lib64/librt-2.15.so (0xa1ff000)
--20267--   Considering /usr/lib/debug/lib64/librt-2.15.so.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libogg.so.0.8.0 (0xa408000)
--20267--   Considering /usr/lib/debug/usr/lib64/libogg.so.0.8.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libXau.so.6.0.0 (0xa60f000)
--20267--   Considering /usr/lib/debug/usr/lib64/libXau.so.6.0.0.debug ..
--20267--   .. CRC is valid
--20267-- Reading syms from /usr/lib64/libXdmcp.so.6.0.0 (0xa813000)
--20267--   Considering /usr/lib/debug/usr/lib64/libXdmcp.so.6.0.0.debug ..
--20267--   .. CRC is valid
--20267-- REDIR: 0x7166aa0 (strcasecmp) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x7168d70 (strncasecmp) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x7162e10 (strnlen) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
==20267== WARNING: new redirection conflicts with existing -- ignoring it
--20267--     new: 0x07162e40 (__GI_strnlen        ) R-> 0x04c2b4f0 strnlen
--20267-- REDIR: 0x7164800 (__GI_strrchr) redirected to 0x4c2b030 (__GI_strrchr)
--20267-- REDIR: 0x7161140 (index) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x72012a0 (__strchr_sse42) redirected to 0x4c2b0d0 (index)
--20267-- REDIR: 0x7162ce0 (strlen) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x7230c30 (__strlen_sse2_pminub) redirected to 0x4c2b550 (strlen)
--20267-- REDIR: 0x7162ef0 (strncmp) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x7202100 (__strncmp_sse42) redirected to 0x4c2ba10 (strncmp)
--20267-- REDIR: 0x7161200 (strcmp) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x7201350 (__strcmp_sse42) redirected to 0x4c2c070 (strcmp)
--20267-- REDIR: 0x7162d30 (__GI_strlen) redirected to 0x4c2b570 (__GI_strlen)
--20267-- REDIR: 0x715ed70 (posix_memalign) redirected to 0x4c291e0 (posix_memalign)
--20267-- REDIR: 0x7165880 (memset) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x71658c0 (__GI_memset) redirected to 0x4c2d160 (memset)
--20267-- REDIR: 0x716c930 (strchrnul) redirected to 0x4c2d300 (strchrnul)
--20267-- REDIR: 0x71dbac0 (__strcpy_chk) redirected to 0x4c2d370 (__strcpy_chk)
--20267-- REDIR: 0x7162f30 (__GI_strncmp) redirected to 0x4c2ba80 (__GI_strncmp)
ffprobe version N-43451-g48d20b9 Copyright (c) 2007-2012 the FFmpeg developers
  built on Aug 11 2012 14:50:34 with gcc 4.5.3 (Gentoo 4.5.3-r2 p1.5, pie-0.4.7)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=core2 -mtune=generic' --extra-cflags='-O2 -pipe -march=core2 -mtune=generic' --extra-cxxflags='-O2 -pipe -march=core2 -mtune=generic' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-doc --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libspeex --enable-libvorbis --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmxext --disable-vis --disable-neon --enable-pic --cpu=core2 --enable-hardcoded-tables
  libavutil      51. 67.100 / 51. 67.100
  libavcodec     54. 51.100 / 54. 51.100
  libavformat    54. 23.100 / 54. 23.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  7.100 /  3.  7.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
==20267== Invalid read of size 8
==20267==    at 0x7208614: __strspn_sse42 (in /lib64/libc-2.15.so)
==20267==    by 0x69ADCF4: av_strtok (avstring.c:171)
==20267==    by 0x4095BE: main (ffprobe.c:2161)
==20267==  Address 0xaa23228 is 0 bytes after a block of size 8 alloc'd
==20267==    at 0x4C29168: memalign (vg_replace_malloc.c:581)
==20267==    by 0x4C29217: posix_memalign (vg_replace_malloc.c:709)
==20267==    by 0x69B4E8C: av_malloc (mem.c:95)
==20267==    by 0x69B5050: av_strdup (mem.c:217)
==20267==    by 0x40B206: main (ffprobe.c:2160)
==20267== 
--20267-- REDIR: 0x71627b0 (strcspn) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x7208380 (__strcspn_sse42) redirected to 0x4c2d7f0 (strcspn)
--20267-- REDIR: 0x715d7c0 (free) redirected to 0x4c29d60 (free)
--20267-- REDIR: 0x71647c0 (rindex) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x72030e0 (__strrchr_sse42) redirected to 0x4c2b000 (rindex)
--20267-- REDIR: 0x7162690 (strcpy) redirected to 0x4a24670 (_vgnU_ifunc_wrapper)
--20267-- REDIR: 0x7170520 (__strcpy_sse2_unaligned) redirected to 0x4c2b5d0 (strcpy)
--20267-- REDIR: 0x715d850 (realloc) redirected to 0x4c2acd0 (realloc)
--20267-- REDIR: 0x716c720 (__GI___rawmemchr) redirected to 0x4c2d350 (__GI___rawmemchr)
[mpegts @ 0xaa23350] Format mpegts probed with size=2048 and score=100
--20267-- REDIR: 0x7162e40 (__GI_strnlen) redirected to 0x4c2b520 (__GI_strnlen)
[mpegts @ 0xaa23350] stream=0 stream_type=2 pid=597 prog_reg_desc=
[mpegts @ 0xaa23350] stream=1 stream_type=4 pid=598 prog_reg_desc=
[mpegts @ 0xaa23350] File position before avformat_find_stream_info() is 0
--20267-- REDIR: 0x715d2a0 (malloc) redirected to 0x4c2ac00 (malloc)
--20267-- REDIR: 0x7164f00 (memchr) redirected to 0x4c2c1f0 (memchr)
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
[mpegts @ 0xaa23350] stream=2 stream_type=0 pid=145 prog_reg_desc=
[mpegts @ 0xaa23350] stream=3 stream_type=0 pid=1fe prog_reg_desc=
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpegts @ 0xaa23350] Continuity check failed for pid 325 expected 9 got 14
[mpegts @ 0xaa23350] Continuity check failed for pid 510 expected 10 got 12
[mpegts @ 0xaa23350] probing stream 3 pp:2500
[mpegts @ 0xaa23350] probing stream 3 pp:2499
[mpegts @ 0xaa23350] Probe with size=646, packets=2 detected mp3 with score=1
[mpegts @ 0xaa23350] probing stream 2 pp:2500
[mpegts @ 0xaa23350] Probe with size=17228, packets=1 detected ico with score=33
[mpegts @ 0xaa23350] probing stream 2 pp:2499
[mpegts @ 0xaa23350] probing stream 3 pp:2498
[mpegts @ 0xaa23350] probing stream 2 pp:2498
[mpegts @ 0xaa23350] stream=4 stream_type=0 pid=19a prog_reg_desc=
[mpegts @ 0xaa23350] probing stream 3 pp:2497
[mpegts @ 0xaa23350] Probe with size=1292, packets=4 detected mp3 with score=1
[mpegts @ 0xaa23350] probing stream 3 pp:2496
[mpegts @ 0xaa23350] probing stream 2 pp:2497
[mpegts @ 0xaa23350] Probe with size=50936, packets=4 detected ico with score=33
[mpegts @ 0xaa23350] probing stream 3 pp:2495
[mpegts @ 0xaa23350] probing stream 2 pp:2496
[mpegts @ 0xaa23350] probing stream 2 pp:2495
[mpegts @ 0xaa23350] probing stream 3 pp:2494
[mpegts @ 0xaa23350] Probe with size=2261, packets=7 detected mp3 with score=1
[mpegts @ 0xaa23350] probing stream 4 pp:2500
[mpegts @ 0xaa23350] Probe with size=3456, packets=1 detected mp3 with score=51
[mpegts @ 0xaa23350] probed stream 4
[mpegts @ 0xaa23350] probing stream 3 pp:2493
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 6 got 0
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 1 got 6
[mpegts @ 0xaa23350] probing stream 3 pp:2492
[mpegts @ 0xaa23350] probing stream 2 pp:2494
[mpegts @ 0xaa23350] Probe with size=85748, packets=7 detected ico with score=33
[mpegts @ 0xaa23350] probing stream 2 pp:2493
[mpegts @ 0xaa23350] probing stream 3 pp:2491
[mpegts @ 0xaa23350] probing stream 2 pp:2492
[mpegts @ 0xaa23350] probing stream 3 pp:2490
[mpegts @ 0xaa23350] probing stream 2 pp:2491
[mpegts @ 0xaa23350] probing stream 3 pp:2489
[mpegts @ 0xaa23350] probing stream 2 pp:2490
[mpegts @ 0xaa23350] probing stream 2 pp:2489
[mpegts @ 0xaa23350] probing stream 3 pp:2488
[mpegts @ 0xaa23350] Probe with size=4199, packets=13 detected mp3 with score=1
[mpegts @ 0xaa23350] probing stream 3 pp:2487
[mpegts @ 0xaa23350] probing stream 2 pp:2488
[mpegts @ 0xaa23350] Probe with size=149108, packets=13 detected ico with score=33
[mpegts @ 0xaa23350] probing stream 2 pp:2487
[mpegts @ 0xaa23350] probing stream 3 pp:2486
[mpegts @ 0xaa23350] probing stream 2 pp:2486
[mpegts @ 0xaa23350] probing stream 3 pp:2485
[mpegts @ 0xaa23350] probing stream 3 pp:2484
[mpegts @ 0xaa23350] stream=2 stream_type=2 pid=145 prog_reg_desc=
[mpegts @ 0xaa23350] stream=4 stream_type=4 pid=19a prog_reg_desc=
[mpegts @ 0xaa23350] stream=3 stream_type=6 pid=1fe prog_reg_desc=
[mpegts @ 0xaa23350] probing stream 3 pp:2483
[mpegts @ 0xaa23350] probing stream 3 pp:2482
[mpegts @ 0xaa23350] probing stream 3 pp:2481
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 12 got 1
[mpegts @ 0xaa23350] probing stream 3 pp:2480
[mpegts @ 0xaa23350] probing stream 3 pp:2479
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 2 got 12
[mpegts @ 0xaa23350] probing stream 3 pp:2478
[mpegts @ 0xaa23350] probing stream 3 pp:2477
[mpegts @ 0xaa23350] probing stream 3 pp:2476
[mpegts @ 0xaa23350] probing stream 3 pp:2475
[mpegts @ 0xaa23350] Probe with size=8398, packets=26 detected mp3 with score=1
[mpegts @ 0xaa23350] probing stream 3 pp:2474
[mpegts @ 0xaa23350] probing stream 3 pp:2473
[mpegts @ 0xaa23350] probing stream 3 pp:2472
[mpegts @ 0xaa23350] probing stream 3 pp:2471
[mpegts @ 0xaa23350] probing stream 3 pp:2470
[mpegts @ 0xaa23350] probing stream 3 pp:2469
[mpegts @ 0xaa23350] probing stream 3 pp:2468
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 1 got 2
[mpegts @ 0xaa23350] probing stream 3 pp:2467
[mpegts @ 0xaa23350] probing stream 3 pp:2466
[mpegts @ 0xaa23350] probing stream 3 pp:2465
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 3 got 1
[mpegts @ 0xaa23350] probing stream 3 pp:2464
[mpegts @ 0xaa23350] probing stream 3 pp:2463
[mpegts @ 0xaa23350] probing stream 3 pp:2462
[mpegts @ 0xaa23350] probing stream 3 pp:2461
[mpegts @ 0xaa23350] probing stream 3 pp:2460
[mpegts @ 0xaa23350] probing stream 3 pp:2459
[mpegts @ 0xaa23350] probing stream 3 pp:2458
[mpegts @ 0xaa23350] probing stream 3 pp:2457
[mpegts @ 0xaa23350] probing stream 3 pp:2456
[mpegts @ 0xaa23350] probing stream 3 pp:2455
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 5 got 3
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 4 got 5
[mpegts @ 0xaa23350] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0xaa23350] probing stream 3 pp:2454
[mpegts @ 0xaa23350] Probe with size=14858, packets=2500 detected mp3 with score=1
[mpegts @ 0xaa23350] probed stream 3
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
    Last message repeated 2 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 1 times
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935196991 in que
    Last message repeated 4 times
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
    Last message repeated 2 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935209951 in que
    Last message repeated 4 times
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305754070 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 1 times
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935222911 in que
    Last message repeated 4 times
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305767030 in que
    Last message repeated 4 times
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935235871 in que
    Last message repeated 4 times
[mpeg2video @ 0xaa4d880] mpeg_decode_postinit() failure
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305779990 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
[mpeg2video @ 0xab13380] mpeg_decode_postinit() failure
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305792950 in que
    Last message repeated 4 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935248831 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935261791 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305805910 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 1 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935274751 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305818870 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935287711 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305831830 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935300671 in que
    Last message repeated 4 times
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305844790 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935313631 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305857750 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935326591 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305870710 in que
    Last message repeated 4 times
[mp1 @ 0xab4baf0] Header missing
    Last message repeated 2 times
[mpegts @ 0xaa23350] first_dts 1935184031 not matching first dts 1935339551 in que
    Last message repeated 4 times
[mpegts @ 0xaa23350] first_dts 3305741110 not matching first dts 3305883670 in que
    Last message repeated 3 times
[mp1 @ 0xab4baf0] Header missing
[mpegts @ 0xaa23350] decoding for stream 3 failed
[mpegts @ 0xaa23350] Could not find codec parameters for stream 3 (Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16): unspecified sample size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 5 got 3
[mpegts @ 0xaa23350] Continuity check failed for pid 0 expected 4 got 5
[mpegts @ 0xaa23350] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0xaa23350] File position after avformat_find_stream_info() is 0
Input #0, mpegts, from '/usr/local/src/netsol/samples/leak.ts':
  Duration: 04:13:50.46, start: 21502.044789, bitrate: 0 kb/s
  Program 1430 
    Metadata:
      service_name    : Rossia 2
      service_provider: GTSS
    Stream #0:0[0x597], 48, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 1/50, 15000 kb/s, 33.83 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x598](rus), 79, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s
  Program 10106 
    Stream #0:2[0x145], 46, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 1/50, 15000 kb/s, 35.50 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:4[0x19a](rus), 72, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s (clean effects)
    Stream #0:3[0x1fe](rus), 46, 1/90000: Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16
  Program 1 
    Metadata:
      service_name    : CTO
      service_provider: Scopus Network Technologies
  Program 1420 
    Metadata:
      service_name    : Rossia 24
      service_provider: GTSS
  Program 1440 
    Metadata:
      service_name    : Rossia K
      service_provider: GTSS
  Program 1460 
    Metadata:
      service_name    : Sport 1
      service_provider: GTSS
  Program 1500 
    Metadata:
      service_name    : Disney +0
      service_provider: GTSS
  Program 1600 
    Metadata:
      service_name    : SET Russia
      service_provider: GTSS
  Program 1700 
    Metadata:
      service_name    : AXN-ScFi-Ru
      service_provider: GTSS
  Program 1710 
    Metadata:
      service_name    : 5 kanal
      service_provider: GeoTelecom
  Program 1770 
    Metadata:
      service_name    : Sarafan
      service_provider: GTSS
  Program 10410 
    Metadata:
      service_name    : Nostalgiya
      service_provider: HTB+
  Program 10411 
    Metadata:
      service_name    : Sport plus
      service_provider: HTB+
  Program 14803 
    Metadata:
      service_name    : Detskii Mir-Teleclub
      service_provider: EUTELSAT
[mpeg2video @ 0xaa4d880] detected 4 logical cores
--20267-- REDIR: 0x715e360 (calloc) redirected to 0x4c29280 (calloc)
[mpeg2video @ 0xab13380] detected 4 logical cores
[AVIOContext @ 0xaa2b9a0] Statistics: 1298576 bytes read, 2 seeks

==20267== 
==20267== HEAP SUMMARY:
==20267==     in use at exit: 160,476 bytes in 1 blocks
==20267==   total heap usage: 2,074 allocs, 2,073 frees, 28,723,955 bytes allocated
==20267== 
==20267== Searching for pointers to 1 not-freed blocks
==20267== Checked 5,792,008 bytes
==20267== 
==20267== 160,476 bytes in 1 blocks are definitely lost in loss record 1 of 1
==20267==    at 0x4C2AD52: realloc (vg_replace_malloc.c:525)
==20267==    by 0x53A8703: probe_codec (utils.c:684)
==20267==    by 0x53A8E11: ff_read_packet (utils.c:786)
==20267==    by 0x53A95D0: read_frame_internal (utils.c:1305)
==20267==    by 0x53AB178: avformat_find_stream_info (utils.c:2628)
==20267==    by 0x409774: main (ffprobe.c:1902)
==20267== 
==20267== LEAK SUMMARY:
==20267==    definitely lost: 160,476 bytes in 1 blocks
==20267==    indirectly lost: 0 bytes in 0 blocks
==20267==      possibly lost: 0 bytes in 0 blocks
==20267==    still reachable: 0 bytes in 0 blocks
==20267==         suppressed: 0 bytes in 0 blocks
==20267== 
==20267== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
==20267== 
==20267== 1 errors in context 1 of 4:
==20267== Invalid read of size 8
==20267==    at 0x7208614: __strspn_sse42 (in /lib64/libc-2.15.so)
==20267==    by 0x69ADCF4: av_strtok (avstring.c:171)
==20267==    by 0x4095BE: main (ffprobe.c:2161)
==20267==  Address 0xaa23228 is 0 bytes after a block of size 8 alloc'd
==20267==    at 0x4C29168: memalign (vg_replace_malloc.c:581)
==20267==    by 0x4C29217: posix_memalign (vg_replace_malloc.c:709)
==20267==    by 0x69B4E8C: av_malloc (mem.c:95)
==20267==    by 0x69B5050: av_strdup (mem.c:217)
==20267==    by 0x40B206: main (ffprobe.c:2160)
==20267== 
==20267== 
==20267== 1 errors in context 2 of 4:
==20267== Conditional jump or move depends on uninitialised value(s)
==20267==    at 0x401787B: index (in /lib64/ld-2.15.so)
==20267==    by 0x4007582: expand_dynamic_string_token (in /lib64/ld-2.15.so)
==20267==    by 0x4007E5F: _dl_map_object (in /lib64/ld-2.15.so)
==20267==    by 0x400136D: map_doit (in /lib64/ld-2.15.so)
==20267==    by 0x400E1E5: _dl_catch_error (in /lib64/ld-2.15.so)
==20267==    by 0x4001286: do_preload (in /lib64/ld-2.15.so)
==20267==    by 0x40039E6: dl_main (in /lib64/ld-2.15.so)
==20267==    by 0x4014867: _dl_sysdep_start (in /lib64/ld-2.15.so)
==20267==    by 0x40048AC: _dl_start (in /lib64/ld-2.15.so)
==20267==    by 0x4000BA7: ??? (in /lib64/ld-2.15.so)
==20267==    by 0x3: ???
==20267==    by 0x7FF000322: ???
==20267==    by 0x7FF00032A: ???
==20267==    by 0x7FF000350: ???
==20267==    by 0x7FF00035A: ???
==20267==  Uninitialised value was created by a stack allocation
==20267==    at 0x4002BF9: dl_main (in /lib64/ld-2.15.so)
==20267== 
==20267== 
==20267== 1 errors in context 3 of 4:
==20267== Conditional jump or move depends on uninitialised value(s)
==20267==    at 0x4017876: index (in /lib64/ld-2.15.so)
==20267==    by 0x4007582: expand_dynamic_string_token (in /lib64/ld-2.15.so)
==20267==    by 0x4007E5F: _dl_map_object (in /lib64/ld-2.15.so)
==20267==    by 0x400136D: map_doit (in /lib64/ld-2.15.so)
==20267==    by 0x400E1E5: _dl_catch_error (in /lib64/ld-2.15.so)
==20267==    by 0x4001286: do_preload (in /lib64/ld-2.15.so)
==20267==    by 0x40039E6: dl_main (in /lib64/ld-2.15.so)
==20267==    by 0x4014867: _dl_sysdep_start (in /lib64/ld-2.15.so)
==20267==    by 0x40048AC: _dl_start (in /lib64/ld-2.15.so)
==20267==    by 0x4000BA7: ??? (in /lib64/ld-2.15.so)
==20267==    by 0x3: ???
==20267==    by 0x7FF000322: ???
==20267==    by 0x7FF00032A: ???
==20267==    by 0x7FF000350: ???
==20267==    by 0x7FF00035A: ???
==20267==  Uninitialised value was created by a stack allocation
==20267==    at 0x4002BF9: dl_main (in /lib64/ld-2.15.so)
==20267== 
==20267== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)

Attachments (1)

leak.ts (1.0 MB ) - added by Andrey Utkin 12 years ago.

Download all attachments as: .zip

Change History (3)

by Andrey Utkin, 12 years ago

Attachment: leak.ts added

comment:1 by Carl Eugen Hoyos, 12 years ago

Reproduced by developer: set
Status: newopen
$ valgrind --leak-check=full ffmpeg_g -i leak.ts    
==19387== Memcheck, a memory error detector
==19387== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==19387== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==19387== Command: ffmpeg_g -i leak.ts
==19387==
ffmpeg version N-43451-g48d20b9 Copyright (c) 2000-2012 the FFmpeg developers                              
  built on Aug 11 2012 14:43:15 with gcc 4.6.1 (GCC)                                                       
  configuration: --cc='/usr/local/gcc-4.6.1/bin/gcc -m32' --disable-optimizations                          
  libavutil      51. 67.100 / 51. 67.100                                                                   
  libavcodec     54. 51.100 / 54. 51.100                                                                   
  libavformat    54. 23.100 / 54. 23.100                                                                   
  libavdevice    54.  2.100 / 54.  2.100                                                                   
  libavfilter     3.  7.100 /  3.  7.100                                                                   
  libswscale      2.  1.101 /  2.  1.101                                                                   
  libswresample   0. 15.100 /  0. 15.100                                                                   
[mpeg2video @ 0x508acc0] mpeg_decode_postinit() failure                                                    
    Last message repeated 2 times                                                                          
[mpegts @ 0x5068660] PES packet size mismatch                                                              
    Last message repeated 1 times                                                                          
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x508acc0] mpeg_decode_postinit() failure                                                    
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
[mpeg2video @ 0x508acc0] mpeg_decode_postinit() failure                                                    
    Last message repeated 2 times                                                                          
[mp1 @ 0x5187d20] Header missing                                                                           
    Last message repeated 1 times                                                                          
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
    Last message repeated 1 times                                                                          
[mpeg2video @ 0x508acc0] mpeg_decode_postinit() failure                                                    
    Last message repeated 2 times                                                                          
[mp1 @ 0x5187d20] Header missing                                                                           
    Last message repeated 2 times                                                                          
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
    Last message repeated 1 times                                                                          
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
[mpeg2video @ 0x508acc0] mpeg_decode_postinit() failure                                                    
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x508acc0] mpeg_decode_postinit() failure                                                    
    Last message repeated 1 times                                                                          
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
    Last message repeated 1 times                                                                          
[mp1 @ 0x5187d20] Header missing                                                                           
    Last message repeated 1 times                                                                          
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
    Last message repeated 1 times                                                                          
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
[mp1 @ 0x5187d20] Header missing                                                                           
[mpeg2video @ 0x508acc0] mpeg_decode_postinit() failure                                                    
[mp1 @ 0x5187d20] Header missing                                                                           
    Last message repeated 1 times                                                                          
[mpeg2video @ 0x514f540] mpeg_decode_postinit() failure                                                    
[mp1 @ 0x5187d20] Header missing                                                                           
    Last message repeated 28 times                                                                         
[mpegts @ 0x5068660] decoding for stream 3 failed                                                          
[mpegts @ 0x5068660] Could not find codec parameters for stream 3 (Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16): unspecified sample size                                                                      
Consider increasing the value for the 'analyzeduration' and 'probesize' options                            
[mpegts @ 0x5068660] PES packet size mismatch                                                              
    Last message repeated 1 times                                                                          
Input #0, mpegts, from 'leak.ts':                                                                          
  Duration: 04:13:50.46, start: 21502.044789, bitrate: 0 kb/s                                              
  Program 1430                                                                                             
    Metadata:                                                                                              
      service_name    : Rossia 2                                                                           
      service_provider: GTSS                                                                               
    Stream #0:0[0x597]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 15000 kb/s, 33.83 fps, 25 tbr, 90k tbn, 50 tbc                                                        
    Stream #0:1[0x598](rus): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s           
  Program 10106                                                                                            
    Stream #0:2[0x145]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 15000 kb/s, 35.50 fps, 25 tbr, 90k tbn, 50 tbc                                                       
    Stream #0:4[0x19a](rus): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s (clean effects)                                                                                                      
    Stream #0:3[0x1fe](rus): Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16                           
  Program 1                                                                                                
    Metadata:                                                                                              
      service_name    : CTO                                                                                
      service_provider: Scopus Network Technologies                                                        
  Program 1420                                                                                             
    Metadata:                                                                                              
      service_name    : Rossia 24                                                                          
      service_provider: GTSS                                                                               
  Program 1440                                                                                             
    Metadata:                                                                                              
      service_name    : Rossia K                                                                           
      service_provider: GTSS                                                                               
  Program 1460
    Metadata:
      service_name    : Sport 1
      service_provider: GTSS
  Program 1500
    Metadata:
      service_name    : Disney +0
      service_provider: GTSS
  Program 1600
    Metadata:
      service_name    : SET Russia
      service_provider: GTSS
  Program 1700
    Metadata:
      service_name    : AXN-ScFi-Ru
      service_provider: GTSS
  Program 1710
    Metadata:
      service_name    : 5 kanal
      service_provider: GeoTelecom
  Program 1770
    Metadata:
      service_name    : Sarafan
      service_provider: GTSS
  Program 10410
    Metadata:
      service_name    : Nostalgiya
      service_provider: HTB+
  Program 10411
    Metadata:
      service_name    : Sport plus
      service_provider: HTB+
  Program 14803
    Metadata:
      service_name    : Detskii Mir-Teleclub
      service_provider: EUTELSAT
At least one output file must be specified
==19387==
==19387== HEAP SUMMARY:
==19387==     in use at exit: 160,476 bytes in 1 blocks
==19387==   total heap usage: 2,061 allocs, 2,060 frees, 28,510,433 bytes allocated
==19387==
==19387== 160,476 bytes in 1 blocks are possibly lost in loss record 1 of 1
==19387==    at 0x4CADD82: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==19387==    by 0x87F2899: av_realloc (mem.c:159)
==19387==    by 0x81778B5: probe_codec (utils.c:684)
==19387==    by 0x8177DE6: ff_read_packet (utils.c:786)
==19387==    by 0x8179B70: read_frame_internal (utils.c:1305)
==19387==    by 0x817E05C: avformat_find_stream_info (utils.c:2628)
==19387==    by 0x804DD0D: opt_input_file (ffmpeg_opt.c:751)
==19387==    by 0x806160F: parse_option (cmdutils.c:314)
==19387==    by 0x8061739: parse_options (cmdutils.c:347)
==19387==    by 0x8060B9C: main (ffmpeg.c:3078)
==19387==
==19387== LEAK SUMMARY:
==19387==    definitely lost: 0 bytes in 0 blocks
==19387==    indirectly lost: 0 bytes in 0 blocks
==19387==      possibly lost: 160,476 bytes in 1 blocks
==19387==    still reachable: 0 bytes in 0 blocks
==19387==         suppressed: 0 bytes in 0 blocks
==19387==
==19387== For counts of detected and suppressed errors, rerun with: -v
==19387== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 3 from 3)

comment:2 by Michael Niedermayer, 12 years ago

Keywords: leak added
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.