[squid-dev] Trunk profusely leaks memory

Alex Rousskov rousskov at measurement-factory.com
Tue Feb 23 18:02:15 UTC 2016


On 02/23/2016 07:38 AM, Amos Jeffries wrote:
> On 20/02/2016 1:08 p.m., Alex Rousskov wrote:
>>> ==8921==    definitely lost: 1,794,688 bytes in 4,058 blocks


>> If these leaks are related to something you have done, please fix. If
>> you can find the commit that created these leaks, please do.


> FYI: I think these are related to compiler optimization or version
> differences. The leak is not reproducible on buildmaster which has GCC
> 4.8, but is on my VM with GCC 5 using the same build options.

FWIW, the above valgrind report was captured after configuring Squid
trunk with --disable-optimizations and building it using GCC v4.8.2.

I do not not know whether they are relevant, but the complete
configuration options are:

./configure \
        --enable-icap-client \
        --enable-ecap \
        --enable-ssl \
        --enable-ssl-crtd \
        --with-openssl \
        \
        --enable-delay-pools \
        \
        --disable-optimizations \
        --disable-translation \
        --with-valgrind-debug


HTH,

Alex.



More information about the squid-dev mailing list