==11291== Memcheck, a memory error detector. ==11291== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==11291== Using LibVEX rev 1606, a library for dynamic binary translation. ==11291== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==11291== Using valgrind-3.2.0, a dynamic binary instrumentation framework. ==11291== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==11291== ==11291== My PID = 11291, parent PID = 23814. Prog and args are: ==11291== lighttpd ==11291== -D ==11291== -f ==11291== ./lighttpd.conf ==11291== --11291-- --11291-- Command line --11291-- lighttpd --11291-- -D --11291-- -f --11291-- ./lighttpd.conf --11291-- Startup, with flags: --11291-- --tool=memcheck --11291-- -v --11291-- --log-file=lighttpd --11291-- --num-callers=8 --11291-- --leak-check=full --11291-- Contents of /proc/version: --11291-- Linux version 2.6.16-hardened-r11 (root@h965240) (gcc version 3.4.6 (Gentoo Hardened 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #2 SMP Sun Aug 13 23:58:31 CEST 2006 --11291-- Arch and hwcaps: X86, x86-sse1-sse2 --11291-- Valgrind library directory: /usr/lib/valgrind --11291-- Reading syms from /usr/sbin/lighttpd (0x0) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/ld-2.3.6.so (0x4000000) --11291-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) --11291-- object doesn't have a symbol table --11291-- object doesn't have a dynamic symbol table --11291-- Reading suppressions file: /usr/lib/valgrind/default.supp --11291-- REDIR: 0x400FA90 (index) redirected to 0x38028A63 (???) --11291-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4816000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4818000) --11291-- object doesn't have a symbol table ==11291== WARNING: new redirection conflicts with existing -- ignoring it --11291-- new: 0x0400FA90 (index ) R-> 0x0481B400 index --11291-- REDIR: 0x400FC50 (strlen) redirected to 0x481B6A0 (strlen) --11291-- Reading syms from /usr/lib/libpcre.so.0.0.1 (0x4824000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libdl-2.3.6.so (0x4854000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/libssl.so.0.9.7 (0x4858000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/libcrypto.so.0.9.7 (0x4890000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libc-2.3.6.so (0x49C7000) --11291-- object doesn't have a symbol table --11291-- REDIR: 0x4A315F0 (rindex) redirected to 0x481B2E0 (rindex) --11291-- REDIR: 0x4A30D10 (strcmp) redirected to 0x481B950 (strcmp) --11291-- REDIR: 0x4A2D580 (calloc) redirected to 0x481AC50 (calloc) --11291-- REDIR: 0x4A2D900 (malloc) redirected to 0x48194E0 (malloc) --11291-- REDIR: 0x4A312D0 (strlen) redirected to 0x481B680 (strlen) --11291-- REDIR: 0x4A326A0 (memcpy) redirected to 0x481BA40 (memcpy) --11291-- REDIR: 0x4A30BA0 (index) redirected to 0x481B3D0 (index) --11291-- REDIR: 0x4A320C0 (memmove) redirected to 0x481BF10 (memmove) --11291-- REDIR: 0x4A2BB70 (free) redirected to 0x481A2F0 (free) --11291-- REDIR: 0x4A2DFB0 (realloc) redirected to 0x481AD40 (realloc) --11291-- Reading syms from /usr/lib/lighttpd/mod_indexfile.so (0x481F000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/lighttpd/mod_alias.so (0x4BE7000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/lighttpd/mod_access.so (0x4BEB000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/lighttpd/mod_auth.so (0x4BEE000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libcrypt-2.3.6.so (0x4BFA000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/lighttpd/mod_webdav.so (0x4C28000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/libxml2.so.2.6.26 (0x4C31000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libz.so.1.2.3 (0x4D84000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libm-2.3.6.so (0x4D98000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/libsqlite3.so.0.8.6 (0x4DBB000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libpthread-0.10.so (0x4E21000) --11291-- REDIR: 0x4A32160 (memset) redirected to 0x481BEF0 (memset) --11291-- Reading syms from /usr/lib/lighttpd/mod_accesslog.so (0x4E73000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/lighttpd/mod_dirlisting.so (0x4E78000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/lighttpd/mod_fastcgi.so (0x4E7E000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /usr/lib/lighttpd/mod_staticfile.so (0x4E8C000) --11291-- object doesn't have a symbol table --11291-- REDIR: 0x4A31F00 (memchr) redirected to 0x481BA10 (memchr) --11291-- REDIR: 0x4A33010 (strchrnul) redirected to 0x481BF70 (strchrnul) --11291-- REDIR: 0x4A32360 (stpcpy) redirected to 0x481BC20 (stpcpy) --11291-- Reading syms from /lib/libnss_compat-2.3.6.so (0x4E91000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libnsl-2.3.6.so (0x4E9A000) --11291-- object doesn't have a symbol table --11291-- REDIR: 0x4A30DB0 (strcpy) redirected to 0x481B6E0 (strcpy) --11291-- Reading syms from /lib/libnss_nis-2.3.6.so (0x4EB0000) --11291-- object doesn't have a symbol table --11291-- Reading syms from /lib/libnss_files-2.3.6.so (0x4EBA000) --11291-- object doesn't have a symbol table --11291-- REDIR: 0x4A32F40 (rawmemchr) redirected to 0x481BF90 (rawmemchr) --11291-- REDIR: 0x4A31430 (strncmp) redirected to 0x481B8F0 (strncmp) --11291-- REDIR: 0x4A31540 (strncpy) redirected to 0x481B7B0 (strncpy) --11291-- Discarding syms at 0x481F000-0x4823000 in /usr/lib/lighttpd/mod_indexfile.so due to munmap() --11291-- Discarding syms at 0x4BE7000-0x4BEB000 in /usr/lib/lighttpd/mod_alias.so due to munmap() --11291-- Discarding syms at 0x4BEB000-0x4BEE000 in /usr/lib/lighttpd/mod_access.so due to munmap() --11291-- Discarding syms at 0x4BEE000-0x4BF6000 in /usr/lib/lighttpd/mod_auth.so due to munmap() --11291-- Discarding syms at 0x4BFA000-0x4C28000 in /lib/libcrypt-2.3.6.so due to munmap() --11291-- Discarding syms at 0x4C28000-0x4C31000 in /usr/lib/lighttpd/mod_webdav.so due to munmap() --11291-- Discarding syms at 0x4C31000-0x4D84000 in /usr/lib/libxml2.so.2.6.26 due to munmap() --11291-- Discarding syms at 0x4D84000-0x4D98000 in /lib/libz.so.1.2.3 due to munmap() --11291-- Discarding syms at 0x4D98000-0x4DBB000 in /lib/libm-2.3.6.so due to munmap() --11291-- Discarding syms at 0x4DBB000-0x4E21000 in /usr/lib/libsqlite3.so.0.8.6 due to munmap() --11291-- Discarding syms at 0x4E73000-0x4E78000 in /usr/lib/lighttpd/mod_accesslog.so due to munmap() --11291-- Discarding syms at 0x4E7E000-0x4E8C000 in /usr/lib/lighttpd/mod_fastcgi.so due to munmap() --11291-- Discarding syms at 0x4E78000-0x4E7E000 in /usr/lib/lighttpd/mod_dirlisting.so due to munmap() --11291-- Discarding syms at 0x4E8C000-0x4E91000 in /usr/lib/lighttpd/mod_staticfile.so due to munmap() --11291-- Discarding syms at 0x4E91000-0x4E9A000 in /lib/libnss_compat-2.3.6.so due to munmap() --11291-- Discarding syms at 0x4EB0000-0x4EBA000 in /lib/libnss_nis-2.3.6.so due to munmap() --11291-- Discarding syms at 0x4E9A000-0x4EB0000 in /lib/libnsl-2.3.6.so due to munmap() --11291-- Discarding syms at 0x4EBA000-0x4EC4000 in /lib/libnss_files-2.3.6.so due to munmap() ==11291== ==11291== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 109 from 2) --11291-- --11291-- supp: 33 Ubuntu-stripped-ld.so --11291-- supp: 76 dl_relocate_object ==11291== malloc/free: in use at exit: 2,007 bytes in 61 blocks. ==11291== malloc/free: 7,596 allocs, 7,535 frees, 425,554 bytes allocated. ==11291== ==11291== searching for pointers to 61 not-freed blocks. ==11291== checked 510,468 bytes. ==11291== ==11291== 43 bytes in 3 blocks are definitely lost in loss record 4 of 13 ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==11291== by 0x4CD5ECC: ??? ==11291== by 0x4CD5F83: ??? ==11291== by 0x4C511BB: ??? ==11291== by 0x4C51E1A: ??? ==11291== by 0x4C55F99: ??? ==11291== by 0x4C604B6: ??? ==11291== by 0x4C69A2D: ??? ==11291== ==11291== ==11291== 84 bytes in 1 blocks are definitely lost in loss record 6 of 13 ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==11291== by 0x4CD2E99: ??? ==11291== by 0x4D322A4: ??? ==11291== by 0x4D3252D: ??? ==11291== by 0x4C54B46: ??? ==11291== by 0x4C551C1: ??? ==11291== by 0x4C66EC7: ??? ==11291== by 0x4C2BC77: ??? ==11291== ==11291== ==11291== 492 (108 direct, 384 indirect) bytes in 3 blocks are definitely lost in loss record 8 of 13 ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==11291== by 0x4A93FB6: (within /lib/libc-2.3.6.so) ==11291== by 0x4A9481E: __nss_database_lookup (in /lib/libc-2.3.6.so) ==11291== by 0x4E93189: ??? ==11291== by 0x4E94389: ??? ==11291== by 0x4A51673: getpwnam_r (in /lib/libc-2.3.6.so) ==11291== by 0x4A5115E: getpwnam (in /lib/libc-2.3.6.so) ==11291== by 0x784B: main (in /usr/sbin/lighttpd) ==11291== ==11291== ==11291== 422 (200 direct, 222 indirect) bytes in 1 blocks are definitely lost in loss record 12 of 13 ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==11291== by 0x4C4F13E: ??? ==11291== by 0x4C4F874: ??? ==11291== by 0x4C817D1: ??? ==11291== by 0x4C66EB2: ??? ==11291== by 0x4C2BC77: ??? ==11291== by 0x4C2C210: ??? ==11291== by 0x1BBE6: plugins_call_handle_physical (in /usr/sbin/lighttpd) ==11291== ==11291== LEAK SUMMARY: ==11291== definitely lost: 435 bytes in 8 blocks. ==11291== indirectly lost: 606 bytes in 48 blocks. ==11291== possibly lost: 0 bytes in 0 blocks. ==11291== still reachable: 966 bytes in 5 blocks. ==11291== suppressed: 0 bytes in 0 blocks. ==11291== Reachable blocks (those to which a pointer was found) are not shown. ==11291== To see them, rerun with: --show-reachable=yes --11291-- memcheck: sanity checks: 16 cheap, 1 expensive --11291-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --11291-- memcheck: auxmaps: 0 searches, 0 comparisons --11291-- memcheck: SMs: n_issued = 44 (704k, 0M) --11291-- memcheck: SMs: n_deissued = 8 (128k, 0M) --11291-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --11291-- memcheck: SMs: max_undefined = 0 (0k, 0M) --11291-- memcheck: SMs: max_defined = 77 (1232k, 1M) --11291-- memcheck: SMs: max_non_DSM = 41 (656k, 0M) --11291-- memcheck: max sec V bit nodes: 24 (1k, 0M) --11291-- memcheck: set_sec_vbits8 calls: 87 (new: 24, updates: 63) --11291-- memcheck: max shadow mem size: 961k, 0M --11291-- translate: fast SP updates identified: 11,804 ( 86.3%) --11291-- translate: generic_known SP updates identified: 1,388 ( 10.1%) --11291-- translate: generic_unknown SP updates identified: 476 ( 3.4%) --11291-- tt/tc: 23,857 tt lookups requiring 25,769 probes --11291-- tt/tc: 23,857 fast-cache updates, 21 flushes --11291-- transtab: new 9,971 (218,078 -> 3,628,207; ratio 166:10) [0 scs] --11291-- transtab: dumped 0 (0 -> ??) --11291-- transtab: discarded 3,452 (74,208 -> ??) --11291-- scheduler: 1,619,046 jumps (bb entries). --11291-- scheduler: 16/29,609 major/minor sched events. --11291-- sanity: 17 cheap, 1 expensive checks. --11291-- exectx: 30,011 lists, 1,394 contexts (avg 0 per list) --11291-- exectx: 15,240 searches, 13,886 full compares (911 per 1000) --11291-- exectx: 92 cmp2, 460 cmp4, 0 cmpAll