Re: [squid-users] squid 2.7 ... memory leak?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 12 Oct 2011 10:59:09 +1300

 On Wed, 12 Oct 2011 01:32:00 +0800, jiluspo wrote:
> (valgrind --tool=memcheck --leak-check=yes squid -Nd1)
> 2011/10/12 01:25:38| Asking valgrind for memleaks
> ==9877== 36 bytes in 1 blocks are definitely lost in loss record 606
> of
> 1,292
> ==9877== at 0x4026864: malloc (vg_replace_malloc.c:236)
> ==9877== by 0x407BFD5: cap_init (in /lib/libcap.so.2.20)
> ==9877== by 0x407C0FB: cap_get_proc (in /lib/libcap.so.2.20)
> ==9877== by 0x80C651B: restoreCapabilities (tools.c:1367)
> ==9877== by 0x80C72FA: leave_suid (tools.c:644)
> ==9877== by 0x809DB9F: setEffectiveUser (main.c:500)
> ==9877== by 0x809E835: main (main.c:549)
> ==9877==
 <snip>
> does anybody care to explain why 36 bytes appeared?

 This is a leak in your /lib/libcap.so.2.20 library.

 Amos
Received on Tue Oct 11 2011 - 21:59:12 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 12 2011 - 12:00:02 MDT