[FFmpeg-trac] #1022(undetermined:new): "Glibc detected corrupted double-linked list" when copying rtsp stream.
FFmpeg
trac at avcodec.org
Sat Mar 24 01:53:59 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):
Output from Valgrind on latest git-master with --disable-shared:
valgrind -v --track-origins=yes --leak-check=full
/usr/local/src/ffmpeg/ffmpeg_g -y -i rtsp://str4.nlenet.net/broadcast
/live-video.rm -vcodec copy -acodec copy -map 0:0 -map 0:1 -map 0:2
20120324.rm
==28681== Memcheck, a memory error detector
==28681== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==28681== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright
info
==28681== Command: /usr/local/src/ffmpeg/ffmpeg_g -y -i
rtsp://str4.nlenet.net/broadcast/live-video.rm -vcodec copy -acodec copy
-map 0:0 -map 0:1 -map 0:2 20120324.rm
==28681==
--28681-- Valgrind options:
--28681-- -v
--28681-- --track-origins=yes
--28681-- --leak-check=full
--28681-- Contents of /proc/version:
--28681-- 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
--28681-- Arch and hwcaps: X86, x86-sse1-sse2
--28681-- Page sizes: currently 4096, max supported 4096
--28681-- Valgrind library directory: /usr/lib/valgrind
--28681-- Reading syms from /lib/ld-2.11.3.so (0x4000000)
--28681-- Considering /usr/lib/debug/.build-
id/b6/b00f5560b849cf9fac5e6efb9f403c21f508dd.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/local/src/ffmpeg/ffmpeg_g (0x8048000)
--28681-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux
(0x38000000)
--28681-- object doesn't have a symbol table
--28681-- object doesn't have a dynamic symbol table
--28681-- Reading suppressions file: /usr/lib/valgrind/default.supp
--28681-- REDIR: 0x4017010 (index) redirected to 0x3804084f (???)
--28681-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so
(0x4022000)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4025000)
--28681-- object doesn't have a symbol table
==28681== WARNING: new redirection conflicts with existing -- ignoring it
--28681-- new: 0x04017010 (index ) R-> 0x040295b0 index
--28681-- REDIR: 0x40171b0 (strlen) redirected to 0x40299f0 (strlen)
--28681-- Reading syms from /usr/lib/libva.so.1.0.14 (0x4071000)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libjack.so.0.1.0 (0x409d000)
--28681-- Considering /usr/lib/debug/.build-
id/8c/69bab5819456dcbcd7719395bd48cddb5c7763.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libasound.so.2.0.0 (0x40df000)
--28681-- Considering /usr/lib/debug/.build-
id/c5/575104a055af1016a0241c4ba518c9a81baf3d.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libSDL-1.2.so.0.11.3 (0x41c5000)
--28681-- Considering /usr/lib/debug/.build-
id/d3/e59658f40edeba20bd7596938d9fb6f1874c08.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libpthread-2.11.3.so (0x4266000)
--28681-- Considering /usr/lib/debug/.build-
id/16/aeafd6eb4202cf8cad27078a8f294503aff1eb.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libxvidcore.so.4.3 (0x4281000)
--28681-- Considering /usr/lib/debug/usr/lib/libxvidcore.so.4.3.debug ..
--28681-- .. CRC mismatch (computed f5ed85b9 wanted bd509a95)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libx264.so.122 (0x43a2000)
--28681-- Reading syms from /usr/lib/libvorbisenc.so.2.0.8 (0x453e000)
--28681-- Considering /usr/lib/debug/.build-
id/aa/b4cad4c2b04fac6d5c25a9f0cc8c6c1d2034e7.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libvorbis.so.0.4.5 (0x46b6000)
--28681-- Considering /usr/lib/debug/.build-
id/f0/588d7b2538d13f04a53b81b624f30616a0e476.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libtheoraenc.so.1.1.2 (0x46e1000)
--28681-- Considering /usr/lib/debug/usr/lib/libtheoraenc.so.1.1.2.debug
..
--28681-- .. CRC mismatch (computed 4cf20faf wanted c1b9bf33)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libtheoradec.so.1.1.4 (0x4724000)
--28681-- Considering /usr/lib/debug/usr/lib/libtheoradec.so.1.1.4.debug
..
--28681-- .. CRC mismatch (computed 06c906c5 wanted 28159263)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /usr/lib/libschroedinger-1.0.so.0.10.0
(0x473f000)
--28681-- Considering /usr/lib/debug/.build-
id/b6/9314a58c8e9dcc5b7d87c65a52e7ee1d096fc2.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libmp3lame.so.0.0.0 (0x4803000)
--28681-- Considering /usr/lib/debug/usr/lib/libmp3lame.so.0.0.0.debug
..
--28681-- .. CRC mismatch (computed 051f5c45 wanted 151d4741)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /lib/libm-2.11.3.so (0x487d000)
--28681-- Considering /usr/lib/debug/.build-
id/f8/e95f6424bafd41f505d4a5b113c5100ffa03be.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libbz2.so.1.0.6 (0x48a8000)
--28681-- Considering /usr/lib/debug/.build-
id/72/ecd7f568208a3bf73c63863418e87f9a1eec8d.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libz.so.1.2.5 (0x48b8000)
--28681-- object doesn't have a symbol table
--28681-- Reading syms from /lib/libc-2.11.3.so (0x48cf000)
--28681-- Considering /usr/lib/debug/lib/libc-2.11.3.so.debug ..
--28681-- .. CRC mismatch (computed c2cfbf3e wanted d416458b)
--28681-- Reading syms from /lib/libdl-2.11.3.so (0x4a3c000)
--28681-- Considering /usr/lib/debug/.build-
id/78/5eb60d6a7a2b4828cd93c6738f00065322f20d.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/libstdc++.so.6.0.14 (0x4a41000)
--28681-- Considering /usr/lib/debug/.build-
id/84/53e4914f5934a3f095451dadbdb2dbdbb90c43.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/librt-2.11.3.so (0x4b30000)
--28681-- Considering /usr/lib/debug/.build-
id/b1/88ebbfa6da0b124a758c32c79dd602f6ee5d47.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /lib/libgcc_s.so.1 (0x4b3b000)
--28681-- Reading syms from /usr/lib/libogg.so.0.7.1 (0x4b59000)
--28681-- Considering /usr/lib/debug/.build-
id/1c/c5f47c3e0d14ecafc5de593fb93ec9cb81b03f.debug ..
--28681-- .. build-id is valid
--28681-- Reading syms from /usr/lib/liborc-0.4.so.0.11.0 (0x4b61000)
--28681-- Considering /usr/lib/debug/.build-
id/fd/861d76147c9588720e9ac1bdeb99d51a46d65e.debug ..
--28681-- .. build-id is valid
--28681-- REDIR: 0x494c2b0 (strstr) redirected to 0x40224e0
(_vgnU_ifunc_wrapper)
--28681-- REDIR: 0x4945530 (strlen) redirected to 0x40224e0
(_vgnU_ifunc_wrapper)
--28681-- REDIR: 0x4945b90 (strpbrk) redirected to 0x40224e0
(_vgnU_ifunc_wrapper)
--28681-- REDIR: 0x494bea0 (__GI_strstr) redirected to 0x402bad0 (strstr)
--28681-- REDIR: 0x49459d0 (rindex) redirected to 0x4029420 (rindex)
--28681-- REDIR: 0x49455f0 (__GI_strlen) redirected to 0x40299d0
(__GI_strlen)
--28681-- REDIR: 0x4944f30 (strcmp) redirected to 0x402a4f0 (strcmp)
--28681-- REDIR: 0x4af4d60 (operator new(unsigned int)) redirected to
0x4028bb0 (operator new(unsigned int))
--28681-- REDIR: 0x4941a00 (free) redirected to 0x4028210 (free)
--28681-- REDIR: 0x4942ee0 (posix_memalign) redirected to 0x40276a0
(posix_memalign)
--28681-- REDIR: 0x4946780 (memset) redirected to 0x402b4d0 (memset)
--28681-- REDIR: 0x4944dc0 (index) redirected to 0x40294f0 (index)
--28681-- REDIR: 0x4945570 (__strlen_sse2) redirected to 0x40299b0
(strlen)
--28681-- REDIR: 0x4945800 (strncmp) redirected to 0x4029eb0 (strncmp)
--28681-- REDIR: 0x4947e20 (strchrnul) redirected to 0x402b690 (strchrnul)
--28681-- REDIR: 0x49467e0 (mempcpy) redirected to 0x402b7c0 (mempcpy)
--28681-- REDIR: 0x4944fa0 (strcpy) redirected to 0x4029a30 (strcpy)
ffmpeg version N-39193-g71c2a70 Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 24 2012 10:03:57 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 --disable-
shared --enable-libvorbis --enable-libtheora
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 65.102 / 2. 65.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
--28681-- REDIR: 0x4946cd0 (memcpy) redirected to 0x402a670 (memcpy)
--28681-- REDIR: 0x4941530 (malloc) redirected to 0x40290b0 (malloc)
--28681-- REDIR: 0x4941ae0 (realloc) redirected to 0x4029180 (realloc)
--28681-- REDIR: 0x4947d50 (rawmemchr) redirected to 0x402b6c0 (rawmemchr)
--28681-- REDIR: 0x4946280 (memchr) redirected to 0x402a630 (memchr)
[rtsp @ 0x4bf8ba0] 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
==28681== Invalid write of size 4
==28681== at 0x818D60C: rm_write_header (rmenc.c:316)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D60E: rm_write_header (rmenc.c:317)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4764 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D614: rm_write_header (rmenc.c:319)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D617: rm_write_header (rmenc.c:318)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D6D2: rm_write_header (rmenc.c:328)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid write of size 4
==28681== at 0x818D6D9: rm_write_header (rmenc.c:324)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CAA9: rv10_write_header.clone.3 (rmenc.c:95)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CAC3: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CAD5: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CDFB: rv10_write_header.clone.3 (rmenc.c:146)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CE76: rv10_write_header.clone.3 (rmenc.c:162)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CE8D: rv10_write_header.clone.3 (rmenc.c:163)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CF06: rv10_write_header.clone.3 (rmenc.c:174)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681== Invalid read of size 4
==28681== at 0x818CFA0: rv10_write_header.clone.3 (rmenc.c:182)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D35C: rv10_write_header.clone.3 (rmenc.c:226)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D381: rv10_write_header.clone.3 (rmenc.c:228)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D3E4: rv10_write_header.clone.3 (rmenc.c:230)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681== Invalid read of size 4
==28681== at 0x818D402: rv10_write_header.clone.3 (rmenc.c:232)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
Output #0, rm, to '20120324.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
==28681== Warning: set address range perms: large range [0x96a0060,
0x2a839c41) (undefined)
==28681== Invalid read of size 4
==28681== at 0x818D83D: rm_write_packet (rmenc.c:291)
==28681== by 0x81C2E58: av_write_trailer (utils.c:3528)
==28681== by 0x8093ECF: transcode (ffmpeg.c:3153)
==28681== by 0x809835A: main (ffmpeg.c:5219)
==28681== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== Process terminating with default action of signal 11 (SIGSEGV)
==28681== Access not within mapped region at address 0x0
==28681== at 0x818D83D: rm_write_packet (rmenc.c:291)
==28681== by 0x81C2E58: av_write_trailer (utils.c:3528)
==28681== by 0x8093ECF: transcode (ffmpeg.c:3153)
==28681== by 0x809835A: main (ffmpeg.c:5219)
==28681== If you believe this happened as a result of a stack
==28681== overflow in your program's main thread (unlikely but
==28681== possible), you can try to increase the size of the
==28681== main thread stack using the --main-stacksize= flag.
==28681== The main thread stack size used in this run was 8388608.
==28681==
==28681== HEAP SUMMARY:
==28681== in use at exit: 555,776,137 bytes in 111 blocks
==28681== total heap usage: 729 allocs, 618 frees, 557,394,766 bytes
allocated
==28681==
==28681== Searching for pointers to 111 not-freed blocks
==28681== Checked 7,979,660 bytes
==28681==
==28681== LEAK SUMMARY:
==28681== definitely lost: 0 bytes in 0 blocks
==28681== indirectly lost: 0 bytes in 0 blocks
==28681== possibly lost: 0 bytes in 0 blocks
==28681== still reachable: 555,776,137 bytes in 111 blocks
==28681== suppressed: 0 bytes in 0 blocks
==28681== Reachable blocks (those to which a pointer was found) are not
shown.
==28681== To see them, rerun with: --leak-check=full --show-reachable=yes
==28681==
==28681== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)
==28681==
==28681== 1 errors in context 1 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D83D: rm_write_packet (rmenc.c:291)
==28681== by 0x81C2E58: av_write_trailer (utils.c:3528)
==28681== by 0x8093ECF: transcode (ffmpeg.c:3153)
==28681== by 0x809835A: main (ffmpeg.c:5219)
==28681== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 2 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D402: rv10_write_header.clone.3 (rmenc.c:232)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 3 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D3E4: rv10_write_header.clone.3 (rmenc.c:230)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 4 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D381: rv10_write_header.clone.3 (rmenc.c:228)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 5 of 19:
==28681== Invalid read of size 4
==28681== at 0x818D35C: rv10_write_header.clone.3 (rmenc.c:226)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 6 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CFA0: rv10_write_header.clone.3 (rmenc.c:182)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 7 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CF06: rv10_write_header.clone.3 (rmenc.c:174)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 8 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CE8D: rv10_write_header.clone.3 (rmenc.c:163)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 9 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CE76: rv10_write_header.clone.3 (rmenc.c:162)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 10 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CDFB: rv10_write_header.clone.3 (rmenc.c:146)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 11 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CAD5: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 12 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CAC3: rv10_write_header.clone.3 (rmenc.c:101)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 13 of 19:
==28681== Invalid read of size 4
==28681== at 0x818CAA9: rv10_write_header.clone.3 (rmenc.c:95)
==28681== by 0x818D669: rm_write_header (rmenc.c:343)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 14 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D6D9: rm_write_header (rmenc.c:324)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4758 is 4 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 15 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D6D2: rm_write_header (rmenc.c:328)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4760 is 12 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 16 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D617: rm_write_header (rmenc.c:318)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
==28681==
==28681== 1 errors in context 17 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D614: rm_write_header (rmenc.c:319)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4768 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 1 errors in context 18 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D60E: rm_write_header (rmenc.c:317)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4764 is not stack'd, malloc'd or (recently) free'd
==28681==
==28681==
==28681== 6 errors in context 19 of 19:
==28681== Invalid write of size 4
==28681== at 0x818D60C: rm_write_header (rmenc.c:316)
==28681== by 0x81C1B10: avformat_write_header (utils.c:3170)
==28681== by 0x80922EB: transcode_init (ffmpeg.c:2791)
==28681== by 0x8092FD0: transcode (ffmpeg.c:2877)
==28681== by 0x48E5C2D: (below main) (in /lib/libc-2.11.3.so)
==28681== Address 0x4dd4754 is 0 bytes after a block of size 84 alloc'd
==28681== at 0x4027627: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x40276D7: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28681== by 0x878E567: av_mallocz (mem.c:94)
==28681== by 0x81C18A5: avformat_alloc_output_context2 (utils.c:3001)
==28681== by 0x8096922: opt_output_file (ffmpeg.c:4339)
==28681==
--28681--
--28681-- used_suppression: 3 U1004-ARM-_dl_relocate_object
==28681==
==28681== ERROR SUMMARY: 24 errors from 19 contexts (suppressed: 3 from 3)
Segmentation fault
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1022#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list