Re: [squid-users] Valgrind results on 3.2.1

From: <tcr_at_raynersw.com>
Date: Thu, 27 Sep 2012 01:04:34 -0700

Here is what valgrind has printed out so far. Nothing major... only ~25KB identified by valgrind as leaks so far.

==26647== Memcheck, a memory error detector
==26647== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==26647== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info
==26647== Command: squid -N -f /etc/squid/squid.conf
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D2D: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x52B9C7: HttpHdrCc::parse(String const&) (HttpHdrCc.cc:121)
==26647== by 0x5353B4: HttpHeader::getCc() const (HttpHeader.cc:1344)
==26647== by 0x537C38: HttpMsg::hdrCacheInit() (HttpMsg.cc:345)
==26647== by 0x539961: HttpReply::hdrCacheInit() (HttpReply.cc:379)
==26647== by 0x53800C: HttpMsg::httpMsgParseStep(char const*, int, int) (HttpMsg.cc:290)
==26647== by 0x538292: HttpMsg::parse(MemBuf*, bool, http_status*) (HttpMsg.cc:181)
==26647== by 0x5262F5: HttpStateData::processReplyHeader() (http.cc:654)
==26647== by 0x5268BF: HttpStateData::processReply() (http.cc:1162)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== Address 0x9197b48 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x530A4C: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1503)
==26647== by 0x530BC9: HttpHeaderEntry::clone() const (HttpHeader.cc:1614)
==26647== by 0x532DDF: HttpHeader::append(HttpHeader const*) (HttpHeader.cc:484)
==26647== by 0x53A45F: HttpReply::clone() const (HttpReply.cc:615)
==26647== by 0x4D1A1B: clientReplyContext::cloneReply() (client_side_reply.cc:1515)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D44: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x51FA07: httpMakeVaryMark (http.cc:538)
==26647== by 0x5216D7: HttpStateData::haveParsedReplyHeaders() (http.cc:873)
==26647== by 0x584FB9: ServerStateData::setFinalReply(HttpReply*) (Server.cc:172)
==26647== by 0x526927: HttpStateData::processReply() (http.cc:1168)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== by 0x5E29C2: AsyncCall::make() (AsyncCall.cc:36)
==26647== by 0x5E532A: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:54)
==26647== by 0x5E54BF: AsyncCallQueue::fire() (AsyncCallQueue.cc:40)
==26647== by 0x4EF53B: EventLoop::runOnce() (EventLoop.cc:131)
==26647== Address 0x95be318 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D6BD: String::operator=(String const&) (String.cc:94)
==26647== by 0x530A3D: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1499)
==26647== by 0x530BC9: HttpHeaderEntry::clone() const (HttpHeader.cc:1614)
==26647== by 0x532DDF: HttpHeader::append(HttpHeader const*) (HttpHeader.cc:484)
==26647== by 0x53A45F: HttpReply::clone() const (HttpReply.cc:615)
==26647== by 0x4D1A1B: clientReplyContext::cloneReply() (client_side_reply.cc:1515)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D44: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x52B9C7: HttpHdrCc::parse(String const&) (HttpHdrCc.cc:121)
==26647== by 0x5353B4: HttpHeader::getCc() const (HttpHeader.cc:1344)
==26647== by 0x537C38: HttpMsg::hdrCacheInit() (HttpMsg.cc:345)
==26647== by 0x539961: HttpReply::hdrCacheInit() (HttpReply.cc:379)
==26647== by 0x53800C: HttpMsg::httpMsgParseStep(char const*, int, int) (HttpMsg.cc:290)
==26647== by 0x538292: HttpMsg::parse(MemBuf*, bool, http_status*) (HttpMsg.cc:181)
==26647== by 0x5262F5: HttpStateData::processReplyHeader() (http.cc:654)
==26647== by 0x5268BF: HttpStateData::processReply() (http.cc:1162)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== Address 0x97efdd8 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x530A4C: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1503)
==26647== by 0x530BC9: HttpHeaderEntry::clone() const (HttpHeader.cc:1614)
==26647== by 0x532DDF: HttpHeader::append(HttpHeader const*) (HttpHeader.cc:484)
==26647== by 0x53A45F: HttpReply::clone() const (HttpReply.cc:615)
==26647== by 0x4D1A1B: clientReplyContext::cloneReply() (client_side_reply.cc:1515)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D2D: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x51FA07: httpMakeVaryMark (http.cc:538)
==26647== by 0x5216D7: HttpStateData::haveParsedReplyHeaders() (http.cc:873)
==26647== by 0x584FB9: ServerStateData::setFinalReply(HttpReply*) (Server.cc:172)
==26647== by 0x526927: HttpStateData::processReply() (http.cc:1168)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== by 0x5E29C2: AsyncCall::make() (AsyncCall.cc:36)
==26647== by 0x5E532A: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:54)
==26647== by 0x5E54BF: AsyncCallQueue::fire() (AsyncCallQueue.cc:40)
==26647== by 0x4EF53B: EventLoop::runOnce() (EventLoop.cc:131)
==26647== Address 0xd009218 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x530A4C: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1503)
==26647== by 0x530BC9: HttpHeaderEntry::clone() const (HttpHeader.cc:1614)
==26647== by 0x532DDF: HttpHeader::append(HttpHeader const*) (HttpHeader.cc:484)
==26647== by 0x53A45F: HttpReply::clone() const (HttpReply.cc:615)
==26647== by 0x4D1A1B: clientReplyContext::cloneReply() (client_side_reply.cc:1515)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D2D: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x536153: strListIsMember (HttpHeaderTools.cc:183)
==26647== by 0x536244: httpHeaderHasConnDir (HttpHeaderTools.cc:165)
==26647== by 0x537CDB: HttpMsg::persistent() const (HttpMsg.cc:327)
==26647== by 0x5399D1: HttpReply::hdrCacheInit() (HttpReply.cc:387)
==26647== by 0x53800C: HttpMsg::httpMsgParseStep(char const*, int, int) (HttpMsg.cc:290)
==26647== by 0x538292: HttpMsg::parse(MemBuf*, bool, http_status*) (HttpMsg.cc:181)
==26647== by 0x5262F5: HttpStateData::processReplyHeader() (http.cc:654)
==26647== by 0x5268BF: HttpStateData::processReply() (http.cc:1162)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== Address 0x14537a98 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D6BD: String::operator=(String const&) (String.cc:94)
==26647== by 0x530A3D: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1499)
==26647== by 0x53269C: HttpHeader::putStr(http_hdr_type, char const*) (HttpHeader.cc:1155)
==26647== by 0x4D1217: clientReplyContext::buildReplyHeader() (client_side_reply.cc:1484)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647== by 0x57743C: store_client::callback(long, bool) (store_client.cc:165)
==26647== by 0x5778A4: store_client::scheduleMemRead() (store_client.cc:454)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D2D: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x536153: strListIsMember (HttpHeaderTools.cc:183)
==26647== by 0x535568: HttpHeader::removeConnectionHeaderEntries() (HttpHeader.cc:1891)
==26647== by 0x5355E0: HttpHeader::removeHopByHopEntries() (HttpHeader.cc:1856)
==26647== by 0x4D0EE3: clientReplyContext::buildReplyHeader() (client_side_reply.cc:1265)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647== by 0x57743C: store_client::callback(long, bool) (store_client.cc:165)
==26647== by 0x5778A4: store_client::scheduleMemRead() (store_client.cc:454)
==26647== by 0x577CEA: store_client::doCopy(StoreEntry*) (store_client.cc:383)
==26647== by 0x577FA5: storeClientCopy2(StoreEntry*, store_client*) (store_client.cc:337)
==26647== by 0x5781A2: StoreEntry::invokeHandlers() (store_client.cc:770)
==26647== Address 0x16acf8c8 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x530A4C: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1503)
==26647== by 0x530BC9: HttpHeaderEntry::clone() const (HttpHeader.cc:1614)
==26647== by 0x532DDF: HttpHeader::append(HttpHeader const*) (HttpHeader.cc:484)
==26647== by 0x53A45F: HttpReply::clone() const (HttpReply.cc:615)
==26647== by 0x4D1A1B: clientReplyContext::cloneReply() (client_side_reply.cc:1515)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D44: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x536153: strListIsMember (HttpHeaderTools.cc:183)
==26647== by 0x536244: httpHeaderHasConnDir (HttpHeaderTools.cc:165)
==26647== by 0x537CDB: HttpMsg::persistent() const (HttpMsg.cc:327)
==26647== by 0x5399D1: HttpReply::hdrCacheInit() (HttpReply.cc:387)
==26647== by 0x53800C: HttpMsg::httpMsgParseStep(char const*, int, int) (HttpMsg.cc:290)
==26647== by 0x538292: HttpMsg::parse(MemBuf*, bool, http_status*) (HttpMsg.cc:181)
==26647== by 0x5262F5: HttpStateData::processReplyHeader() (http.cc:654)
==26647== by 0x5268BF: HttpStateData::processReply() (http.cc:1162)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== Address 0x1702d388 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x530A4C: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1503)
==26647== by 0x530BC9: HttpHeaderEntry::clone() const (HttpHeader.cc:1614)
==26647== by 0x532DDF: HttpHeader::append(HttpHeader const*) (HttpHeader.cc:484)
==26647== by 0x53A45F: HttpReply::clone() const (HttpReply.cc:615)
==26647== by 0x4D1A1B: clientReplyContext::cloneReply() (client_side_reply.cc:1515)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D44: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x536153: strListIsMember (HttpHeaderTools.cc:183)
==26647== by 0x535568: HttpHeader::removeConnectionHeaderEntries() (HttpHeader.cc:1891)
==26647== by 0x5355E0: HttpHeader::removeHopByHopEntries() (HttpHeader.cc:1856)
==26647== by 0x4D0EE3: clientReplyContext::buildReplyHeader() (client_side_reply.cc:1265)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647== by 0x57743C: store_client::callback(long, bool) (store_client.cc:165)
==26647== by 0x5778A4: store_client::scheduleMemRead() (store_client.cc:454)
==26647== by 0x577CEA: store_client::doCopy(StoreEntry*) (store_client.cc:383)
==26647== by 0x577FA5: storeClientCopy2(StoreEntry*, store_client*) (store_client.cc:337)
==26647== by 0x5781A2: StoreEntry::invokeHandlers() (store_client.cc:770)
==26647== Address 0x1702cdd8 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x530A4C: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1503)
==26647== by 0x534342: HttpHeaderEntry::parse(char const*, char const*) (HttpHeader.cc:1608)
==26647== by 0x53498A: HttpHeader::parse(char const*, char const*) (HttpHeader.cc:624)
==26647== by 0x537FFF: HttpMsg::httpMsgParseStep(char const*, int, int) (HttpMsg.cc:285)
==26647== by 0x538292: HttpMsg::parse(MemBuf*, bool, http_status*) (HttpMsg.cc:181)
==26647== by 0x5262F5: HttpStateData::processReplyHeader() (http.cc:654)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D2D: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x51FA07: httpMakeVaryMark (http.cc:538)
==26647== by 0x5740D2: StoreEntry::setPublicKey() (store.cc:738)
==26647== by 0x521968: HttpStateData::haveParsedReplyHeaders() (http.cc:895)
==26647== by 0x584FB9: ServerStateData::setFinalReply(HttpReply*) (Server.cc:172)
==26647== by 0x526927: HttpStateData::processReply() (http.cc:1168)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== by 0x5E29C2: AsyncCall::make() (AsyncCall.cc:36)
==26647== by 0x5E532A: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:54)
==26647== by 0x5E54BF: AsyncCallQueue::fire() (AsyncCallQueue.cc:40)
==26647== Address 0x8403798 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D6BD: String::operator=(String const&) (String.cc:94)
==26647== by 0x530A3D: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1499)
==26647== by 0x530BC9: HttpHeaderEntry::clone() const (HttpHeader.cc:1614)
==26647== by 0x532DDF: HttpHeader::append(HttpHeader const*) (HttpHeader.cc:484)
==26647== by 0x53A45F: HttpReply::clone() const (HttpReply.cc:615)
==26647== by 0x4D1A1B: clientReplyContext::cloneReply() (client_side_reply.cc:1515)
==26647== by 0x4D1DDA: clientReplyContext::sendMoreData(StoreIOBuffer) (client_side_reply.cc:2117)
==26647==
==26647== Invalid read of size 8
==26647== at 0x6CE3D44: __strspn_sse42 (in /lib64/libc-2.12.so)
==26647== by 0x535F79: strListGetItem (HttpHeaderTools.cc:259)
==26647== by 0x51FA07: httpMakeVaryMark (http.cc:538)
==26647== by 0x5740D2: StoreEntry::setPublicKey() (store.cc:738)
==26647== by 0x521968: HttpStateData::haveParsedReplyHeaders() (http.cc:895)
==26647== by 0x584FB9: ServerStateData::setFinalReply(HttpReply*) (Server.cc:172)
==26647== by 0x526927: HttpStateData::processReply() (http.cc:1168)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== by 0x5E29C2: AsyncCall::make() (AsyncCall.cc:36)
==26647== by 0x5E532A: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:54)
==26647== by 0x5E54BF: AsyncCallQueue::fire() (AsyncCallQueue.cc:40)
==26647== Address 0xfe684b8 is 0 bytes after a block of size 40 alloc'd
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x530A4C: HttpHeaderEntry::HttpHeaderEntry(http_hdr_type, char const*, char const*) (HttpHeader.cc:1503)
==26647== by 0x533547: HttpHeader::putCc(HttpHdrCc const*) (HttpHeader.cc:1178)
==26647== by 0x52041C: HttpStateData::httpBuildRequestHeader(HttpRequest*, StoreEntry*, RefCount<AccessLogEntry> const&, HttpHeader*, _http_state_flags) (http.cc:1760)
==26647== by 0x520D71: HttpStateData::buildRequestPrefix(MemBuf*) (http.cc:2007)
==26647== by 0x5259B9: HttpStateData::sendRequest() (http.cc:2112)
==26647== by 0x525E08: HttpStateData::start() (http.cc:2165)
==26647==
==26647== 40 bytes in 1 blocks are possibly lost in loss record 440 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x58A991: ProcessRoles() (tools.cc:874)
==26647== by 0x546227: mainInitialize() (main.cc:989)
==26647== by 0x546EC7: SquidMain(int, char**) (main.cc:1459)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 96 bytes in 1 blocks are definitely lost in loss record 828 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x5AA7C0: acl_ip_data::FactoryParse(char const*) (Ip.cc:436)
==26647== by 0x5AA8BD: ACLIP::parse() (Ip.cc:523)
==26647== by 0x5E0A80: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==26647== by 0x4B0C0F: parse_line(char*) (cache_cf.cc:1252)
==26647== by 0x4B2076: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==26647== by 0x4B29D0: parseConfigFile(char const*) (cache_cf.cc:558)
==26647== by 0x546B81: SquidMain(int, char**) (main.cc:1372)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 136 bytes in 1 blocks are possibly lost in loss record 902 of 1,726
==26647== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==26647== by 0x65B3B7: xmalloc (xalloc.cc:116)
==26647== by 0x5B3586: Vector<RefCount<Auth::Scheme> >::reserve(unsigned long) (SquidNew.h:55)
==26647== by 0x5B3264: Auth::Scheme::AddScheme(RefCount<Auth::Scheme>) (Array.h:197)
==26647== by 0x5B902C: Auth::Basic::Scheme::GetInstance() (Scheme.cc:47)
==26647== by 0x4A42D9: Auth::Init() (AuthReg.cc:30)
==26647== by 0x546B6B: SquidMain(int, char**) (main.cc:1366)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 192 bytes in 1 blocks are possibly lost in loss record 932 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x55A289: peerSelectDnsResults(_ipcache_addrs const*, DnsLookupDetails const&, void*) (Connection.h:166)
==26647== by 0x543900: ipcacheCallback(ipcache_entry*, int) (ipcache.cc:349)
==26647== by 0x543CC8: ipcache_nbgethostbyname(char const*, void (*)(_ipcache_addrs const*, DnsLookupDetails const&, void*), void*) (ipcache.cc:685)
==26647== by 0x557DA1: peerSelectDnsPaths(ps_state*) (peer_select.cc:268)
==26647== by 0x558A88: peerSelectFoo(ps_state*) (peer_select.cc:511)
==26647== by 0x4F7ACE: FwdState::Start(RefCount<Comm::Connection> const&, StoreEntry*, HttpRequest*, RefCount<AccessLogEntry> const&) (forward.cc:318)
==26647== by 0x4D2864: clientReplyContext::processExpired() (client_side_reply.cc:280)
==26647== by 0x4D475E: clientReplyContext::cacheHit(StoreIOBuffer) (client_side_reply.cc:561)
==26647== by 0x57743C: store_client::callback(long, bool) (store_client.cc:165)
==26647==
==26647== 192 bytes in 1 blocks are possibly lost in loss record 933 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x640BB4: Comm::TcpAcceptor::acceptOne() (Connection.h:166)
==26647== by 0x641417: Comm::TcpAcceptor::acceptNext() (TcpAcceptor.cc:264)
==26647== by 0x64183F: Comm::TcpAcceptor::doAccept(int, void*) (TcpAcceptor.cc:196)
==26647== by 0x63EFF5: Comm::DoSelect(int) (ModEpoll.cc:301)
==26647== by 0x5EC74D: CommSelectEngine::checkEvents(int) (comm.cc:2069)
==26647== by 0x4EF3C3: EventLoop::checkEngine(AsyncEngine*, bool) (EventLoop.cc:51)
==26647== by 0x4EF524: EventLoop::runOnce() (EventLoop.cc:125)
==26647== by 0x4EF607: EventLoop::run() (EventLoop.cc:95)
==26647== by 0x546F87: SquidMain(int, char**) (main.cc:1500)
==26647==
==26647== 200 bytes in 5 blocks are possibly lost in loss record 942 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x535CB1: httpHeaderBuildFieldsInfo (HttpHeaderTools.cc:69)
==26647== by 0x52E152: httpHdrScInitModule() (HttpHdrSc.cc:87)
==26647== by 0x53057A: httpHeaderInitModule (HttpHeader.cc:358)
==26647== by 0x545EC2: mainInitialize() (main.cc:1028)
==26647== by 0x546EC7: SquidMain(int, char**) (main.cc:1459)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 288 bytes in 1 blocks are possibly lost in loss record 1,091 of 1,726
==26647== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==26647== by 0x65B3B7: xmalloc (xalloc.cc:116)
==26647== by 0x535BEE: httpHeaderBuildFieldsInfo (SquidNew.h:55)
==26647== by 0x52E152: httpHdrScInitModule() (HttpHdrSc.cc:87)
==26647== by 0x53057A: httpHeaderInitModule (HttpHeader.cc:358)
==26647== by 0x545EC2: mainInitialize() (main.cc:1028)
==26647== by 0x546EC7: SquidMain(int, char**) (main.cc:1459)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 384 bytes in 4 blocks are definitely lost in loss record 1,132 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x5A95B1: acl_ip_data::FactoryParse(char const*) (Ip.h:66)
==26647== by 0x5AA8BD: ACLIP::parse() (Ip.cc:523)
==26647== by 0x5E0A80: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==26647== by 0x4B0C0F: parse_line(char*) (cache_cf.cc:1252)
==26647== by 0x4B2076: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==26647== by 0x4B29D0: parseConfigFile(char const*) (cache_cf.cc:558)
==26647== by 0x546B81: SquidMain(int, char**) (main.cc:1372)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 416 bytes in 26 blocks are definitely lost in loss record 1,142 of 1,726
==26647== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==26647== by 0x65B3B7: xmalloc (xalloc.cc:116)
==26647== by 0x63B0FF: Comm::ConnOpener::connect() (SquidNew.h:47)
==26647== by 0x63B9F3: Comm::ConnOpener::start() (ConnOpener.cc:189)
==26647== by 0x5E4DA3: JobDialer<AsyncJob>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== by 0x5E29C2: AsyncCall::make() (AsyncCall.cc:36)
==26647== by 0x5E532A: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:54)
==26647== by 0x5E54BF: AsyncCallQueue::fire() (AsyncCallQueue.cc:40)
==26647== by 0x4EF53B: EventLoop::runOnce() (EventLoop.cc:131)
==26647== by 0x4EF607: EventLoop::run() (EventLoop.cc:95)
==26647== by 0x546F87: SquidMain(int, char**) (main.cc:1500)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 1,344 bytes in 7 blocks are possibly lost in loss record 1,268 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x5ECBD3: comm_openex (Connection.h:166)
==26647== by 0x63BB40: Comm::ConnOpener::start() (ConnOpener.cc:164)
==26647== by 0x5E4DA3: JobDialer<AsyncJob>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== by 0x5E29C2: AsyncCall::make() (AsyncCall.cc:36)
==26647== by 0x5E532A: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:54)
==26647== by 0x5E54BF: AsyncCallQueue::fire() (AsyncCallQueue.cc:40)
==26647== by 0x4EF53B: EventLoop::runOnce() (EventLoop.cc:131)
==26647== by 0x4EF607: EventLoop::run() (EventLoop.cc:95)
==26647== by 0x546F87: SquidMain(int, char**) (main.cc:1500)
==26647==
==26647== 1,904 bytes in 14 blocks are possibly lost in loss record 1,299 of 1,726
==26647== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==26647== by 0x65B3B7: xmalloc (xalloc.cc:116)
==26647== by 0x4FBDE6: Vector<RefCount<Comm::Connection> >::reserve(unsigned long) (SquidNew.h:55)
==26647== by 0x55A76D: Vector<RefCount<Comm::Connection> >::push_back(RefCount<Comm::Connection>) (Array.h:197)
==26647== by 0x55A3E9: peerSelectDnsResults(_ipcache_addrs const*, DnsLookupDetails const&, void*) (peer_select.cc:364)
==26647== by 0x543900: ipcacheCallback(ipcache_entry*, int) (ipcache.cc:349)
==26647== by 0x543CC8: ipcache_nbgethostbyname(char const*, void (*)(_ipcache_addrs const*, DnsLookupDetails const&, void*), void*) (ipcache.cc:685)
==26647== by 0x557DA1: peerSelectDnsPaths(ps_state*) (peer_select.cc:268)
==26647== by 0x558A88: peerSelectFoo(ps_state*) (peer_select.cc:511)
==26647== by 0x58D917: tunnelStart (tunnel.cc:665)
==26647== by 0x4D770A: ClientHttpRequest::doCallouts() (client_side_request.cc:1604)
==26647== by 0x4D8F2E: ClientRequestContext::clientAccessCheckDone(allow_t const&) (client_side_request.cc:842)
==26647==
==26647== 2,176 bytes in 16 blocks are possibly lost in loss record 1,319 of 1,726
==26647== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==26647== by 0x65B3B7: xmalloc (xalloc.cc:116)
==26647== by 0x4FBDE6: Vector<RefCount<Comm::Connection> >::reserve(unsigned long) (SquidNew.h:55)
==26647== by 0x4F7895: FwdState::FwdState(RefCount<Comm::Connection> const&, StoreEntry*, HttpRequest*, RefCount<AccessLogEntry> const&) (forward.cc:109)
==26647== by 0x4F7A82: FwdState::Start(RefCount<Comm::Connection> const&, StoreEntry*, HttpRequest*, RefCount<AccessLogEntry> const&) (forward.cc:317)
==26647== by 0x4D2C5C: clientReplyContext::processMiss() (client_side_reply.cc:665)
==26647== by 0x4D5614: ClientHttpRequest::httpStart() (client_side_request.cc:1358)
==26647== by 0x4D770A: ClientHttpRequest::doCallouts() (client_side_request.cc:1604)
==26647== by 0x4D81C4: checkNoCacheDoneWrapper(allow_t, void*) (client_side_request.cc:1271)
==26647== by 0x5E1441: ACLChecklist::checkCallback(allow_t) (Checklist.cc:194)
==26647== by 0x5B1FA4: ACLFilledChecklist::checkCallback(allow_t) (FilledChecklist.cc:37)
==26647== by 0x4D8170: ClientRequestContext::checkNoCache() (client_side_request.cc:1256)
==26647==
==26647== 2,664 bytes in 37 blocks are possibly lost in loss record 1,334 of 1,726
==26647== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==26647== by 0x65B3B7: xmalloc (xalloc.cc:116)
==26647== by 0x5529E6: IdleConnList::IdleConnList(char const*, PconnPool*) (SquidNew.h:55)
==26647== by 0x553CA6: PconnPool::push(RefCount<Comm::Connection> const&, char const*) (pconn.cc:412)
==26647== by 0x526203: HttpStateData::processReplyBody() (http.cc:1392)
==26647== by 0x526B19: HttpStateData::readReply(CommIoCbParams const&) (http.cc:1145)
==26647== by 0x5288FA: JobDialer<HttpStateData>::dial(AsyncCall&) (AsyncJobCalls.h:175)
==26647== by 0x5E29C2: AsyncCall::make() (AsyncCall.cc:36)
==26647== by 0x5E532A: AsyncCallQueue::fireNext() (AsyncCallQueue.cc:54)
==26647== by 0x5E54BF: AsyncCallQueue::fire() (AsyncCallQueue.cc:40)
==26647== by 0x4EF53B: EventLoop::runOnce() (EventLoop.cc:131)
==26647== by 0x4EF607: EventLoop::run() (EventLoop.cc:95)
==26647==
==26647== 2,960 bytes in 74 blocks are possibly lost in loss record 1,340 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x56D116: String::allocBuffer(unsigned long) (String.cc:56)
==26647== by 0x56D3A5: String::allocAndFill(char const*, int) (String.cc:131)
==26647== by 0x56D458: String::operator=(char const*) (String.cc:85)
==26647== by 0x535CB1: httpHeaderBuildFieldsInfo (HttpHeaderTools.cc:69)
==26647== by 0x5305CE: httpHeaderInitModule (HttpHeader.cc:313)
==26647== by 0x545EC2: mainInitialize() (main.cc:1028)
==26647== by 0x546EC7: SquidMain(int, char**) (main.cc:1459)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 3,072 bytes in 16 blocks are possibly lost in loss record 1,342 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x55A289: peerSelectDnsResults(_ipcache_addrs const*, DnsLookupDetails const&, void*) (Connection.h:166)
==26647== by 0x543900: ipcacheCallback(ipcache_entry*, int) (ipcache.cc:349)
==26647== by 0x543CC8: ipcache_nbgethostbyname(char const*, void (*)(_ipcache_addrs const*, DnsLookupDetails const&, void*), void*) (ipcache.cc:685)
==26647== by 0x557DA1: peerSelectDnsPaths(ps_state*) (peer_select.cc:268)
==26647== by 0x558A88: peerSelectFoo(ps_state*) (peer_select.cc:511)
==26647== by 0x4F7ACE: FwdState::Start(RefCount<Comm::Connection> const&, StoreEntry*, HttpRequest*, RefCount<AccessLogEntry> const&) (forward.cc:318)
==26647== by 0x4D2C5C: clientReplyContext::processMiss() (client_side_reply.cc:665)
==26647== by 0x4D5614: ClientHttpRequest::httpStart() (client_side_request.cc:1358)
==26647== by 0x4D770A: ClientHttpRequest::doCallouts() (client_side_request.cc:1604)
==26647==
==26647== 4,208 bytes in 1 blocks are possibly lost in loss record 1,377 of 1,726
==26647== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==26647== by 0x65B3B7: xmalloc (xalloc.cc:116)
==26647== by 0x535BEE: httpHeaderBuildFieldsInfo (SquidNew.h:55)
==26647== by 0x5305CE: httpHeaderInitModule (HttpHeader.cc:313)
==26647== by 0x545EC2: mainInitialize() (main.cc:1028)
==26647== by 0x546EC7: SquidMain(int, char**) (main.cc:1459)
==26647== by 0x547445: main (main.cc:1215)
==26647==
==26647== 4,800 bytes in 25 blocks are possibly lost in loss record 1,387 of 1,726
==26647== at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647== by 0x65B441: xcalloc (xalloc.cc:75)
==26647== by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647== by 0x55A289: peerSelectDnsResults(_ipcache_addrs const*, DnsLookupDetails const&, void*) (Connection.h:166)
==26647== by 0x543900: ipcacheCallback(ipcache_entry*, int) (ipcache.cc:349)
==26647== by 0x543CC8: ipcache_nbgethostbyname(char const*, void (*)(_ipcache_addrs const*, DnsLookupDetails const&, void*), void*) (ipcache.cc:685)
==26647== by 0x557DA1: peerSelectDnsPaths(ps_state*) (peer_select.cc:268)
==26647== by 0x558A88: peerSelectFoo(ps_state*) (peer_select.cc:511)
==26647== by 0x58D917: tunnelStart (tunnel.cc:665)
==26647== by 0x4D770A: ClientHttpRequest::doCallouts() (client_side_request.cc:1604)
==26647== by 0x4D8F2E: ClientRequestContext::clientAccessCheckDone(allow_t const&) (client_side_request.cc:842)
==26647== by 0x4D90F7: ClientRequestContext::clientAccessCheck2() (client_side_request.cc:735)
==26647==
==26647== LEAK SUMMARY:
==26647== definitely lost: 896 bytes in 31 blocks
==26647== indirectly lost: 0 bytes in 0 blocks
==26647== possibly lost: 24,176 bytes in 200 blocks
==26647== still reachable: 325,406,108 bytes in 894,930 blocks
==26647== suppressed: 0 bytes in 0 blocks
==26647== Reachable blocks (those to which a pointer was found) are not shown.
==26647== To see them, rerun with: --leak-check=full --show-reachable=yes
Received on Thu Sep 27 2012 - 08:04:36 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 27 2012 - 12:00:13 MDT