| 1 | ==11291== Memcheck, a memory error detector. |
|---|
| 2 | ==11291== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. |
|---|
| 3 | ==11291== Using LibVEX rev 1606, a library for dynamic binary translation. |
|---|
| 4 | ==11291== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. |
|---|
| 5 | ==11291== Using valgrind-3.2.0, a dynamic binary instrumentation framework. |
|---|
| 6 | ==11291== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. |
|---|
| 7 | ==11291== |
|---|
| 8 | ==11291== My PID = 11291, parent PID = 23814. Prog and args are: |
|---|
| 9 | ==11291== lighttpd |
|---|
| 10 | ==11291== -D |
|---|
| 11 | ==11291== -f |
|---|
| 12 | ==11291== ./lighttpd.conf |
|---|
| 13 | ==11291== |
|---|
| 14 | --11291-- |
|---|
| 15 | --11291-- Command line |
|---|
| 16 | --11291-- lighttpd |
|---|
| 17 | --11291-- -D |
|---|
| 18 | --11291-- -f |
|---|
| 19 | --11291-- ./lighttpd.conf |
|---|
| 20 | --11291-- Startup, with flags: |
|---|
| 21 | --11291-- --tool=memcheck |
|---|
| 22 | --11291-- -v |
|---|
| 23 | --11291-- --log-file=lighttpd |
|---|
| 24 | --11291-- --num-callers=8 |
|---|
| 25 | --11291-- --leak-check=full |
|---|
| 26 | --11291-- Contents of /proc/version: |
|---|
| 27 | --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 |
|---|
| 28 | --11291-- Arch and hwcaps: X86, x86-sse1-sse2 |
|---|
| 29 | --11291-- Valgrind library directory: /usr/lib/valgrind |
|---|
| 30 | --11291-- Reading syms from /usr/sbin/lighttpd (0x0) |
|---|
| 31 | --11291-- object doesn't have a symbol table |
|---|
| 32 | --11291-- Reading syms from /lib/ld-2.3.6.so (0x4000000) |
|---|
| 33 | --11291-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) |
|---|
| 34 | --11291-- object doesn't have a symbol table |
|---|
| 35 | --11291-- object doesn't have a dynamic symbol table |
|---|
| 36 | --11291-- Reading suppressions file: /usr/lib/valgrind/default.supp |
|---|
| 37 | --11291-- REDIR: 0x400FA90 (index) redirected to 0x38028A63 (???) |
|---|
| 38 | --11291-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4816000) |
|---|
| 39 | --11291-- object doesn't have a symbol table |
|---|
| 40 | --11291-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4818000) |
|---|
| 41 | --11291-- object doesn't have a symbol table |
|---|
| 42 | ==11291== WARNING: new redirection conflicts with existing -- ignoring it |
|---|
| 43 | --11291-- new: 0x0400FA90 (index ) R-> 0x0481B400 index |
|---|
| 44 | --11291-- REDIR: 0x400FC50 (strlen) redirected to 0x481B6A0 (strlen) |
|---|
| 45 | --11291-- Reading syms from /usr/lib/libpcre.so.0.0.1 (0x4824000) |
|---|
| 46 | --11291-- object doesn't have a symbol table |
|---|
| 47 | --11291-- Reading syms from /lib/libdl-2.3.6.so (0x4854000) |
|---|
| 48 | --11291-- object doesn't have a symbol table |
|---|
| 49 | --11291-- Reading syms from /usr/lib/libssl.so.0.9.7 (0x4858000) |
|---|
| 50 | --11291-- object doesn't have a symbol table |
|---|
| 51 | --11291-- Reading syms from /usr/lib/libcrypto.so.0.9.7 (0x4890000) |
|---|
| 52 | --11291-- object doesn't have a symbol table |
|---|
| 53 | --11291-- Reading syms from /lib/libc-2.3.6.so (0x49C7000) |
|---|
| 54 | --11291-- object doesn't have a symbol table |
|---|
| 55 | --11291-- REDIR: 0x4A315F0 (rindex) redirected to 0x481B2E0 (rindex) |
|---|
| 56 | --11291-- REDIR: 0x4A30D10 (strcmp) redirected to 0x481B950 (strcmp) |
|---|
| 57 | --11291-- REDIR: 0x4A2D580 (calloc) redirected to 0x481AC50 (calloc) |
|---|
| 58 | --11291-- REDIR: 0x4A2D900 (malloc) redirected to 0x48194E0 (malloc) |
|---|
| 59 | --11291-- REDIR: 0x4A312D0 (strlen) redirected to 0x481B680 (strlen) |
|---|
| 60 | --11291-- REDIR: 0x4A326A0 (memcpy) redirected to 0x481BA40 (memcpy) |
|---|
| 61 | --11291-- REDIR: 0x4A30BA0 (index) redirected to 0x481B3D0 (index) |
|---|
| 62 | --11291-- REDIR: 0x4A320C0 (memmove) redirected to 0x481BF10 (memmove) |
|---|
| 63 | --11291-- REDIR: 0x4A2BB70 (free) redirected to 0x481A2F0 (free) |
|---|
| 64 | --11291-- REDIR: 0x4A2DFB0 (realloc) redirected to 0x481AD40 (realloc) |
|---|
| 65 | --11291-- Reading syms from /usr/lib/lighttpd/mod_indexfile.so (0x481F000) |
|---|
| 66 | --11291-- object doesn't have a symbol table |
|---|
| 67 | --11291-- Reading syms from /usr/lib/lighttpd/mod_alias.so (0x4BE7000) |
|---|
| 68 | --11291-- object doesn't have a symbol table |
|---|
| 69 | --11291-- Reading syms from /usr/lib/lighttpd/mod_access.so (0x4BEB000) |
|---|
| 70 | --11291-- object doesn't have a symbol table |
|---|
| 71 | --11291-- Reading syms from /usr/lib/lighttpd/mod_auth.so (0x4BEE000) |
|---|
| 72 | --11291-- object doesn't have a symbol table |
|---|
| 73 | --11291-- Reading syms from /lib/libcrypt-2.3.6.so (0x4BFA000) |
|---|
| 74 | --11291-- object doesn't have a symbol table |
|---|
| 75 | --11291-- Reading syms from /usr/lib/lighttpd/mod_webdav.so (0x4C28000) |
|---|
| 76 | --11291-- object doesn't have a symbol table |
|---|
| 77 | --11291-- Reading syms from /usr/lib/libxml2.so.2.6.26 (0x4C31000) |
|---|
| 78 | --11291-- object doesn't have a symbol table |
|---|
| 79 | --11291-- Reading syms from /lib/libz.so.1.2.3 (0x4D84000) |
|---|
| 80 | --11291-- object doesn't have a symbol table |
|---|
| 81 | --11291-- Reading syms from /lib/libm-2.3.6.so (0x4D98000) |
|---|
| 82 | --11291-- object doesn't have a symbol table |
|---|
| 83 | --11291-- Reading syms from /usr/lib/libsqlite3.so.0.8.6 (0x4DBB000) |
|---|
| 84 | --11291-- object doesn't have a symbol table |
|---|
| 85 | --11291-- Reading syms from /lib/libpthread-0.10.so (0x4E21000) |
|---|
| 86 | --11291-- REDIR: 0x4A32160 (memset) redirected to 0x481BEF0 (memset) |
|---|
| 87 | --11291-- Reading syms from /usr/lib/lighttpd/mod_accesslog.so (0x4E73000) |
|---|
| 88 | --11291-- object doesn't have a symbol table |
|---|
| 89 | --11291-- Reading syms from /usr/lib/lighttpd/mod_dirlisting.so (0x4E78000) |
|---|
| 90 | --11291-- object doesn't have a symbol table |
|---|
| 91 | --11291-- Reading syms from /usr/lib/lighttpd/mod_fastcgi.so (0x4E7E000) |
|---|
| 92 | --11291-- object doesn't have a symbol table |
|---|
| 93 | --11291-- Reading syms from /usr/lib/lighttpd/mod_staticfile.so (0x4E8C000) |
|---|
| 94 | --11291-- object doesn't have a symbol table |
|---|
| 95 | --11291-- REDIR: 0x4A31F00 (memchr) redirected to 0x481BA10 (memchr) |
|---|
| 96 | --11291-- REDIR: 0x4A33010 (strchrnul) redirected to 0x481BF70 (strchrnul) |
|---|
| 97 | --11291-- REDIR: 0x4A32360 (stpcpy) redirected to 0x481BC20 (stpcpy) |
|---|
| 98 | --11291-- Reading syms from /lib/libnss_compat-2.3.6.so (0x4E91000) |
|---|
| 99 | --11291-- object doesn't have a symbol table |
|---|
| 100 | --11291-- Reading syms from /lib/libnsl-2.3.6.so (0x4E9A000) |
|---|
| 101 | --11291-- object doesn't have a symbol table |
|---|
| 102 | --11291-- REDIR: 0x4A30DB0 (strcpy) redirected to 0x481B6E0 (strcpy) |
|---|
| 103 | --11291-- Reading syms from /lib/libnss_nis-2.3.6.so (0x4EB0000) |
|---|
| 104 | --11291-- object doesn't have a symbol table |
|---|
| 105 | --11291-- Reading syms from /lib/libnss_files-2.3.6.so (0x4EBA000) |
|---|
| 106 | --11291-- object doesn't have a symbol table |
|---|
| 107 | --11291-- REDIR: 0x4A32F40 (rawmemchr) redirected to 0x481BF90 (rawmemchr) |
|---|
| 108 | --11291-- REDIR: 0x4A31430 (strncmp) redirected to 0x481B8F0 (strncmp) |
|---|
| 109 | --11291-- REDIR: 0x4A31540 (strncpy) redirected to 0x481B7B0 (strncpy) |
|---|
| 110 | --11291-- Discarding syms at 0x481F000-0x4823000 in /usr/lib/lighttpd/mod_indexfile.so due to munmap() |
|---|
| 111 | --11291-- Discarding syms at 0x4BE7000-0x4BEB000 in /usr/lib/lighttpd/mod_alias.so due to munmap() |
|---|
| 112 | --11291-- Discarding syms at 0x4BEB000-0x4BEE000 in /usr/lib/lighttpd/mod_access.so due to munmap() |
|---|
| 113 | --11291-- Discarding syms at 0x4BEE000-0x4BF6000 in /usr/lib/lighttpd/mod_auth.so due to munmap() |
|---|
| 114 | --11291-- Discarding syms at 0x4BFA000-0x4C28000 in /lib/libcrypt-2.3.6.so due to munmap() |
|---|
| 115 | --11291-- Discarding syms at 0x4C28000-0x4C31000 in /usr/lib/lighttpd/mod_webdav.so due to munmap() |
|---|
| 116 | --11291-- Discarding syms at 0x4C31000-0x4D84000 in /usr/lib/libxml2.so.2.6.26 due to munmap() |
|---|
| 117 | --11291-- Discarding syms at 0x4D84000-0x4D98000 in /lib/libz.so.1.2.3 due to munmap() |
|---|
| 118 | --11291-- Discarding syms at 0x4D98000-0x4DBB000 in /lib/libm-2.3.6.so due to munmap() |
|---|
| 119 | --11291-- Discarding syms at 0x4DBB000-0x4E21000 in /usr/lib/libsqlite3.so.0.8.6 due to munmap() |
|---|
| 120 | --11291-- Discarding syms at 0x4E73000-0x4E78000 in /usr/lib/lighttpd/mod_accesslog.so due to munmap() |
|---|
| 121 | --11291-- Discarding syms at 0x4E7E000-0x4E8C000 in /usr/lib/lighttpd/mod_fastcgi.so due to munmap() |
|---|
| 122 | --11291-- Discarding syms at 0x4E78000-0x4E7E000 in /usr/lib/lighttpd/mod_dirlisting.so due to munmap() |
|---|
| 123 | --11291-- Discarding syms at 0x4E8C000-0x4E91000 in /usr/lib/lighttpd/mod_staticfile.so due to munmap() |
|---|
| 124 | --11291-- Discarding syms at 0x4E91000-0x4E9A000 in /lib/libnss_compat-2.3.6.so due to munmap() |
|---|
| 125 | --11291-- Discarding syms at 0x4EB0000-0x4EBA000 in /lib/libnss_nis-2.3.6.so due to munmap() |
|---|
| 126 | --11291-- Discarding syms at 0x4E9A000-0x4EB0000 in /lib/libnsl-2.3.6.so due to munmap() |
|---|
| 127 | --11291-- Discarding syms at 0x4EBA000-0x4EC4000 in /lib/libnss_files-2.3.6.so due to munmap() |
|---|
| 128 | ==11291== |
|---|
| 129 | ==11291== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 109 from 2) |
|---|
| 130 | --11291-- |
|---|
| 131 | --11291-- supp: 33 Ubuntu-stripped-ld.so |
|---|
| 132 | --11291-- supp: 76 dl_relocate_object |
|---|
| 133 | ==11291== malloc/free: in use at exit: 2,007 bytes in 61 blocks. |
|---|
| 134 | ==11291== malloc/free: 7,596 allocs, 7,535 frees, 425,554 bytes allocated. |
|---|
| 135 | ==11291== |
|---|
| 136 | ==11291== searching for pointers to 61 not-freed blocks. |
|---|
| 137 | ==11291== checked 510,468 bytes. |
|---|
| 138 | ==11291== |
|---|
| 139 | ==11291== 43 bytes in 3 blocks are definitely lost in loss record 4 of 13 |
|---|
| 140 | ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) |
|---|
| 141 | ==11291== by 0x4CD5ECC: ??? |
|---|
| 142 | ==11291== by 0x4CD5F83: ??? |
|---|
| 143 | ==11291== by 0x4C511BB: ??? |
|---|
| 144 | ==11291== by 0x4C51E1A: ??? |
|---|
| 145 | ==11291== by 0x4C55F99: ??? |
|---|
| 146 | ==11291== by 0x4C604B6: ??? |
|---|
| 147 | ==11291== by 0x4C69A2D: ??? |
|---|
| 148 | ==11291== |
|---|
| 149 | ==11291== |
|---|
| 150 | ==11291== 84 bytes in 1 blocks are definitely lost in loss record 6 of 13 |
|---|
| 151 | ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) |
|---|
| 152 | ==11291== by 0x4CD2E99: ??? |
|---|
| 153 | ==11291== by 0x4D322A4: ??? |
|---|
| 154 | ==11291== by 0x4D3252D: ??? |
|---|
| 155 | ==11291== by 0x4C54B46: ??? |
|---|
| 156 | ==11291== by 0x4C551C1: ??? |
|---|
| 157 | ==11291== by 0x4C66EC7: ??? |
|---|
| 158 | ==11291== by 0x4C2BC77: ??? |
|---|
| 159 | ==11291== |
|---|
| 160 | ==11291== |
|---|
| 161 | ==11291== 492 (108 direct, 384 indirect) bytes in 3 blocks are definitely lost in loss record 8 of 13 |
|---|
| 162 | ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) |
|---|
| 163 | ==11291== by 0x4A93FB6: (within /lib/libc-2.3.6.so) |
|---|
| 164 | ==11291== by 0x4A9481E: __nss_database_lookup (in /lib/libc-2.3.6.so) |
|---|
| 165 | ==11291== by 0x4E93189: ??? |
|---|
| 166 | ==11291== by 0x4E94389: ??? |
|---|
| 167 | ==11291== by 0x4A51673: getpwnam_r (in /lib/libc-2.3.6.so) |
|---|
| 168 | ==11291== by 0x4A5115E: getpwnam (in /lib/libc-2.3.6.so) |
|---|
| 169 | ==11291== by 0x784B: main (in /usr/sbin/lighttpd) |
|---|
| 170 | ==11291== |
|---|
| 171 | ==11291== |
|---|
| 172 | ==11291== 422 (200 direct, 222 indirect) bytes in 1 blocks are definitely lost in loss record 12 of 13 |
|---|
| 173 | ==11291== at 0x4819544: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) |
|---|
| 174 | ==11291== by 0x4C4F13E: ??? |
|---|
| 175 | ==11291== by 0x4C4F874: ??? |
|---|
| 176 | ==11291== by 0x4C817D1: ??? |
|---|
| 177 | ==11291== by 0x4C66EB2: ??? |
|---|
| 178 | ==11291== by 0x4C2BC77: ??? |
|---|
| 179 | ==11291== by 0x4C2C210: ??? |
|---|
| 180 | ==11291== by 0x1BBE6: plugins_call_handle_physical (in /usr/sbin/lighttpd) |
|---|
| 181 | ==11291== |
|---|
| 182 | ==11291== LEAK SUMMARY: |
|---|
| 183 | ==11291== definitely lost: 435 bytes in 8 blocks. |
|---|
| 184 | ==11291== indirectly lost: 606 bytes in 48 blocks. |
|---|
| 185 | ==11291== possibly lost: 0 bytes in 0 blocks. |
|---|
| 186 | ==11291== still reachable: 966 bytes in 5 blocks. |
|---|
| 187 | ==11291== suppressed: 0 bytes in 0 blocks. |
|---|
| 188 | ==11291== Reachable blocks (those to which a pointer was found) are not shown. |
|---|
| 189 | ==11291== To see them, rerun with: --show-reachable=yes |
|---|
| 190 | --11291-- memcheck: sanity checks: 16 cheap, 1 expensive |
|---|
| 191 | --11291-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use |
|---|
| 192 | --11291-- memcheck: auxmaps: 0 searches, 0 comparisons |
|---|
| 193 | --11291-- memcheck: SMs: n_issued = 44 (704k, 0M) |
|---|
| 194 | --11291-- memcheck: SMs: n_deissued = 8 (128k, 0M) |
|---|
| 195 | --11291-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) |
|---|
| 196 | --11291-- memcheck: SMs: max_undefined = 0 (0k, 0M) |
|---|
| 197 | --11291-- memcheck: SMs: max_defined = 77 (1232k, 1M) |
|---|
| 198 | --11291-- memcheck: SMs: max_non_DSM = 41 (656k, 0M) |
|---|
| 199 | --11291-- memcheck: max sec V bit nodes: 24 (1k, 0M) |
|---|
| 200 | --11291-- memcheck: set_sec_vbits8 calls: 87 (new: 24, updates: 63) |
|---|
| 201 | --11291-- memcheck: max shadow mem size: 961k, 0M |
|---|
| 202 | --11291-- translate: fast SP updates identified: 11,804 ( 86.3%) |
|---|
| 203 | --11291-- translate: generic_known SP updates identified: 1,388 ( 10.1%) |
|---|
| 204 | --11291-- translate: generic_unknown SP updates identified: 476 ( 3.4%) |
|---|
| 205 | --11291-- tt/tc: 23,857 tt lookups requiring 25,769 probes |
|---|
| 206 | --11291-- tt/tc: 23,857 fast-cache updates, 21 flushes |
|---|
| 207 | --11291-- transtab: new 9,971 (218,078 -> 3,628,207; ratio 166:10) [0 scs] |
|---|
| 208 | --11291-- transtab: dumped 0 (0 -> ??) |
|---|
| 209 | --11291-- transtab: discarded 3,452 (74,208 -> ??) |
|---|
| 210 | --11291-- scheduler: 1,619,046 jumps (bb entries). |
|---|
| 211 | --11291-- scheduler: 16/29,609 major/minor sched events. |
|---|
| 212 | --11291-- sanity: 17 cheap, 1 expensive checks. |
|---|
| 213 | --11291-- exectx: 30,011 lists, 1,394 contexts (avg 0 per list) |
|---|
| 214 | --11291-- exectx: 15,240 searches, 13,886 full compares (911 per 1000) |
|---|
| 215 | --11291-- exectx: 92 cmp2, 460 cmp4, 0 cmpAll |
|---|