memory leak in adapter_modifying

Asked by hostmaster

Hi

It seems like adapter_modifying.cc has a memory leak problem. I tried to stress test adapter_modifying and saw that memory was not freed. Please take a look at my memory graph http://pbs.twimg.com/media/A0_RV9sCUAAN04_.png

squid 3.2.1
libecap-0.2.0
ecap_adapter_sample-0.2.0

===== squid.config =====
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow localhost manager
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
cache deny all
http_port 2831
coredump_dir /usr/local/squid/var/cache/squid
access_log none
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 0% 0
cache_effective_user proxy
max_filedescriptors 200000
forwarded_for off
client_db off
cache_mem 0 MB
memory_pools off
dns_nameservers 127.0.0.1
workers 2
loadable_modules /usr/local/lib/ecap_adapter_modifying.so
acl HTTP_STATUS_OK http_status 200
ecap_enable on
adaptation_access ECAP_SERVICE allow HTTP_STATUS_OK
ecap_service ECAP_SERVICE respmod_precache 0 ecap://e-cap.org/ecap/services/sample/modifying victim=TITLE replacement=title

Question information

Language:
English Edit question
Status:
Expired
For:
eCAP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Rousskov (rousskov) said :
#1

Why do you think that it is adapter_modifying that causes memory usage to grow? I am not saying that adapter_modifying cannot leak memory, I am just trying to understand whether you have run any tests to pin point the source of memory growth?

Revision history for this message
hostmaster (homyakov) said :
#2

It wasn't memory test . I just tried to get measures about CPU and memory utilization under high traffic. I developing ecap plugin which based on ecap_adapter_sample and I saw that memory utilization was growing. Then I re-tested the same setup with original plugin and got the same result. The first peak in my picture is a possible memory leak than you can see a plato this is exactly the same squid instance but with disabled ecap (squid was restarted).

Revision history for this message
hostmaster (homyakov) said :
#3

I run squid with enabled adapter under valgrind and it is warn about "definitely lost" in ecap code few times. I'm not well familiar with valgrind. So it is just FYI.

Revision history for this message
Alex Rousskov (rousskov) said :
#4

> valgrind warned about "definitely lost" in ecap code

Lost In Squid eCAP code or in the eCAP adapter code? Did you build Squid --with-valgrind-debug? Can you post the exact valgrind warnings?

Revision history for this message
hostmaster (homyakov) said :
#5

Ubuntu 12.04.1 LTS /32 bit

squid-3.2.1

configure \
 --enable-ecap \
 --enable-shared \
 --disable-static \
 --disable-wccp \
 --disable-wccp2 \
   --disable-snmp \
 --disable-eui \
    --disable-htcp \
  --disable-ssl \
  --disable-select \
  --disable-poll \
  --enable-epoll \
  --disable-kqueue \
  --disable-ident-lookups \
  --disable-auth \
  --disable-ipv6 \
 --disable-unlinkd \
  --disable-translation \
  --disable-auto-locale \
  --disable-icmp \
  --without-expat \
   --without-libxml2 \
  --without-aio \
 --without-libcap \
 --without-openssl \
  --with-pic \
 --without-large-files \
 --with-valgrind-debug

valgrind --leak-check=full --leak-resolution=med \
 --log-file=memcheck.log \
 /usr/local/squid/sbin/squid -f squid.conf -u 0

