Sascha Zielinski <sascha.zielin...@gmx.de> added the comment: Sorry I didn't know that I have to use valgrind. I hope this are the right commandline options. I killed valgrind after 85% memory usage: 5657 neo 18 -2 S 20 85.9 6:34.30 4598 pts/8 3 2.6g 1864 valgrind -v
Here is the output: $ valgrind -v --show-reachable=yes --leak-check=full ffplay 00021.m2ts ==5657== Memcheck, a memory error detector. ==5657== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==5657== Using LibVEX rev 1885, a library for dynamic binary translation. ==5657== Copyright (C) 2004-2009, and GNU GPL'd, by OpenWorks LLP. ==5657== Using valgrind-3.5.0.SVN, a dynamic binary instrumentation framework. ==5657== Copyright (C) 2000-2009, and GNU GPL'd, by Julian Seward et al. ==5657== --5657-- Command line --5657-- ffplay --5657-- 00021.m2ts --5657-- Startup, with flags: --5657-- -v --5657-- --show-reachable=yes --5657-- --leak-check=full --5657-- Contents of /proc/version: --5657-- Linux version 2.6.28.6 (r...@servereis) (gcc version 4.3.3 (Debian 4.3.3-4) ) #2 SMP PREEMPT Thu Feb 19 01:47:15 CET 2009 --5657-- Arch and hwcaps: AMD64, amd64-sse2 --5657-- Page sizes: currently 4096, max supported 4096 --5657-- Valgrind library directory: /usr/local/lib/valgrind --5657-- Reading syms from /usr/local/bin/ffplay (0x400000) --5657-- Reading syms from /lib/ld-2.9.so (0x4000000) --5657-- Reading debug info from /lib/ld-2.9.so .. --5657-- .. CRC mismatch (computed 204b52ad wanted 1622d3de) --5657-- Reading debug info from /usr/lib/debug/lib/ld-2.9.so .. --5657-- Reading syms from /usr/local/lib/valgrind/memcheck-amd64-linux (0x38000000) --5657-- object doesn't have a dynamic symbol table --5657-- Reading suppressions file: /usr/local/lib/valgrind/default.supp --5657-- Reading syms from /usr/local/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a1e000) --5657-- Reading syms from /usr/local/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c1f000) --5657-- REDIR: 0x4015a10 (index) redirected to 0x4c23e10 (index) --5657-- REDIR: 0x4015bc0 (strcmp) redirected to 0x4c243d0 (strcmp) --5657-- REDIR: 0x4015cd0 (strlen) redirected to 0x4c240d0 (strlen) --5657-- Reading syms from /usr/local/lib/libavfilter.so.0.4.0 (0x4e27000) --5657-- Reading syms from /usr/local/lib/libpostproc.so.51.2.0 (0x502b000) --5657-- Reading syms from /usr/local/lib/libavdevice.so.52.1.0 (0x523a000) --5657-- Reading syms from /usr/local/lib/libavformat.so.52.31.1 (0x5443000) --5657-- Reading syms from /usr/local/lib/libavcodec.so.52.21.0 (0x573a000) --5657-- Reading syms from /usr/local/lib/libavutil.so.50.0.0 (0x60ef000) --5657-- Reading syms from /usr/local/lib/libswscale.so.0.7.1 (0x62fe000) --5657-- Reading syms from /lib/libm-2.9.so (0x652a000) --5657-- Reading debug info from /lib/libm-2.9.so .. --5657-- .. CRC mismatch (computed d0acbb3d wanted f5f75dca) --5657-- Reading debug info from /usr/lib/debug/lib/libm-2.9.so .. --5657-- Reading syms from /usr/lib/libSDL-1.2.so.0.11.2 (0x67ad000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /lib/libpthread-2.9.so (0x6a68000) --5657-- Reading debug info from /lib/libpthread-2.9.so .. --5657-- .. CRC mismatch (computed a0871a9e wanted c0520ea6) --5657-- Reading debug info from /usr/lib/debug/lib/libpthread-2.9.so .. --5657-- Reading syms from /lib/libc-2.9.so (0x6c83000) --5657-- Reading debug info from /lib/libc-2.9.so .. --5657-- .. CRC mismatch (computed 6e200183 wanted 5a2640c2) --5657-- Reading debug info from /usr/lib/debug/lib/libc-2.9.so .. --5657-- Reading syms from /usr/lib/libasound.so.2.0.0 (0x6fd6000) --5657-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x72bb000) --5657-- Reading debug info from /usr/lib/libX11.so.6.2.0 .. --5657-- .. CRC mismatch (computed 97207a45 wanted 6896e237) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x75c7000) --5657-- Reading debug info from /usr/lib/libXext.so.6.4.0 .. --5657-- .. CRC mismatch (computed b975feb8 wanted b1a68e19) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libz.so.1.2.3.3 (0x77d8000) --5657-- Reading debug info from /usr/lib/libz.so.1.2.3.3 .. --5657-- .. CRC mismatch (computed 67443689 wanted 6cb00a83) --5657-- object doesn't have a symbol table --5657-- Reading syms from /lib/libbz2.so.1.0.4 (0x79ef000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libamrnb.so.3.0.0 (0x7bff000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libamrwb.so.3.0.0 (0x7e3d000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libfaac.so.0.0.0 (0x806c000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libgsm.so.1.0.12 (0x827e000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libmp3lame.so.0.0.0 (0x848b000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libspeex.so.1.5.0 (0x8703000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libtheora.so.0.3.4 (0x891c000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libxvidcore.so.4.1 (0x8b68000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /lib/libdl-2.9.so (0x8eb8000) --5657-- Reading debug info from /lib/libdl-2.9.so .. --5657-- .. CRC mismatch (computed 28b4a7e4 wanted 1833790f) --5657-- Reading debug info from /usr/lib/debug/lib/libdl-2.9.so .. --5657-- Reading syms from /usr/lib/libdirectfb-1.0.so.0.1.0 (0x90bc000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libfusion-1.0.so.0.1.0 (0x9333000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libdirect-1.0.so.0.1.0 (0x953b000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libvga.so.1.9.25 (0x405e000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /lib/librt-2.9.so (0x9751000) --5657-- Reading debug info from /lib/librt-2.9.so .. --5657-- .. CRC mismatch (computed ca6a5d98 wanted a273db2c) --5657-- Reading debug info from /usr/lib/debug/lib/librt-2.9.so .. --5657-- Reading syms from /usr/lib/libxcb.so.1.1.0 (0x9959000) --5657-- Reading debug info from /usr/lib/libxcb.so.1.1.0 .. --5657-- .. CRC mismatch (computed 790e1de7 wanted 9031737f) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x9b75000) --5657-- Reading debug info from /usr/lib/libXau.so.6.0.0 .. --5657-- .. CRC mismatch (computed 804bf806 wanted 4b2f4098) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libogg.so.0.5.3 (0x9d77000) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x9f7c000) --5657-- Reading debug info from /usr/lib/libXdmcp.so.6.0.0 .. --5657-- .. CRC mismatch (computed ba6308cf wanted 6579eaa3) --5657-- object doesn't have a symbol table --5657-- REDIR: 0x6cfd190 (rindex) redirected to 0x4c23c70 (rindex) --5657-- REDIR: 0x6cf9cc0 (posix_memalign) redirected to 0x4c215c0 (posix_memalign) --5657-- REDIR: 0x6cfc7c0 (strcmp) redirected to 0x4c24370 (strcmp) --5657-- REDIR: 0x6cfea60 (memset) redirected to 0x4c24f10 (memset) --5657-- REDIR: 0x6d02930 (strchrnul) redirected to 0x4c24fe0 (strchrnul) --5657-- REDIR: 0x6cfcd50 (strlen) redirected to 0x4c24090 (strlen) --5657-- REDIR: 0x6cff590 (mempcpy) redirected to 0x4c25040 (mempcpy) FFplay version SVN-r17923, Copyright (c) 2003-2009 Fabrice Bellard, et al. configuration: --enable-shared --enable-gpl --enable-zlib --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-libxvid --prefix=/usr/local --enable-postproc --enable-pthreads --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libgsm --disable-libx264 --enable-libtheora --enable-nonfree --disable-stripping --enable-avfilter --enable-libspeex --enable-avfilter-lavf --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 0. 0 / 50. 0. 0 libavcodec 52.21. 0 / 52.21. 0 libavformat 52.31. 1 / 52.31. 1 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 0. 4. 0 / 0. 4. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Mar 10 2009 10:33:32, gcc: 4.3.3 --5657-- REDIR: 0x6cf94a0 (calloc) redirected to 0x4c21620 (calloc) --5657-- REDIR: 0x6cf9840 (malloc) redirected to 0x4c23850 (malloc) --5657-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0xa581000) --5657-- Reading debug info from /usr/lib/libXrender.so.1.3.0 .. --5657-- .. CRC mismatch (computed b50fc603 wanted 1fdc524f) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libXrandr.so.2.2.0 (0xa78a000) --5657-- Reading debug info from /usr/lib/libXrandr.so.2.2.0 .. --5657-- .. CRC mismatch (computed a1e4c2d6 wanted e0fcf2ba) --5657-- object doesn't have a symbol table --5657-- REDIR: 0x4016420 (stpcpy) redirected to 0x4c24e40 (stpcpy) --5657-- REDIR: 0x6cffed0 (memcpy) redirected to 0x4c244e0 (memcpy) --5657-- REDIR: 0x6cf6c80 (free) redirected to 0x4c22550 (free) --5657-- REDIR: 0x6cffba0 (stpcpy) redirected to 0x4c24ca0 (stpcpy) --5657-- REDIR: 0x6cf9d30 (realloc) redirected to 0x4c23970 (realloc) --5657-- REDIR: 0x6cfcff0 (strncmp) redirected to 0x4c242f0 (strncmp) --5657-- REDIR: 0x6cfc800 (strcpy) redirected to 0x4c240f0 (strcpy) --5657-- REDIR: 0x6cfc450 (strcat) redirected to 0x4c23e50 (strcat) --5657-- REDIR: 0x6cfe8b0 (memmove) redirected to 0x4c24f80 (memmove) --5657-- REDIR: 0x6cfd0c0 (strncpy) redirected to 0x4c241c0 (strncpy) --5657-- Discarding syms at 0xa78b920-0xa790878 in /usr/lib/libXrandr.so.2.2.0 due to munmap() --5657-- Discarding syms at 0xa582ae0-0xa588f88 in /usr/lib/libXrender.so.1.3.0 due to munmap() --5657-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0xa581000) --5657-- Reading debug info from /usr/lib/libXrender.so.1.3.0 .. --5657-- .. CRC mismatch (computed b50fc603 wanted 1fdc524f) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libXrandr.so.2.2.0 (0xa78a000) --5657-- Reading debug info from /usr/lib/libXrandr.so.2.2.0 .. --5657-- .. CRC mismatch (computed a1e4c2d6 wanted e0fcf2ba) --5657-- object doesn't have a symbol table --5657-- REDIR: 0x6cfc610 (index) redirected to 0x4c23d90 (index) --5657-- REDIR: 0x6cfe210 (memchr) redirected to 0x4c24490 (memchr) --5657-- Reading syms from /usr/lib/gconv/ISO8859-15.so (0xa9e8000) --5657-- Reading debug info from /usr/lib/gconv/ISO8859-15.so .. --5657-- .. CRC mismatch (computed 17f56e12 wanted e15ac166) --5657-- Reading debug info from /usr/lib/debug/usr/lib/gconv/ISO8859-15.so .. --5657-- Reading syms from /usr/lib/libXcursor.so.1.0.2 (0xabeb000) --5657-- Reading debug info from /usr/lib/libXcursor.so.1.0.2 .. --5657-- .. CRC mismatch (computed 247dd12d wanted eb727669) --5657-- object doesn't have a symbol table --5657-- Reading syms from /usr/lib/libXfixes.so.3.1.0 (0xadf5000) --5657-- Reading debug info from /usr/lib/libXfixes.so.3.1.0 .. --5657-- .. CRC mismatch (computed 1d2cc350 wanted 36e2fd9f) --5657-- object doesn't have a symbol table --5657-- REDIR: 0x6d02810 (rawmemchr) redirected to 0x4c25020 (rawmemchr) ==5657== Conditional jump or move depends on uninitialised value(s) ==5657== at 0x7063A0C: snd1_pcm_direct_shm_create_or_connect (pcm_direct.c:122) ==5657== by 0x705C6D7: snd_pcm_dmix_open (pcm_dmix.c:988) ==5657== by 0x705CE44: _snd_pcm_dmix_open (pcm_dmix.c:1309) ==5657== by 0x702B9B1: snd_pcm_open_conf (pcm.c:2175) ==5657== by 0x702C026: snd_pcm_open_noupdate (pcm.c:2213) ==5657== by 0x702C0F0: snd1_pcm_open_named_slave (pcm.c:2300) ==5657== by 0x7046417: _snd_pcm_plug_open (pcm_local.h:859) ==5657== by 0x702B9B1: snd_pcm_open_conf (pcm.c:2175) ==5657== by 0x702C137: snd1_pcm_open_named_slave (pcm.c:2302) ==5657== by 0x706427E: _snd_pcm_asym_open (pcm_asym.c:112) ==5657== by 0x702B9B1: snd_pcm_open_conf (pcm.c:2175) ==5657== by 0x702C137: snd1_pcm_open_named_slave (pcm.c:2302) ==5657== ==5657== Conditional jump or move depends on uninitialised value(s) ==5657== at 0x705B187: shm_sum_discard (pcm_dmix.c:121) ==5657== by 0x705D0AA: snd_pcm_dmix_close (pcm_dmix.c:771) ==5657== by 0x702C4D4: snd_pcm_close (pcm.c:702) ==5657== by 0x704679C: snd_pcm_plug_close (pcm_plug.c:71) ==5657== by 0x702C4D4: snd_pcm_close (pcm.c:702) ==5657== by 0x67E398E: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x67B6FEB: SDL_AudioInit (in /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x67B5FD4: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x67B609E: SDL_Init (in /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x4066DB: main (ffplay.c:2582) ==5657== ==5657== Conditional jump or move depends on uninitialised value(s) ==5657== at 0x706384E: _snd_pcm_direct_shm_discard (pcm_direct.c:158) ==5657== by 0x705D0B2: snd_pcm_dmix_close (pcm_dmix.c:772) ==5657== by 0x702C4D4: snd_pcm_close (pcm.c:702) ==5657== by 0x704679C: snd_pcm_plug_close (pcm_plug.c:71) ==5657== by 0x702C4D4: snd_pcm_close (pcm.c:702) ==5657== by 0x67E398E: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x67B6FEB: SDL_AudioInit (in /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x67B5FD4: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x67B609E: SDL_Init (in /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x4066DB: main (ffplay.c:2582) --5657-- REDIR: 0xffffffffff600000 (???) redirected to 0x3803e7d3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) ==5657== ==5657== Thread 3: ==5657== Conditional jump or move depends on uninitialised value(s) ==5657== at 0x5804877: ff_find_start_code (mpegvideo.c:98) ==5657== by 0x595B190: h264_parse (h264_parser.c:132) ==5657== by 0x57C0A7B: av_parser_parse2 (parser.c:176) ==5657== by 0x546218F: av_read_frame_internal (utils.c:959) ==5657== by 0x5462D2A: av_find_stream_info (utils.c:2085) ==5657== by 0x407B0E: decode_thread (ffplay.c:1948) ==5657== by 0x67BE8E6: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6805AB8: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6A6EFA9: start_thread (pthread_create.c:297) ==5657== by 0x6D512BC: clone (clone.S:112) ==5657== ==5657== Conditional jump or move depends on uninitialised value(s) ==5657== at 0x5804897: ff_find_start_code (mpegvideo.c:98) ==5657== by 0x595B190: h264_parse (h264_parser.c:132) ==5657== by 0x57C0A7B: av_parser_parse2 (parser.c:176) ==5657== by 0x546218F: av_read_frame_internal (utils.c:959) ==5657== by 0x5462D2A: av_find_stream_info (utils.c:2085) ==5657== by 0x407B0E: decode_thread (ffplay.c:1948) ==5657== by 0x67BE8E6: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6805AB8: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6A6EFA9: start_thread (pthread_create.c:297) ==5657== by 0x6D512BC: clone (clone.S:112) ==5657== ==5657== Conditional jump or move depends on uninitialised value(s) ==5657== at 0x58048B7: ff_find_start_code (mpegvideo.c:98) ==5657== by 0x595B190: h264_parse (h264_parser.c:132) ==5657== by 0x57C0A7B: av_parser_parse2 (parser.c:176) ==5657== by 0x546218F: av_read_frame_internal (utils.c:959) ==5657== by 0x5462D2A: av_find_stream_info (utils.c:2085) ==5657== by 0x407B0E: decode_thread (ffplay.c:1948) ==5657== by 0x67BE8E6: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6805AB8: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6A6EFA9: start_thread (pthread_create.c:297) ==5657== by 0x6D512BC: clone (clone.S:112) ==5657== ==5657== Conditional jump or move depends on uninitialised value(s) ==5657== at 0x5809F31: ff_print_debug_info (mpegvideo.c:1133) ==5657== by 0x595057C: decode_frame (h264.c:7876) ==5657== by 0x57C655A: avcodec_decode_video (utils.c:529) ==5657== by 0x546337D: av_find_stream_info (utils.c:1892) ==5657== by 0x407B0E: decode_thread (ffplay.c:1948) ==5657== by 0x67BE8E6: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6805AB8: (within /usr/lib/libSDL-1.2.so.0.11.2) ==5657== by 0x6A6EFA9: start_thread (pthread_create.c:297) ==5657== by 0x6D512BC: clone (clone.S:112) Getötet ____________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue899> ____________________________________________________