[FFmpeg-trac] #1022(undetermined:new): "Glibc detected corrupted double-linked list" when copying rtsp stream.

FFmpeg trac at avcodec.org
Sat Mar 17 02:09:22 CET 2012


#1022: "Glibc detected corrupted double-linked list" when copying rtsp stream.
-------------------------------------+-------------------------------------
             Reporter:  vk5ztv       |                    Owner:  michael
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by vk5ztv):

 This may be more useful - output of valgrind -v --leak-check=full...

 11:33:10 bakerr at mako:~> valgrind -v --leak-check=full ffmpeg -i
 rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy
 -map 0:0 -map 0:1 -map 0:2 20120317-ffmpeg.rm
 ==6497== Memcheck, a memory error detector
 ==6497== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
 ==6497== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
 ==6497== Command: ffmpeg -i rtsp://str4.nlenet.net/broadcast/live-video.rm
 -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2 20120317-ffmpeg.rm
 ==6497==
 --6497-- Valgrind options:
 --6497--    -v
 --6497--    --leak-check=full
 --6497-- Contents of /proc/version:
 --6497--   Linux version 3.1.0-3-desktop-vk5ztv (bakerr at mako) (gcc version
 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP
 PREEMPT Tue Nov 1 01:37:54 CST 2011
 --6497-- Arch and hwcaps: X86, x86-sse1-sse2
 --6497-- Page sizes: currently 4096, max supported 4096
 --6497-- Valgrind library directory: /usr/lib/valgrind
 --6497-- Reading syms from /lib/ld-2.11.3.so (0x4000000)
 --6497--   Considering /usr/lib/debug/.build-
 id/b6/b00f5560b849cf9fac5e6efb9f403c21f508dd.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /usr/bin/ffmpeg (0x8048000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux
 (0x38000000)
 --6497--    object doesn't have a symbol table
 --6497--    object doesn't have a dynamic symbol table
 --6497-- Reading suppressions file: /usr/lib/valgrind/default.supp
 --6497-- REDIR: 0x4017010 (index) redirected to 0x3804084f (???)
 --6497-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so
 (0x4022000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4025000)
 --6497--    object doesn't have a symbol table
 ==6497== WARNING: new redirection conflicts with existing -- ignoring it
 --6497--     new: 0x04017010 (index               ) R-> 0x040295b0 index
 --6497-- REDIR: 0x40171b0 (strlen) redirected to 0x40299f0 (strlen)
 --6497-- Reading syms from /usr/lib/libavdevice.so.53.4.100 (0x4071000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libavfilter.so.2.64.101 (0x407f000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libavformat.so.54.2.100 (0x4101000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libavcodec.so.54.10.100 (0x4230000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libpostproc.so.52.0.100 (0x4eaa000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libswresample.so.0.7.100 (0x4ec3000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libswscale.so.2.1.100 (0x4ecc000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libavutil.so.51.42.100 (0x4f1b000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /lib/libpthread-2.11.3.so (0x4f42000)
 --6497--   Considering /usr/lib/debug/.build-
 id/16/aeafd6eb4202cf8cad27078a8f294503aff1eb.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /lib/libm-2.11.3.so (0x4f5d000)
 --6497--   Considering /usr/lib/debug/.build-
 id/f8/e95f6424bafd41f505d4a5b113c5100ffa03be.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /lib/libc-2.11.3.so (0x4f87000)
 --6497--   Considering /usr/lib/debug/lib/libc-2.11.3.so.debug ..
 --6497--   .. CRC mismatch (computed c2cfbf3e wanted d416458b)
 --6497-- Reading syms from /usr/lib/libjack.so.0.1.0 (0x50f4000)
 --6497--   Considering /usr/lib/debug/.build-
 id/8c/69bab5819456dcbcd7719395bd48cddb5c7763.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /usr/lib/libasound.so.2.0.0 (0x5136000)
 --6497--   Considering /usr/lib/debug/.build-
 id/c5/575104a055af1016a0241c4ba518c9a81baf3d.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /usr/lib/libSDL-1.2.so.0.11.3 (0x521b000)
 --6497--   Considering /usr/lib/debug/.build-
 id/d3/e59658f40edeba20bd7596938d9fb6f1874c08.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /lib/libbz2.so.1.0.6 (0x52bd000)
 --6497--   Considering /usr/lib/debug/.build-
 id/72/ecd7f568208a3bf73c63863418e87f9a1eec8d.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /lib/libz.so.1.2.5 (0x52cd000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libva.so.1.0.14 (0x52e4000)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libxvidcore.so.4.3 (0x5310000)
 --6497--   Considering /usr/lib/debug/usr/lib/libxvidcore.so.4.3.debug ..
 --6497--   .. CRC mismatch (computed f5ed85b9 wanted bd509a95)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libx264.so.120 (0x5431000)
 --6497-- Reading syms from /usr/lib/libvorbisenc.so.2.0.8 (0x55cd000)
 --6497--   Considering /usr/lib/debug/.build-
 id/aa/b4cad4c2b04fac6d5c25a9f0cc8c6c1d2034e7.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /usr/lib/libvorbis.so.0.4.5 (0x5744000)
 --6497--   Considering /usr/lib/debug/.build-
 id/f0/588d7b2538d13f04a53b81b624f30616a0e476.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /usr/lib/libtheoraenc.so.1.1.2 (0x576f000)
 --6497--   Considering /usr/lib/debug/usr/lib/libtheoraenc.so.1.1.2.debug
 ..
 --6497--   .. CRC mismatch (computed 4cf20faf wanted c1b9bf33)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libtheoradec.so.1.1.4 (0x57b2000)
 --6497--   Considering /usr/lib/debug/usr/lib/libtheoradec.so.1.1.4.debug
 ..
 --6497--   .. CRC mismatch (computed 06c906c5 wanted 28159263)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libschroedinger-1.0.so.0.10.0
 (0x57cd000)
 --6497--   Considering /usr/lib/debug/.build-
 id/b6/9314a58c8e9dcc5b7d87c65a52e7ee1d096fc2.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /usr/lib/libmp3lame.so.0.0.0 (0x5892000)
 --6497--   Considering /usr/lib/debug/usr/lib/libmp3lame.so.0.0.0.debug ..
 --6497--   .. CRC mismatch (computed 051f5c45 wanted 151d4741)
 --6497--    object doesn't have a symbol table
 --6497-- Reading syms from /usr/lib/libstdc++.so.6.0.14 (0x590c000)
 --6497--   Considering /usr/lib/debug/.build-
 id/84/53e4914f5934a3f095451dadbdb2dbdbb90c43.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /lib/librt-2.11.3.so (0x59fb000)
 --6497--   Considering /usr/lib/debug/.build-
 id/b1/88ebbfa6da0b124a758c32c79dd602f6ee5d47.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /lib/libdl-2.11.3.so (0x5a05000)
 --6497--   Considering /usr/lib/debug/.build-
 id/78/5eb60d6a7a2b4828cd93c6738f00065322f20d.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /lib/libgcc_s.so.1 (0x5a0a000)
 --6497-- Reading syms from /usr/lib/libogg.so.0.7.1 (0x5a29000)
 --6497--   Considering /usr/lib/debug/.build-
 id/1c/c5f47c3e0d14ecafc5de593fb93ec9cb81b03f.debug ..
 --6497--   .. build-id is valid
 --6497-- Reading syms from /usr/lib/liborc-0.4.so.0.11.0 (0x5a31000)
 --6497--   Considering /usr/lib/debug/.build-
 id/fd/861d76147c9588720e9ac1bdeb99d51a46d65e.debug ..
 --6497--   .. build-id is valid
 --6497-- REDIR: 0x50042b0 (strstr) redirected to 0x40224e0
 (_vgnU_ifunc_wrapper)
 --6497-- REDIR: 0x4ffd530 (strlen) redirected to 0x40224e0
 (_vgnU_ifunc_wrapper)
 --6497-- REDIR: 0x4ffdb90 (strpbrk) redirected to 0x40224e0
 (_vgnU_ifunc_wrapper)
 --6497-- REDIR: 0x4ffcfc0 (strcspn) redirected to 0x40224e0
 (_vgnU_ifunc_wrapper)
 --6497-- REDIR: 0x5003ea0 (__GI_strstr) redirected to 0x402bad0 (strstr)
 --6497-- REDIR: 0x4ffd9d0 (rindex) redirected to 0x4029420 (rindex)
 --6497-- REDIR: 0x4ffd5f0 (__GI_strlen) redirected to 0x40299d0
 (__GI_strlen)
 --6497-- REDIR: 0x4ffcf30 (strcmp) redirected to 0x402a4f0 (strcmp)
 --6497-- REDIR: 0x59bfd60 (operator new(unsigned int)) redirected to
 0x4028bb0 (operator new(unsigned int))
 --6497-- REDIR: 0x4ff9a00 (free) redirected to 0x4028210 (free)
 --6497-- REDIR: 0x4ffaee0 (posix_memalign) redirected to 0x40276a0
 (posix_memalign)
 --6497-- REDIR: 0x4ffe780 (memset) redirected to 0x402b4d0 (memset)
 --6497-- REDIR: 0x4ffcdc0 (index) redirected to 0x40294f0 (index)
 --6497-- REDIR: 0x4ffd570 (__strlen_sse2) redirected to 0x40299b0 (strlen)
 --6497-- REDIR: 0x4ffd800 (strncmp) redirected to 0x4029eb0 (strncmp)
 --6497-- REDIR: 0x4fffe20 (strchrnul) redirected to 0x402b690 (strchrnul)
 --6497-- REDIR: 0x4ffe7e0 (mempcpy) redirected to 0x402b7c0 (mempcpy)
 --6497-- REDIR: 0x4ffcfa0 (strcpy) redirected to 0x4029a30 (strcpy)
 ffmpeg version N-38726-gad029c2 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Mar 11 2012 21:23:27 with gcc 4.5.1 20101208 [gcc-4_5-branch
 revision 167585]
   configuration: --enable-gpl --enable-nonfree --enable-libmp3lame
 --enable-libx264 --enable-pthreads --prefix=/usr --enable-postproc
 --enable-avfilter --enable-libxvid --enable-libschroedinger --enable-
 shared --enable-libvorbis --enable-libtheora
   libavutil      51. 42.100 / 51. 42.100
   libavcodec     54. 10.100 / 54. 10.100
   libavformat    54.  2.100 / 54.  2.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 64.101 /  2. 64.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  7.100 /  0.  7.100
   libpostproc    52.  0.100 / 52.  0.100
 --6497-- REDIR: 0x4ffecd0 (memcpy) redirected to 0x402a670 (memcpy)
 --6497-- REDIR: 0x4ff9530 (malloc) redirected to 0x40290b0 (malloc)
 --6497-- REDIR: 0x4ff9ae0 (realloc) redirected to 0x4029180 (realloc)
 --6497-- REDIR: 0x4fffd50 (rawmemchr) redirected to 0x402b6c0 (rawmemchr)
 --6497-- REDIR: 0x4ffe280 (memchr) redirected to 0x402a630 (memchr)
 [rtsp @ 0x5ac9ba0] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, rtsp, from 'rtsp://str4.nlenet.net/broadcast/live-video.rm':
   Metadata:
     title           : [Server 3/4] Live Services
     comment         : B'nai Shalom <No copyright>
   Duration: N/A, start: 0.000000, bitrate: 350 kb/s
     Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 318
 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
     Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240, 29.97
 fps, 29.97 tbr, 1k tbn, 1k tbc
     Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32
 kb/s
 File '20120317-ffmpeg.rm' already exists. Overwrite ? [y/N] y
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAAC: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAAE: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5744 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAB4: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAB7: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFB72: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFB79: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BEF49: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BEF63: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BEF75: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF29B: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF316: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF32D: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF3A6: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF440: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF7FC: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF821: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF884: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF8A2: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 Output #0, rm, to '20120317-ffmpeg.rm':
   Metadata:
     title           : [Server 3/4] Live Services
     comment         : B'nai Shalom <No copyright>
     encoder         : Lavf54.2.100
     Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240,
 q=2-31, 318 kb/s, 29.97 fps, 90k tbn, 1k tbc
     Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x240,
 q=2-31, 29.97 fps, 90k tbn, 1k tbc
     Stream #0:2: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, 32 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
   Stream #0:2 -> #0:2 (copy)
 Press [q] to stop, [?] for help
 --6497-- REDIR: 0x4ffe710 (memmove) redirected to 0x402b570
 (memmove)trate=   0.0kbits/s
 pts < dts in stream 0
 --6497-- REDIR: 0x4ffe980 (stpcpy) redirected to 0x402b1d0 (stpcpy)
 av_interleaved_write_frame(): Invalid argument
 ==6497==
 ==6497== HEAP SUMMARY:
 ==6497==     in use at exit: 52,882 bytes in 47 blocks
 ==6497==   total heap usage: 779 allocs, 732 frees, 2,158,671 bytes
 allocated
 ==6497==
 ==6497== Searching for pointers to 47 not-freed blocks
 ==6497== Checked 7,612,756 bytes
 ==6497==
 ==6497== 52,179 (72 direct, 52,107 indirect) bytes in 1 blocks are
 definitely lost in loss record 6 of 6
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497== LEAK SUMMARY:
 ==6497==    definitely lost: 72 bytes in 1 blocks
 ==6497==    indirectly lost: 52,107 bytes in 43 blocks
 ==6497==      possibly lost: 0 bytes in 0 blocks
 ==6497==    still reachable: 703 bytes in 3 blocks
 ==6497==         suppressed: 0 bytes in 0 blocks
 ==6497== Reachable blocks (those to which a pointer was found) are not
 shown.
 ==6497== To see them, rerun with: --leak-check=full --show-reachable=yes
 ==6497==
 ==6497== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)
 ==6497==
 ==6497== 1 errors in context 1 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF8A2: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 1 errors in context 2 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF884: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 1 errors in context 3 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF821: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 1 errors in context 4 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF7FC: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 1 errors in context 5 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF440: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 1 errors in context 6 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF3A6: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 7 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF32D: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 8 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF316: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 9 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BF29B: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 1 errors in context 10 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BEF75: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 11 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BEF63: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 12 of 19:
 ==6497== Invalid read of size 4
 ==6497==    at 0x41BEF49: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 13 of 19:
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFB79: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5738 is 4 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 14 of 19:
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFB72: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5740 is 12 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 15 of 19:
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAB7: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 ==6497==
 ==6497== 1 errors in context 16 of 19:
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAB4: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5748 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 1 errors in context 17 of 19:
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAAE: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5744 is not stack'd, malloc'd or (recently) free'd
 ==6497==
 ==6497==
 ==6497== 6 errors in context 18 of 19:
 ==6497== Invalid write of size 4
 ==6497==    at 0x41BFAAC: ??? (in /usr/lib/libavformat.so.54.2.100)
 ==6497==  Address 0x5ca5734 is 0 bytes after a block of size 84 alloc'd
 ==6497==    at 0x4027627: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x40276D7: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==6497==    by 0x4F2BE77: av_mallocz (in /usr/lib/libavutil.so.51.42.100)
 ==6497==
 --6497--
 --6497-- used_suppression:      3 U1004-ARM-_dl_relocate_object
 ==6497==
 ==6497== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1022#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list