=== memcheck.log
==24596== Memcheck, a memory error detector
==24596== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==24596== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==24596== Command: /usr/local/squid/sbin/squid -f squid.conf -u 0
==24596== Parent PID: 24595
==24596==
==24601==
==24601== HEAP SUMMARY:
==24601== in use at exit: 336,901 bytes in 658 blocks
==24601== total heap usage: 899 allocs, 241 frees, 370,812 bytes allocated
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 148 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A6F9: _GLOBAL__sub_I_names.cc (names.cc:5)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 149 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A834: _GLOBAL__sub_I_names.cc (names.cc:8)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 150 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A900: _GLOBAL__sub_I_names.cc (names.cc:11)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 151 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A966: _GLOBAL__sub_I_names.cc (names.cc:12)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 152 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AD62: _GLOBAL__sub_I_names.cc (names.cc:23)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 153 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x80E2360: _GLOBAL__sub_I_Host.cc (Host.cc:17)
==24601== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==24601== by 0x41CC469: (below main) (libc-start.c:185)
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 154 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x80E23BF: _GLOBAL__sub_I_Host.cc (Host.cc:21)
==24601== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==24601== by 0x41CC469: (below main) (libc-start.c:185)
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 155 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x43BCD5F: ???
==24601==
==24601== 16 bytes in 1 blocks are possibly lost in loss record 156 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x43BCF07: ???
==24601==
==24601== 17 bytes in 1 blocks are possibly lost in loss record 168 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A61B: _GLOBAL__sub_I_names.cc (names.cc:3)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 17 bytes in 1 blocks are possibly lost in loss record 169 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A7CE: _GLOBAL__sub_I_names.cc (names.cc:7)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 17 bytes in 1 blocks are possibly lost in loss record 170 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A9CC: _GLOBAL__sub_I_names.cc (names.cc:13)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 17 bytes in 1 blocks are possibly lost in loss record 171 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AA32: _GLOBAL__sub_I_names.cc (names.cc:14)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 18 bytes in 1 blocks are possibly lost in loss record 172 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A68D: _GLOBAL__sub_I_names.cc (names.cc:4)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 18 bytes in 1 blocks are possibly lost in loss record 173 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A89A: _GLOBAL__sub_I_names.cc (names.cc:9)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 18 bytes in 1 blocks are possibly lost in loss record 174 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406ABCA: _GLOBAL__sub_I_names.cc (names.cc:18)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 19 bytes in 1 blocks are possibly lost in loss record 176 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406A765: _GLOBAL__sub_I_names.cc (names.cc:6)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 19 bytes in 1 blocks are possibly lost in loss record 177 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AB64: _GLOBAL__sub_I_names.cc (names.cc:17)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 20 bytes in 1 blocks are possibly lost in loss record 187 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AA98: _GLOBAL__sub_I_names.cc (names.cc:15)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 20 bytes in 1 blocks are possibly lost in loss record 188 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AAFE: _GLOBAL__sub_I_names.cc (names.cc:16)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 20 bytes in 1 blocks are possibly lost in loss record 189 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406ACFC: _GLOBAL__sub_I_names.cc (names.cc:22)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 21 bytes in 1 blocks are possibly lost in loss record 190 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x80E22A0: _GLOBAL__sub_I_Host.cc (Host.cc:15)
==24601== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==24601== by 0x41CC469: (below main) (libc-start.c:185)
==24601==
==24601== 22 bytes in 1 blocks are possibly lost in loss record 191 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x80E241E: _GLOBAL__sub_I_Host.cc (Host.cc:22)
==24601== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==24601== by 0x41CC469: (below main) (libc-start.c:185)
==24601==
==24601== 23 bytes in 1 blocks are possibly lost in loss record 192 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406B0A0: _GLOBAL__sub_I_names.cc (names.cc:33)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 23 bytes in 1 blocks are possibly lost in loss record 193 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x80E247D: _GLOBAL__sub_I_Host.cc (Host.cc:24)
==24601== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==24601== by 0x41CC469: (below main) (libc-start.c:185)
==24601==
==24601== 24 bytes in 1 blocks are possibly lost in loss record 217 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406ADC8: _GLOBAL__sub_I_names.cc (names.cc:24)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 24 bytes in 1 blocks are possibly lost in loss record 218 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AE2E: _GLOBAL__sub_I_names.cc (names.cc:25)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 25 bytes in 1 blocks are possibly lost in loss record 219 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24596==
==24596== HEAP SUMMARY:
==24596== in use at exit: 327,288 bytes in 562 blocks
==24596== total heap usage: 887 allocs, 325 frees, 361,381 bytes allocated
==24596==
115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x80E2301: _GLOBAL__sub_I_Host.cc (Host.cc:16)
==24601== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==24601== by 0x41CC469: (below main) (libc-start.c:185)
==24601==
==24601== 27 bytes in 1 blocks are possibly lost in loss record 221 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AC30: _GLOBAL__sub_I_names.cc (names.cc:20)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 28 bytes in 1 blocks are possibly lost in loss record 235 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406B03A: _GLOBAL__sub_I_names.cc (names.cc:32)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 28 bytes in 1 blocks are possibly lost in loss record 236 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406B106: _GLOBAL__sub_I_names.cc (names.cc:34)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 28 bytes in 1 blocks are possibly lost in loss record 237 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406B16C: _GLOBAL__sub_I_names.cc (names.cc:35)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 28 bytes in 1 blocks are possibly lost in loss record 238 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406B1D2: _GLOBAL__sub_I_names.cc (names.cc:36)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 30 bytes in 1 blocks are possibly lost in loss record 243 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AC96: _GLOBAL__sub_I_names.cc (names.cc:21)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 30 bytes in 1 blocks are possibly lost in loss record 244 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AF08: _GLOBAL__sub_I_names.cc (names.cc:29)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 33 bytes in 1 blocks are possibly lost in loss record 255 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AF6E: _GLOBAL__sub_I_names.cc (names.cc:30)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 35 bytes in 1 blocks are possibly lost in loss record 259 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x406AFD4: _GLOBAL__sub_I_names.cc (names.cc:31)
==24601== by 0x400EE9A: call_init (dl-init.c:85)
==24601== by 0x400EF83: _dl_init (dl-init.c:134)
==24601== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==24601==
==24601== 36 bytes in 1 blocks are possibly lost in loss record 265 of 417
==24601== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24601== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24601== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24601== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==24601== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==24601== by 0x81AB052: String::String(char const*) (String.cc:75)
==24601== by 0x827E0AB: Format::Token::Init() (Token.cc:199)
==24601== by 0x818A276: SquidMain(int, char**) (main.cc:1370)
==24601== by 0x80DD62B: main (main.cc:1215)
==24601==
==24601== 36 bytes in 1 blocks are possibly lost in loss record 266 of 417
==24601== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24601== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24601== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24601== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==24601== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==24601== by 0x81AB551: String::substr(unsigned int, unsigned int) const (String.cc:257)
==24601== by 0x828DA99: Adaptation::ServiceConfig::grokUri(char const*) (ServiceConfig.cc:169)
==24601== by 0x828EE7E: Adaptation::ServiceConfig::parse() (ServiceConfig.cc:114)
==24601== by 0x82873C6: Adaptation::Config::parseService() (Config.cc:172)
==24601== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==24601== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24601==
==24601== 36 bytes in 1 blocks are possibly lost in loss record 267 of 417
==24601== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24601== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24601== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24601== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==24601== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==24601== by 0x81AB184: String::operator=(String const&) (String.cc:94)
==24601== by 0x828DAAB: Adaptation::ServiceConfig::grokUri(char const*) (ServiceConfig.cc:169)
==24601== by 0x828EE7E: Adaptation::ServiceConfig::parse() (ServiceConfig.cc:114)
==24601== by 0x82873C6: Adaptation::Config::parseService() (Config.cc:172)
==24601== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==24601== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24601==
==24601== 36 bytes in 1 blocks are possibly lost in loss record 268 of 417
==24601== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24601== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24601== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24601== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==24601== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==24601== by 0x828DD9A: Adaptation::ServiceConfig::grokUri(char const*) (ServiceConfig.cc:247)
==24601== by 0x828EE7E: Adaptation::ServiceConfig::parse() (ServiceConfig.cc:114)
==24601== by 0x82873C6: Adaptation::Config::parseService() (Config.cc:172)
==24601== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==24601== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24601== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==24601==
==24601== 36 bytes in 1 blocks are possibly lost in loss record 269 of 417
==24601== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24601== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24601== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24601== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==24601== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==24601== by 0x81AB184: String::operator=(String const&) (String.cc:94)
==24601== by 0x8238669: Vector<Kid>::push_back(Kid) (Kid.h:14)
==24601== by 0x8237F84: Kids::init() (Kids.cc:45)
==24601== by 0xE: ???
==24601==
==24601== 37 bytes in 2 blocks are possibly lost in loss record 270 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x43BCD5F: ???
==24601==
==24601== 42 bytes in 2 blocks are possibly lost in loss record 276 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==24601== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==24601== by 0x43BCF07: ???
==24601==
==24601== 68 bytes in 1 blocks are possibly lost in loss record 295 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x8288BAB: Vector<RefCount<Adaptation::ServiceConfig> >::reserve(unsigned int) (SquidNew.h:55)
==24601== by 0x82873FF: Adaptation::Config::parseService() (Array.h:197)
==24601== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==24601== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24601== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==24601== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24601== by 0x80DD62B: main (main.cc:1215)
==24601==
==24601== 72 bytes in 2 blocks are possibly lost in loss record 297 of 417
==24601== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24601== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24601== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24601== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==24601== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==24601== by 0x81AB184: String::operator=(String const&) (String.cc:94)
==24601== by 0x8238669: Vector<Kid>::push_back(Kid) (Kid.h:14)
==24601== by 0x8237E1B: Kids::init() (Kids.cc:33)
==24601== by 0x8: ???
==24596== 1==24601== 108 bytes in 1 blocks are possibly lost in loss record 306 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x82946E5: Adaptation::Ecap::Config::newServiceConfig() const (SquidNew.h:47)
==24601== by 0x82873AB: Adaptatio==24596== by 0x47718F7: ???
==24596== by 0x4265A46: getpwnam_r@@GLIBC_2.1.2 (getXXbyYY_r.c:256)
==24596== by 0x426547D: getpwnam (getXXbyYY.c:117)
==24596== by 0x80F0DF2: parseConfigFile(char const*) (cache_cf.cc:819)
==24596== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24596== by 0x80DD62B: main (main.cc:1215)
==24596==
==24596== 176 bytes in 2 blocks are definitely lost in loss record 289 of 324
==24596== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24596== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24596== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24596== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24596== by 0x82A4E82: MemAllocatorProxy::alloc() (MemPool.cc:355)
==24596== by 0x81ED205: acl_ip_data::FactoryParse(char const*) (Ip.h:66)
==24596== by 0x81EEC90: ACLIP::parse() (Ip.cc:523)
==24596== by 0x820836A: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==24596== by 0x80EEF27: parse_line(char*) (cache_cf.cc:1252)
==24596== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24596== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==24596== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24596==
==24601== 160 (40 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 362 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x42AE54E: nss_parse_service_list (nsswitch.c:678)
==24601== by 0x42AECC9: __nss_database_lookup (nsswitch.c:175)
==24601== by 0x4770168: ???
==24601== by 0x47718F7: ???
==24601== by 0x4265A46: getpwnam_r@@GLIBC_2.1.2 (getXXbyYY_r.c:256)
==24601== by 0x426547D: getpwnam (getXXbyYY.c:117)
==24601== by 0x80F0DF2: parseConfigFile(char const*) (cache_cf.cc:819)
==24601== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24601== by 0x80DD62B: main (main.cc:1215)
==24601==
==24596== LEAK SUMMARY:
==24596== definitely lost: 276 bytes in 5 blocks
==24596== indirectly lost: 300 bytes in 23 blocks
==24596== possibly lost: 0 bytes in 0 blocks
==24596== still reachable: 326,712 bytes in 534 blocks
==24596== suppressed: 0 bytes in 0 blocks
==24596== Reachable blocks (those to which a pointer was found) are not shown.
==24596== To see them, rerun with: --leak-check=full --show-reachable=yes
==24596==
==24596== For counts of detected and suppressed errors, rerun with: -v
==24596== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
A: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==24601== by 0x80EEF27: parse_line(char*) (cache_cf.cc:1252)
==24601== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24601== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==24601== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24601==
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x42AE54E: nss_parse_service_list (nsswitch.c:678)
==24601== by 0x42AECC9: __nss_database_lookup (nsswitch.c:175)
==24601== by 0x4773B74: ???
==24601== by 0x4263826: internal_getgrouplist (initgroups.c:114)
==24601== by 0x4263BAC: initgroups (initgroups.c:221)
==24601== by 0x81CF392: leave_suid (tools.cc:719)
==24601== by 0x80F145E: parseConfigFile(char const*) (cache_cf.cc:570)
==24601== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24601== by 0x80DD62B: main (main.cc:1215)
==24601==
==24601== 516 bytes in 1 blocks are possibly lost in loss record 391 of 417
==24601== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24601== by 0x82AA379: xmalloc (xalloc.cc:116)
==24601== by 0x82384CD: Vector<Kid>::reserve(unsigned int) (SquidNew.h:55)
==24601== by 0x8237D86: Kids::init() (Kids.cc:26)
==24601== by 0x818ADF8: SquidMain(int, char**) (main.cc:1707)
==24601== by 0x80DD62B: main (main.cc:1215)
==24601==
==24601== LEAK SUMMARY:
==24601== definitely lost: 256 bytes in 4 blocks
==24601== indirectly lost: 264 bytes in 22 blocks
==24601== possibly lost: 1,944 bytes in 52 blocks
==24601== still reachable: 334,437 bytes in 580 blocks
==24601== suppressed: 0 bytes in 0 blocks
==24601== Reachable blocks (those to which a pointer was found) are not shown.
==24601== To see them, rerun with: --leak-check=full --show-reachable=yes
==24601==
==24601== For counts of detected and suppressed errors, rerun with: -v
==24601== ERROR SUMMARY: 52 errors from 52 contexts (suppressed: 0 from 0)
==2038==
==2038== HEAP SUMMARY:
==2038== in use at exit: 336,901 bytes in 658 blocks
==2038== total heap usage: 914 allocs, 256 frees, 414,049 bytes allocated
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 148 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A6F9: _GLOBAL__sub_I_names.cc (names.cc:5)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 149 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A834: _GLOBAL__sub_I_names.cc (names.cc:8)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 150 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A900: _GLOBAL__sub_I_names.cc (names.cc:11)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 151 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A966: _GLOBAL__sub_I_names.cc (names.cc:12)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 152 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AD62: _GLOBAL__sub_I_names.cc (names.cc:23)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 153 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x80E2360: _GLOBAL__sub_I_Host.cc (Host.cc:17)
==2038== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==2038== by 0x41CC469: (below main) (libc-start.c:185)
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 154 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x80E23BF: _GLOBAL__sub_I_Host.cc (Host.cc:21)
==2038== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==2038== by 0x41CC469: (below main) (libc-start.c:185)
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 155 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x43BCD5F: ???
==2038==
==2038== 16 bytes in 1 blocks are possibly lost in loss record 156 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x43BCF07: ???
==2038==
==2038== 17 bytes in 1 blocks are possibly lost in loss record 168 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A61B: _GLOBAL__sub_I_names.cc (names.cc:3)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 17 bytes in 1 blocks are possibly lost in loss record 169 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A7CE: _GLOBAL__sub_I_names.cc (names.cc:7)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 17 bytes in 1 blocks are possibly lost in loss record 170 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A9CC: _GLOBAL__sub_I_names.cc (names.cc:13)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 17 bytes in 1 blocks are possibly lost in loss record 171 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AA32: _GLOBAL__sub_I_names.cc (names.cc:14)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 18 bytes in 1 blocks are possibly lost in loss record 172 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A68D: _GLOBAL__sub_I_names.cc (names.cc:4)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 18 bytes in 1 blocks are possibly lost in loss record 173 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A89A: _GLOBAL__sub_I_names.cc (names.cc:9)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 18 bytes in 1 blocks are possibly lost in loss record 174 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406ABCA: _GLOBAL__sub_I_names.cc (names.cc:18)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 19 bytes in 1 blocks are possibly lost in loss record 176 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406A765: _GLOBAL__sub_I_names.cc (names.cc:6)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 19 bytes in 1 blocks are possibly lost in loss record 177 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AB64: _GLOBAL__sub_I_names.cc (names.cc:17)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 20 bytes in 1 blocks are possibly lost in loss record 187 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AA98: _GLOBAL__sub_I_names.cc (names.cc:15)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 20 bytes in 1 blocks are possibly lost in loss record 188 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AAFE: _GLOBAL__sub_I_names.cc (names.cc:16)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 20 bytes in 1 blocks are possibly lost in loss record 189 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406ACFC: _GLOBAL__sub_I_names.cc (names.cc:22)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 21 bytes in 1 blocks are possibly lost in loss record 190 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x80E22A0: _GLOBAL__sub_I_Host.cc (Host.cc:15)
==2038== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==2038== by 0x41CC469: (below main) (libc-start.c:185)
==2038==
==2038== 22 bytes in 1 blocks are possibly lost in loss record 191 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x80E241E: _GLOBAL__sub_I_Host.cc (Host.cc:22)
==2038== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==2038== by 0x41CC469: (below main) (libc-start.c:185)
==2038==
==2038== 23 bytes in 1 blocks are possibly lost in loss record 192 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406B0A0: _GLOBAL__sub_I_names.cc (names.cc:33)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 23 bytes in 1 blocks are possibly lost in loss record 193 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x80E247D: _GLOBAL__sub_I_Host.cc (Host.cc:24)
==2038== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==2038== by 0x41CC469: (below main) (libc-start.c:185)
==2038==
==2038== 24 bytes in 1 blocks are possibly lost in loss record 217 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406ADC8: _GLOBAL__sub_I_names.cc (names.cc:24)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 24 bytes in 1 blocks are possibly lost in loss record 218 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AE2E: _GLOBAL__sub_I_names.cc (names.cc:25)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 25 bytes in 1 blocks are possibly lost in loss record 219 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x80E2301: _GLOBAL__sub_I_Host.cc (Host.cc:16)
==2038== by 0x82AA7E1: __libc_csu_init (in /usr/local/squid/sbin/squid)
==2038== by 0x41CC469: (below main) (libc-start.c:185)
==2038==
==2038== 27 bytes in 1 blocks are possibly lost in loss record 221 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AC30: _GLOBAL__sub_I_names.cc (names.cc:20)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 28 bytes in 1 blocks are possibly lost in loss record 235 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406B03A: _GLOBAL__sub_I_names.cc (names.cc:32)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 28 bytes in 1 blocks are possibly lost in loss record 236 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406B106: _GLOBAL__sub_I_names.cc (names.cc:34)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 28 bytes in 1 blocks are possibly lost in loss record 237 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406B16C: _GLOBAL__sub_I_names.cc (names.cc:35)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 28 bytes in 1 blocks are possibly lost in loss record 238 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406B1D2: _GLOBAL__sub_I_names.cc (names.cc:36)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 30 bytes in 1 blocks are possibly lost in loss record 243 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AC96: _GLOBAL__sub_I_names.cc (names.cc:21)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 30 bytes in 1 blocks are possibly lost in loss record 244 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AF08: _GLOBAL__sub_I_names.cc (names.cc:29)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 33 bytes in 1 blocks are possibly lost in loss record 255 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AF6E: _GLOBAL__sub_I_names.cc (names.cc:30)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 35 bytes in 1 blocks are possibly lost in loss record 259 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x406AFD4: _GLOBAL__sub_I_names.cc (names.cc:31)
==2038== by 0x400EE9A: call_init (dl-init.c:85)
==2038== by 0x400EF83: _dl_init (dl-init.c:134)
==2038== by 0x400120E: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==2038==
==2038== 36 bytes in 1 blocks are possibly lost in loss record 266 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==2038== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==2038== by 0x81AB052: String::String(char const*) (String.cc:75)
==2038== by 0x827E0AB: Format::Token::Init() (Token.cc:199)
==2038== by 0x818A276: SquidMain(int, char**) (main.cc:1370)
==2038== by 0x80DD62B: main (main.cc:1215)
==2038==
==2038== 36 bytes in 1 blocks are possibly lost in loss record 267 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==2038== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==2038== by 0x81AB551: String::substr(unsigned int, unsigned int) const (String.cc:257)
==2038== by 0x828DA99: Adaptation::ServiceConfig::grokUri(char const*) (ServiceConfig.cc:169)
==2038== by 0x828EE7E: Adaptation::ServiceConfig::parse() (ServiceConfig.cc:114)
==2038== by 0x82873C6: Adaptation::Config::parseService() (Config.cc:172)
==2038== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==2038== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==2038==
==2038== 36 bytes in 1 blocks are possibly lost in loss record 268 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==2038== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==2038== by 0x81AB184: String::operator=(String const&) (String.cc:94)
==2038== by 0x828DAAB: Adaptation::ServiceConfig::grokUri(char const*) (ServiceConfig.cc:169)
==2038== by 0x828EE7E: Adaptation::ServiceConfig::parse() (ServiceConfig.cc:114)
==2038== by 0x82873C6: Adaptation::Config::parseService() (Config.cc:172)
==2038== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==2038== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==2038==
==2038== 36 bytes in 1 blocks are possibly lost in loss record 269 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==2038== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==2038== by 0x828DD9A: Adaptation::ServiceConfig::grokUri(char const*) (ServiceConfig.cc:247)
==2038== by 0x828EE7E: Adaptation::ServiceConfig::parse() (ServiceConfig.cc:114)
==2038== by 0x82873C6: Adaptation::Config::parseService() (Config.cc:172)
==2038== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==2038== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==2038== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==2038==
==2038== 36 bytes in 1 blocks are possibly lost in loss record 270 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==2038== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==2038== by 0x81AB184: String::operator=(String const&) (String.cc:94)
==2038== by 0x8238669: Vector<Kid>::push_back(Kid) (Kid.h:14)
==2038== by 0x8237E1B: Kids::init() (Kids.cc:33)
==2038== by 0x8: ???
==2038==
==2038== 36 bytes in 1 blocks are possibly lost in loss record 271 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==2038== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==2038== by 0x81AB184: String::operator=(String const&) (String.cc:94)
==2038== by 0x8238669: Vector<Kid>::push_back(Kid) (Kid.h:14)
==2038== by 0x8237F84: Kids::init() (Kids.cc:45)
==2038== by 0xE: ???
==2038==
==2038== 37 bytes in 2 blocks are possibly lost in loss record 272 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x43BCD5F: ???
==2038==
==2038== 42 bytes in 2 blocks are possibly lost in loss record 278 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x81A33BE: operator new(unsigned int) (SquidNew.h:47)
==2038== by 0x41137D3: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115A47: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x4115BB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
==2038== by 0x43BCF07: ???
==2038==
==2038== 68 bytes in 1 blocks are possibly lost in loss record 297 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x8288BAB: Vector<RefCount<Adaptation::ServiceConfig> >::reserve(unsigned int) (SquidNew.h:55)
==2038== by 0x82873FF: Adaptation::Config::parseService() (Array.h:197)
==2038== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==2038== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==2038== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==2038== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==2038== by 0x80DD62B: main (main.cc:1215)
==2038==
==2038== 108 bytes in 1 blocks are possibly lost in loss record 307 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x82946E5: Adaptation::Ecap::Config::newServiceConfig() const (SquidNew.h:47)
==2038== by 0x82873AB: Adaptation::Config::parseService() (Config.cc:171)
==2038== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==2038== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==2038== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==2038== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==2038== by 0x80DD62B: main (main.cc:1215)
==2038==
==2038== 128 bytes in 1 blocks are possibly lost in loss record 318 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x81AAEDE: String::allocBuffer(unsigned int) (String.cc:56)
==2038== by 0x81AAFC1: String::allocAndFill(char const*, int) (String.cc:131)
==2038== by 0x81AB1E6: String::reset(char const*) (String.cc:181)
==2038== by 0x81AB217: String::operator=(char const*) (String.cc:85)
==2038== by 0x828DA66: Adaptation::ServiceConfig::grokUri(char const*) (ServiceConfig.cc:163)
==2038== by 0x828EE7E: Adaptation::ServiceConfig::parse() (ServiceConfig.cc:114)
==2038== by 0x82873C6: Adaptation::Config::parseService() (Config.cc:172)
==2038== by 0x80ECC05: parse_line(char*) (cache_cf.cc:4252)
==2038==
==2038== 160 (40 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 363 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x42AE54E: nss_parse_service_list (nsswitch.c:678)
==2038== by 0x42AECC9: __nss_database_lookup (nsswitch.c:175)
==2038== by 0x4770168: ???
==2038== by 0x47718F7: ???
==2038== by 0x4265A46: getpwnam_r@@GLIBC_2.1.2 (getXXbyYY_r.c:256)
==2038== by 0x426547D: getpwnam (getXXbyYY.c:117)
==2038== by 0x80F0DF2: parseConfigFile(char const*) (cache_cf.cc:819)
==2038== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==2038== by 0x80DD62B: main (main.cc:1215)
==2038==
==2038== 176 bytes in 2 blocks are definitely lost in loss record 368 of 418
==2038== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==2038== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==2038== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==2038== by 0x82A4E82: MemAllocatorProxy::alloc() (MemPool.cc:355)
==2038== by 0x81ED205: acl_ip_data::FactoryParse(char const*) (Ip.h:66)
==2038== by 0x81EEC90: ACLIP::parse() (Ip.cc:523)
==2038== by 0x820836A: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==2038== by 0x80EEF27: parse_line(char*) (cache_cf.cc:1252)
==2038== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==2038== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==2038== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==2038==
==2038== 184 (40 direct, 144 indirect) bytes in 1 blocks are definitely lost in loss record 370 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x42AE54E: nss_parse_service_list (nsswitch.c:678)
==2038== by 0x42AECC9: __nss_database_lookup (nsswitch.c:175)
==2038== by 0x4773B74: ???
==2038== by 0x4263826: internal_getgrouplist (initgroups.c:114)
==2038== by 0x4263BAC: initgroups (initgroups.c:221)
==2038== by 0x81CF392: leave_suid (tools.cc:719)
==2038== by 0x80F145E: parseConfigFile(char const*) (cache_cf.cc:570)
==2038== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==2038== by 0x80DD62B: main (main.cc:1215)
==2038==
==2038== 516 bytes in 1 blocks are possibly lost in loss record 392 of 418
==2038== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==2038== by 0x82AA379: xmalloc (xalloc.cc:116)
==2038== by 0x82384CD: Vector<Kid>::reserve(unsigned int) (SquidNew.h:55)
==2038== by 0x8237D86: Kids::init() (Kids.cc:26)
==2038== by 0x818ADF8: SquidMain(int, char**) (main.cc:1707)
==2038== by 0x80DD62B: main (main.cc:1215)
==2038==
==2038== LEAK SUMMARY:
==2038== definitely lost: 256 bytes in 4 blocks
==2038== indirectly lost: 264 bytes in 22 blocks
==2038== possibly lost: 1,908 bytes in 51 blocks
==2038== still reachable: 334,473 bytes in 581 blocks
==2038== suppressed: 0 bytes in 0 blocks
==2038== Reachable blocks (those to which a pointer was found) are not shown.
==2038== To see them, rerun with: --leak-check=full --show-reachable=yes
==2038==
==2038== For counts of detected and suppressed errors, rerun with: -v
==2038== ERROR SUMMARY: 52 errors from 52 contexts (suppressed: 0 from 0)
==24600==
==24600== HEAP SUMMARY:
==24600== in use at exit: 327,116 bytes in 547 blocks
==24600== total heap usage: 919 allocs, 372 frees, 423,317 bytes allocated
==24600==
==24600== 56 (20 direct, 36 indirect) bytes in 1 blocks are definitely lost in loss record 198 of 309
==24600== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24600== by 0x82AA379: xmalloc (xalloc.cc:116)
==24600== by 0x8287D5B: Adaptation::Config::ParseAccess(ConfigParser&) (SquidNew.h:47)
==24600== by 0x80ECBBB: parse_line(char*) (cache_cf.cc:4185)
==24600== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24600== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==24600== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24600== by 0x80DD62B: main (main.cc:1215)
==24600==
==24600== 160 (40 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 269 of 309
==24600== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24600== by 0x42AE54E: nss_parse_service_list (nsswitch.c:678)
==24600== by 0x42AECC9: __nss_database_lookup (nsswitch.c:175)
==24600== by 0x4770168: ???
==24600== by 0x47718F7: ???
==24600== by 0x4265A46: getpwnam_r@@GLIBC_2.1.2 (getXXbyYY_r.c:256)
==24600== by 0x426547D: getpwnam (getXXbyYY.c:117)
==24600== by 0x80F0DF2: parseConfigFile(char const*) (cache_cf.cc:819)
==24600== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24600== by 0x80DD62B: main (main.cc:1215)
==24600==
==24600== 176 bytes in 2 blocks are definitely lost in loss record 274 of 309
==24600== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24600== by 0x82AA2DD: xcalloc (xalloc.cc:75)
==24600== by 0x82A655D: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==24600== by 0x82A421F: MemImplementingAllocator::alloc() (MemPool.cc:242)
==24600== by 0x82A4E82: MemAllocatorProxy::alloc() (MemPool.cc:355)
==24600== by 0x81ED205: acl_ip_data::FactoryParse(char const*) (Ip.h:66)
==24600== by 0x81EEC90: ACLIP::parse() (Ip.cc:523)
==24600== by 0x820836A: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==24600== by 0x80EEF27: parse_line(char*) (cache_cf.cc:1252)
==24600== by 0x80EFFBD: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==24600== by 0x80F089D: parseConfigFile(char const*) (cache_cf.cc:558)
==24600== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24600==
==24600== 184 (40 direct, 144 indirect) bytes in 1 blocks are definitely lost in loss record 276 of 309
==24600== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24600== by 0x42AE54E: nss_parse_service_list (nsswitch.c:678)
==24600== by 0x42AECC9: __nss_database_lookup (nsswitch.c:175)
==24600== by 0x4773B74: ???
==24600== by 0x4263826: internal_getgrouplist (initgroups.c:114)
==24600== by 0x4263BAC: initgroups (initgroups.c:221)
==24600== by 0x81CF392: leave_suid (tools.cc:719)
==24600== by 0x80F145E: parseConfigFile(char const*) (cache_cf.cc:570)
==24600== by 0x818A283: SquidMain(int, char**) (main.cc:1372)
==24600== by 0x80DD62B: main (main.cc:1215)
==24600==
==24600== LEAK SUMMARY:
==24600== definitely lost: 276 bytes in 5 blocks
==24600== indirectly lost: 300 bytes in 23 blocks
==24600== possibly lost: 0 bytes in 0 blocks
==24600== still reachable: 326,540 bytes in 519 blocks
==24600== suppressed: 0 bytes in 0 blocks
==24600== Reachable blocks (those to which a pointer was found) are not shown.
==24600== To see them, rerun with: --leak-check=full --show-reachable=yes
==24600==
==24600== For counts of detected and suppressed errors, rerun with: -v
==24600== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)

Revision history for this message
Alex Rousskov (rousskov) said :
#6

There is a lot of noise in that log, but I did not see any " definitely lost" entries related to the modifying adapter. All the entries I could find are related to mostly benign parsing/configuration leaks outside of the adapter. And the total loss is tiny. Please let me know if I missed any important entries.

If you need further help with this, please provide more evidence that (a) there is a leak and (b) it is inside the sample adapter code.

Revision history for this message
hostmaster (homyakov) said :
#7

valgrind --leak-check=full --log-file=memcheck.log --track-origins=yes /usr/local/squid/sbin/squid -f squid.conf -N

LEAK SUMMARY:
==29984== definitely lost: 213,424 bytes in 2,680 blocks
==29984== indirectly lost: 187,942,302 bytes in 250,449 blocks
==29984== possibly lost: 4,742,303 bytes in 866 blocks
==29984== still reachable: 868,459 bytes in 7,213 blocks
==29984== suppressed: 0 bytes in 0 blocks

Full report here https://gist.github.com/07e38300f7da8a31f783

Revision history for this message
Alex Rousskov (rousskov) said :
#8

This is much better, thank you. I found one "definitely lost" record mentioning the adapter itself:

==29984== 8,207,949 (3,776 direct, 8,204,173 indirect) bytes in 118 blocks are definitely lost in loss record 794 of 803
==29984== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==29984== by 0x82ACE59: xmalloc (xalloc.cc:116)
==29984== by 0x81A644E: operator new(unsigned int) (SquidNew.h:47)
==29984== by 0x40387F3: Adapter::Service::makeXaction(libecap::host::Xaction*) (adapter_modifying.cc:188)
==29984== by 0x829D135: Adaptation::Ecap::ServiceRep::makeXactLauncher(HttpMsg*, HttpRequest*) (ServiceRep.cc:174)
==29984== by 0x828E162: Adaptation::Iterator::step() (Iterator.cc:73)
==29984== by 0x828F384: Adaptation::Iterator::start() (Iterator.cc:44)
==29984== by 0x820FBF3: NullaryMemFunT<AsyncJob>::doDial() (AsyncJobCalls.h:101)
==29984== by 0x820FD45: JobDialer<AsyncJob>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==29984== by 0x820FEE1: AsyncCallT<NullaryMemFunT<AsyncJob> >::fire() (AsyncCall.h:142)

Squid seems to be losing the allocated Adapter transaction. It is difficult to say whether the adapter lost it, but given all other losses in your log, I am inclined to think that it was lost along with some Squid adaptation structures that link to it.

Do you see these losses being logged by valgrind while your test is running? If not, what do you do to get them logged?

Are there any transaction errors during the test?

Revision history for this message
hostmaster (homyakov) said :
#9

yes exactly. I saw that during my tests.

What kind of transaction errors do you mean ? I am not 100% sure but seems there were no extra errors during my tests.
I use "ab -X " as my perf test tools, it reported that all requests completed successfully.

Revision history for this message
hostmaster (homyakov) said :
#10

do you need any additional information ?
I was going to re-run that test with previous version off libecap. Does this make sense ?

Revision history for this message
Alex Rousskov (rousskov) said :
#11

Rerunning with a different Squid/libecap version changes two variables at once so it may not give us much new information, but it would not hurt.

Rerunning with a minimal adapter may be useful as well. If this is a Squid bug, it would be difficult to confirm just by running tests, without detailed cache.log analysis.

Revision history for this message
hostmaster (homyakov) said :
#12

If I understand you correctly you need my cache.log right ?

Revision history for this message
hostmaster (homyakov) said :
#13

I made some extra studies. I used valgrid and top. Top used to monitor memory utilization during tests.

Short summary
adapter_minimal - Ok
adapter_passthru - leak detected (valgrid found leaks, top showed memory utilization grows)
adapter_modifying - leak detected (valgrid found leaks, top showed memory utilization grows)

valgrind logs
adapter_minimal - http://db.tt/7LQ5xyjD
adapter_passthru - http://db.tt/gkRSsk1U
adapter_modifying - http://db.tt/8FetM3eB

squid-3.HEAD-20121018-r12399
libecap-0.2.0
ecap_adapter_sample-0.2.0

Revision history for this message
hostmaster (homyakov) said :
#14

I seems like the problem is only in respmod. reqmod is fine so far

Revision history for this message
Alex Rousskov (rousskov) said :
#15

> seems like the problem is only in respmod. reqmod is fine so far

Do you requests have bodies?

Revision history for this message
hostmaster (homyakov) said :
#16

I was wrong in my last comment. Memory utilization growed with reqmod elso.

I generated 50 000 PUT requests through adapter_modifying with trivial script

curl -x 127.0.0.1:2831 -T test.html http://nginx.dav.server/${RANDOM}.html

I had to comment out one line in adapter_modifying.cc because without Content-length nginx return 411 error.

Revision history for this message
Launchpad Janitor (janitor) said :
#17

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
hostmaster (homyakov) said :
#18

Is there a chance to get update on that ?

Revision history for this message
Alex Rousskov (rousskov) said :
#19

I suggest we convert this into a bug report so that it does not expire until somebody volunteers to triage your logs. Would you be willing to do that conversion and post the current summary with links to ALL,9 logs?

Revision history for this message
Launchpad Janitor (janitor) said :
#20

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Tom (web-l) said :
#21

Did this get converted to a bug report somewhere? If so, would someone please add a link here to the bug report? I'm now seeing a memory leak that seems related to ecap being enabled.

Revision history for this message
Alex Rousskov (rousskov) said :
#22

> Did this get converted to a bug report somewhere?

Not that I know of.

Revision history for this message
Tom (web-l) said :
#23

I just confirmed that I see memory growth with adapter_passthru.cc and adapter_modifying.cc on 3.2.5 (libecap & ecap_adapter_sample 0.2.0) so I started a thread on the squid developer mailing list which I think everyone could see with this link:

http://squid-web-proxy-cache.1019090.n4.nabble.com/memory-leak-associated-w-running-any-ecap-adapter-td4657812.html