| 1 | ==19116== Memcheck, a memory error detector
|
|---|
| 2 | ==19116== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
|
|---|
| 3 | ==19116== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
|
|---|
| 4 | ==19116== Command: ./decoding_encoding bla bla
|
|---|
| 5 | ==19116==
|
|---|
| 6 | --19116-- Valgrind options:
|
|---|
| 7 | --19116-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
|
|---|
| 8 | --19116-- --tool=memcheck
|
|---|
| 9 | --19116-- --leak-check=full
|
|---|
| 10 | --19116-- --show-reachable=yes
|
|---|
| 11 | --19116-- --verbose
|
|---|
| 12 | --19116-- --track-origins=yes
|
|---|
| 13 | --19116-- Contents of /proc/version:
|
|---|
| 14 | --19116-- Linux version 3.2.0-56-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #86-Ubuntu SMP Wed Oct 23 17:31:43 UTC 2013
|
|---|
| 15 | --19116-- Arch and hwcaps: X86, x86-sse1-sse2
|
|---|
| 16 | --19116-- Page sizes: currently 4096, max supported 4096
|
|---|
| 17 | --19116-- Valgrind library directory: /usr/lib/valgrind
|
|---|
| 18 | --19116-- Reading syms from /lib/i386-linux-gnu/ld-2.15.so (0x4000000)
|
|---|
| 19 | --19116-- Considering /lib/i386-linux-gnu/ld-2.15.so ..
|
|---|
| 20 | --19116-- .. CRC mismatch (computed 72502f98 wanted 90076620)
|
|---|
| 21 | --19116-- Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.15.so ..
|
|---|
| 22 | --19116-- .. CRC is valid
|
|---|
| 23 | --19116-- Reading syms from /home/andrey/ffmpeg_sources/ffmpeg_latest/doc/examples/decoding_encoding (0x8048000)
|
|---|
| 24 | --19116-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
|
|---|
| 25 | --19116-- Considering /usr/lib/valgrind/memcheck-x86-linux ..
|
|---|
| 26 | --19116-- .. CRC mismatch (computed 2a2bce46 wanted 9ac1affc)
|
|---|
| 27 | --19116-- object doesn't have a symbol table
|
|---|
| 28 | --19116-- object doesn't have a dynamic symbol table
|
|---|
| 29 | --19116-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
|
|---|
| 30 | --19116-- Reading suppressions file: /usr/lib/valgrind/default.supp
|
|---|
| 31 | ==19116== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-19116-by-andrey-on-???
|
|---|
| 32 | ==19116== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-19116-by-andrey-on-???
|
|---|
| 33 | ==19116== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-19116-by-andrey-on-???
|
|---|
| 34 | ==19116==
|
|---|
| 35 | ==19116== TO CONTROL THIS PROCESS USING vgdb (which you probably
|
|---|
| 36 | ==19116== don't want to do, unless you know exactly what you're doing,
|
|---|
| 37 | ==19116== or are doing some strange experiment):
|
|---|
| 38 | ==19116== /usr/lib/valgrind/../../bin/vgdb --pid=19116 ...command...
|
|---|
| 39 | ==19116==
|
|---|
| 40 | ==19116== TO DEBUG THIS PROCESS USING GDB: start GDB like this
|
|---|
| 41 | ==19116== /path/to/gdb ./decoding_encoding
|
|---|
| 42 | ==19116== and then give GDB the following command
|
|---|
| 43 | ==19116== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=19116
|
|---|
| 44 | ==19116== --pid is optional if only one valgrind process is running
|
|---|
| 45 | ==19116==
|
|---|
| 46 | --19116-- REDIR: 0x40182e0 (strlen) redirected to 0x38056b04 (???)
|
|---|
| 47 | --19116-- REDIR: 0x4018060 (index) redirected to 0x38056adf (???)
|
|---|
| 48 | --19116-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4025000)
|
|---|
| 49 | --19116-- Considering /usr/lib/valgrind/vgpreload_core-x86-linux.so ..
|
|---|
| 50 | --19116-- .. CRC mismatch (computed 33f4d79f wanted ac058c14)
|
|---|
| 51 | --19116-- object doesn't have a symbol table
|
|---|
| 52 | --19116-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4028000)
|
|---|
| 53 | --19116-- Considering /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so ..
|
|---|
| 54 | --19116-- .. CRC mismatch (computed 8c6a0645 wanted b38afa17)
|
|---|
| 55 | --19116-- object doesn't have a symbol table
|
|---|
| 56 | --19116-- Reading syms from /lib/i386-linux-gnu/libz.so.1.2.3.4 (0x404b000)
|
|---|
| 57 | --19116-- Considering /lib/i386-linux-gnu/libz.so.1.2.3.4 ..
|
|---|
| 58 | --19116-- .. CRC mismatch (computed aec2705a wanted 78e2268c)
|
|---|
| 59 | --19116-- object doesn't have a symbol table
|
|---|
| 60 | --19116-- Reading syms from /lib/i386-linux-gnu/libm-2.15.so (0x4061000)
|
|---|
| 61 | --19116-- Considering /lib/i386-linux-gnu/libm-2.15.so ..
|
|---|
| 62 | --19116-- .. CRC mismatch (computed 6ee9373d wanted 98815fe2)
|
|---|
| 63 | --19116-- Considering /usr/lib/debug/lib/i386-linux-gnu/libm-2.15.so ..
|
|---|
| 64 | --19116-- .. CRC is valid
|
|---|
| 65 | --19116-- Reading syms from /lib/i386-linux-gnu/libpthread-2.15.so (0x408d000)
|
|---|
| 66 | --19116-- Considering /lib/i386-linux-gnu/libpthread-2.15.so ..
|
|---|
| 67 | --19116-- .. CRC mismatch (computed e3e38d22 wanted 86ccdb6e)
|
|---|
| 68 | --19116-- Considering /usr/lib/debug/lib/i386-linux-gnu/libpthread-2.15.so ..
|
|---|
| 69 | --19116-- .. CRC is valid
|
|---|
| 70 | --19116-- Reading syms from /lib/i386-linux-gnu/libc-2.15.so (0x40a8000)
|
|---|
| 71 | --19116-- Considering /lib/i386-linux-gnu/libc-2.15.so ..
|
|---|
| 72 | --19116-- .. CRC mismatch (computed 17ac398b wanted 58914b22)
|
|---|
| 73 | --19116-- Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.15.so ..
|
|---|
| 74 | --19116-- .. CRC is valid
|
|---|
| 75 | --19116-- REDIR: 0x41260b0 (strnlen) redirected to 0x40254a0 (_vgnU_ifunc_wrapper)
|
|---|
| 76 | --19116-- REDIR: 0x4127600 (strncasecmp) redirected to 0x40254a0 (_vgnU_ifunc_wrapper)
|
|---|
| 77 | --19116-- REDIR: 0x413f860 (strstr) redirected to 0x40254a0 (_vgnU_ifunc_wrapper)
|
|---|
| 78 | --19116-- REDIR: 0x413f4a0 (__GI_strstr) redirected to 0x402f030 (strstr)
|
|---|
| 79 | --19116-- REDIR: 0x4126250 (__GI_strrchr) redirected to 0x402c1b0 (__GI_strrchr)
|
|---|
| 80 | --19116-- REDIR: 0x4122260 (free) redirected to 0x402b000 (free)
|
|---|
| 81 | --19116-- REDIR: 0x4128920 (strchrnul) redirected to 0x402ebe0 (strchrnul)
|
|---|
| 82 | --19116-- REDIR: 0x4121d80 (malloc) redirected to 0x402be00 (malloc)
|
|---|
| 83 | --19116-- REDIR: 0x4125800 (strcmp) redirected to 0x40254a0 (_vgnU_ifunc_wrapper)
|
|---|
| 84 | --19116-- REDIR: 0x41e7970 (__strcmp_ssse3) redirected to 0x402d280 (strcmp)
|
|---|
| 85 | --19116-- REDIR: 0x41270d0 (memset) redirected to 0x40254a0 (_vgnU_ifunc_wrapper)
|
|---|
| 86 | --19116-- REDIR: 0x41dd260 (__memset_sse2) redirected to 0x402e880 (memset)
|
|---|
| 87 | Decode video file test.yuv to test.264
|
|---|
| 88 |
|
|---|
| 89 | ==19116==
|
|---|
| 90 | ==19116== HEAP SUMMARY:
|
|---|
| 91 | ==19116== in use at exit: 56 bytes in 1 blocks
|
|---|
| 92 | ==19116== total heap usage: 6 allocs, 5 frees, 403,556 bytes allocated
|
|---|
| 93 | ==19116==
|
|---|
| 94 | ==19116== Searching for pointers to 1 not-freed blocks
|
|---|
| 95 | ==19116== Checked 6,347,652 bytes
|
|---|
| 96 | ==19116==
|
|---|
| 97 | ==19116== 56 bytes in 1 blocks are possibly lost in loss record 1 of 1
|
|---|
| 98 | ==19116== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
|
|---|
| 99 | ==19116== by 0x86816B0: av_malloc (mem.c:86)
|
|---|
| 100 | ==19116== by 0x808CB82: video_decode_example (decoding_encoding.c:557)
|
|---|
| 101 | ==19116== by 0x808CC9B: main (decoding_encoding.c:635)
|
|---|
| 102 | ==19116==
|
|---|
| 103 | ==19116== LEAK SUMMARY:
|
|---|
| 104 | ==19116== definitely lost: 0 bytes in 0 blocks
|
|---|
| 105 | ==19116== indirectly lost: 0 bytes in 0 blocks
|
|---|
| 106 | ==19116== possibly lost: 56 bytes in 1 blocks
|
|---|
| 107 | ==19116== still reachable: 0 bytes in 0 blocks
|
|---|
| 108 | ==19116== suppressed: 0 bytes in 0 blocks
|
|---|
| 109 | ==19116==
|
|---|
| 110 | ==19116== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
|
|---|
| 111 | ==19116== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
|
|---|