Skip to content

Instantly share code, notes, and snippets.

@flack
Created March 14, 2011 14:14
Show Gist options
  • Save flack/869175 to your computer and use it in GitHub Desktop.
Save flack/869175 to your computer and use it in GitHub Desktop.
==14551== Memcheck, a memory error detector
==14551== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==14551== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==14551== Command: lighttpd -D -f /etc/lighttpd/lighttpd.conf
==14551== Parent PID: 5063
==14551==
--14551--
--14551-- Valgrind options:
--14551-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--14551-- --tool=memcheck
--14551-- -v
--14551-- --log-file=lighttpd
--14551-- --num-callers=8
--14551-- Contents of /proc/version:
--14551-- Linux version 2.6.35-27-generic (buildd@palmer) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011
--14551-- Arch and hwcaps: X86, x86-sse1-sse2
--14551-- Page sizes: currently 4096, max supported 4096
--14551-- Valgrind library directory: /usr/lib/valgrind
--14551-- Reading syms from /lib/ld-2.12.1.so (0x4000000)
--14551-- Considering /lib/ld-2.12.1.so ..
--14551-- .. CRC mismatch (computed a82842cc wanted adb283ea)
--14551-- Considering /usr/lib/debug/lib/ld-2.12.1.so ..
--14551-- .. CRC is valid
--14551-- Reading syms from /usr/sbin/lighttpd (0x8048000)
--14551-- Considering /usr/sbin/lighttpd ..
--14551-- .. CRC mismatch (computed 034090fa wanted e4546dfb)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
--14551-- object doesn't have a dynamic symbol table
--14551-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--14551-- Reading suppressions file: /usr/lib/valgrind/default.supp
--14551-- REDIR: 0x4016c20 (index) redirected to 0x3803dce3 (vgPlain_x86_linux_REDIR_FOR_index)
--14551-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4020000)
--14551-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4023000)
==14551== WARNING: new redirection conflicts with existing -- ignoring it
--14551-- new: 0x04016c20 (index ) R-> 0x0402690d index
--14551-- REDIR: 0x4016df0 (strlen) redirected to 0x4026ce7 (strlen)
--14551-- Reading syms from /lib/libpcre.so.3.12.1 (0x4042000)
--14551-- Considering /lib/libpcre.so.3.12.1 ..
--14551-- .. CRC mismatch (computed 96bdf58d wanted 67f078d2)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /lib/libdl-2.12.1.so (0x4078000)
--14551-- Considering /lib/libdl-2.12.1.so ..
--14551-- .. CRC mismatch (computed 99f494d8 wanted 0529c1e3)
--14551-- Considering /usr/lib/debug/lib/libdl-2.12.1.so ..
--14551-- .. CRC is valid
--14551-- Reading syms from /lib/libattr.so.1.1.0 (0x407c000)
--14551-- Considering /lib/libattr.so.1.1.0 ..
--14551-- .. CRC mismatch (computed 27531e22 wanted 04104421)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /lib/libssl.so.0.9.8 (0x4082000)
--14551-- Considering /lib/libssl.so.0.9.8 ..
--14551-- .. CRC mismatch (computed 6b27ffcc wanted a3d719b9)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /lib/libcrypto.so.0.9.8 (0x40cb000)
--14551-- Considering /lib/libcrypto.so.0.9.8 ..
--14551-- .. CRC mismatch (computed 0f536567 wanted d731e19a)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /usr/lib/libfam.so.0.0.0 (0x421a000)
--14551-- Considering /usr/lib/libfam.so.0.0.0 ..
--14551-- .. CRC mismatch (computed aae96bfd wanted 3a4ea966)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /lib/libc-2.12.1.so (0x4222000)
--14551-- Considering /lib/libc-2.12.1.so ..
--14551-- .. CRC mismatch (computed 1993aa75 wanted 7fd9e165)
--14551-- Considering /usr/lib/debug/lib/libc-2.12.1.so ..
--14551-- .. CRC is valid
--14551-- Reading syms from /lib/libz.so.1.2.3.4 (0x4380000)
--14551-- Considering /lib/libz.so.1.2.3.4 ..
--14551-- .. CRC mismatch (computed 72a91e5f wanted 8ab4f5d7)
--14551-- object doesn't have a symbol table
--14551-- REDIR: 0x4296100 (strcmp) redirected to 0x402040c (_vgnU_ifunc_wrapper)
--14551-- REDIR: 0x4296ae0 (rindex) redirected to 0x402679a (rindex)
--14551-- REDIR: 0x4296150 (__GI_strcmp) redirected to 0x4027233 (__GI_strcmp)
--14551-- REDIR: 0x42925d0 (calloc) redirected to 0x4024e32 (calloc)
--14551-- REDIR: 0x4292ed0 (malloc) redirected to 0x4025b4e (malloc)
--14551-- REDIR: 0x4296700 (strlen) redirected to 0x402040c (_vgnU_ifunc_wrapper)
--14551-- REDIR: 0x4296740 (__strlen_sse2) redirected to 0x4026cb1 (strlen)
--14551-- REDIR: 0x4297f10 (memcpy) redirected to 0x402040c (_vgnU_ifunc_wrapper)
--14551-- REDIR: 0x4336250 (__memcpy_ssse3) redirected to 0x4027359 (memcpy)
--14551-- REDIR: 0x4292df0 (free) redirected to 0x4025768 (free)
--14551-- REDIR: 0x42967c0 (__GI_strlen) redirected to 0x4026ccc (__GI_strlen)
--14551-- REDIR: 0x4295f90 (index) redirected to 0x402687d (index)
--14551-- REDIR: 0x4297850 (memmove) redirected to 0x402040c (_vgnU_ifunc_wrapper)
--14551-- REDIR: 0x4338140 (__memmove_ssse3) redirected to 0x4027f52 (memmove)
--14551-- REDIR: 0x4293e70 (realloc) redirected to 0x4025bfd (realloc)
--14551-- REDIR: 0x429cdb0 (__GI_strncmp) redirected to 0x402717e (__GI_strncmp)
--14551-- REDIR: 0x433e490 (__strcmp_ssse3) redirected to 0x40271e5 (strcmp)
--14551-- Reading syms from /usr/lib/lighttpd/mod_indexfile.so (0x402b000)
--14551-- Considering /usr/lib/lighttpd/mod_indexfile.so ..
--14551-- .. CRC mismatch (computed e1e93b86 wanted c0aa7d6b)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /usr/lib/lighttpd/mod_alias.so (0x402e000)
--14551-- Considering /usr/lib/lighttpd/mod_alias.so ..
--14551-- .. CRC mismatch (computed 53528cb9 wanted 3ae4d87d)
--14551-- object doesn't have a symbol table
--14551-- REDIR: 0x42969b0 (strncmp) redirected to 0x402040c (_vgnU_ifunc_wrapper)
--14551-- Reading syms from /usr/lib/lighttpd/mod_compress.so (0x4031000)
--14551-- Considering /usr/lib/lighttpd/mod_compress.so ..
--14551-- .. CRC mismatch (computed 998132b7 wanted 957bde9f)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /lib/libbz2.so.1.0.4 (0x47ad000)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /usr/lib/lighttpd/mod_rewrite.so (0x4037000)
--14551-- Considering /usr/lib/lighttpd/mod_rewrite.so ..
--14551-- .. CRC mismatch (computed cacf7b10 wanted 63d9293d)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /usr/lib/lighttpd/mod_fastcgi.so (0x4796000)
--14551-- Considering /usr/lib/lighttpd/mod_fastcgi.so ..
--14551-- .. CRC mismatch (computed 0109a456 wanted 53c46e8b)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /usr/lib/lighttpd/mod_dirlisting.so (0x403b000)
--14551-- Considering /usr/lib/lighttpd/mod_dirlisting.so ..
--14551-- .. CRC mismatch (computed 35d49191 wanted 8b86d3f3)
--14551-- object doesn't have a symbol table
--14551-- Reading syms from /usr/lib/lighttpd/mod_staticfile.so (0x47a4000)
--14551-- Considering /usr/lib/lighttpd/mod_staticfile.so ..
--14551-- .. CRC mismatch (computed 09120734 wanted 860e86b8)
--14551-- object doesn't have a symbol table
--14551-- REDIR: 0x4297380 (memchr) redirected to 0x402731d (memchr)
--14551-- REDIR: 0x4299280 (strchrnul) redirected to 0x4027fbf (strchrnul)
--14551-- REDIR: 0x4297c00 (stpcpy) redirected to 0x4027c04 (stpcpy)
--14551-- Reading syms from /lib/libnss_compat-2.12.1.so (0x47d6000)
--14551-- Considering /lib/libnss_compat-2.12.1.so ..
--14551-- .. CRC mismatch (computed bf79f7d8 wanted 97e31235)
--14551-- Considering /usr/lib/debug/lib/libnss_compat-2.12.1.so ..
--14551-- .. CRC is valid
--14551-- Reading syms from /lib/libnsl-2.12.1.so (0x47de000)
--14551-- Considering /lib/libnsl-2.12.1.so ..
--14551-- .. CRC mismatch (computed de220e2d wanted 5cc2cbff)
--14551-- Considering /usr/lib/debug/lib/libnsl-2.12.1.so ..
--14551-- .. CRC is valid
--14551-- REDIR: 0x42961c0 (strcpy) redirected to 0x4026d1d (strcpy)
--14551-- Reading syms from /lib/libnss_nis-2.12.1.so (0x47f5000)
--14551-- Considering /lib/libnss_nis-2.12.1.so ..
--14551-- .. CRC mismatch (computed 04fd15f3 wanted 75c46b6b)
--14551-- Considering /usr/lib/debug/lib/libnss_nis-2.12.1.so ..
--14551-- .. CRC is valid
--14551-- Reading syms from /lib/libnss_files-2.12.1.so (0x4800000)
--14551-- Considering /lib/libnss_files-2.12.1.so ..
--14551-- .. CRC mismatch (computed 36795cc3 wanted 43a18808)
--14551-- Considering /usr/lib/debug/lib/libnss_files-2.12.1.so ..
--14551-- .. CRC is valid
--14551-- REDIR: 0x42991b0 (rawmemchr) redirected to 0x4027fe6 (rawmemchr)
--14551-- REDIR: 0x4296a00 (strncpy) redirected to 0x4026ed1 (strncpy)
--14551-- REDIR: 0x4305ba0 (__strcpy_chk) redirected to 0x4028520 (__strcpy_chk)
--14556-- REDIR: 0x433f900 (__strncmp_ssse3) redirected to 0x4027115 (strncmp)
--14557-- REDIR: 0x433f900 (__strncmp_ssse3) redirected to 0x4027115 (strncmp)
--14558-- REDIR: 0x433f900 (__strncmp_ssse3) redirected to 0x4027115 (strncmp)
--14561-- REDIR: 0x433f900 (__strncmp_ssse3) redirected to 0x4027115 (strncmp)
--14551-- REDIR: 0x433f900 (__strncmp_ssse3) redirected to 0x4027115 (strncmp)
--14551-- Discarding syms at 0x402b800-0x402bf48 in /usr/lib/lighttpd/mod_indexfile.so due to munmap()
--14551-- Discarding syms at 0x402e6f0-0x402edc8 in /usr/lib/lighttpd/mod_alias.so due to munmap()
--14551-- Discarding syms at 0x4032090-0x4033fa8 in /usr/lib/lighttpd/mod_compress.so due to munmap()
--14551-- Discarding syms at 0x47adfd0-0x47bb708 in /lib/libbz2.so.1.0.4 due to munmap()
--14551-- Discarding syms at 0x40379c0-0x4038b88 in /usr/lib/lighttpd/mod_rewrite.so due to munmap()
--14551-- Discarding syms at 0x4797d60-0x47a0388 in /usr/lib/lighttpd/mod_fastcgi.so due to munmap()
--14551-- Discarding syms at 0x403c060-0x403e2d8 in /usr/lib/lighttpd/mod_dirlisting.so due to munmap()
--14551-- Discarding syms at 0x47a4cf0-0x47a5f68 in /usr/lib/lighttpd/mod_staticfile.so due to munmap()
--14551-- Discarding syms at 0x47d6e30-0x47dbbc8 in /lib/libnss_compat-2.12.1.so due to munmap()
--14551-- Discarding syms at 0x47f6930-0x47fc9a8 in /lib/libnss_nis-2.12.1.so due to munmap()
--14551-- Discarding syms at 0x47e1190-0x47edde8 in /lib/libnsl-2.12.1.so due to munmap()
--14551-- Discarding syms at 0x4801a20-0x4808e08 in /lib/libnss_files-2.12.1.so due to munmap()
==14551==
==14551== HEAP SUMMARY:
==14551== in use at exit: 1,156 bytes in 40 blocks
==14551== total heap usage: 17,284 allocs, 17,244 frees, 2,506,254 bytes allocated
==14551==
==14551== Searching for pointers to 40 not-freed blocks
==14551== Checked 167,020 bytes
==14551==
==14551== LEAK SUMMARY:
==14551== definitely lost: 120 bytes in 3 blocks
==14551== indirectly lost: 384 bytes in 32 blocks
==14551== possibly lost: 0 bytes in 0 blocks
==14551== still reachable: 652 bytes in 5 blocks
==14551== suppressed: 0 bytes in 0 blocks
==14551== Rerun with --leak-check=full to see details of leaked memory
==14551==
==14551== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 75 from 13)
--14551--
--14551-- used_suppression: 75 dl-hack3-cond-1
==14551==
==14551== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 75 from 13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment