Re: [squid-users] Slow memory leak

From: <tcr_at_raynersw.com>
Date: Wed, 26 Sep 2012 16:36:23 -0700

Running into a problem.

Installed valgrind and valgrind-devel packages via yum.

Tried to build squid with:

./configure --prefix=/usr/local/squid --with-valgrind-debug --sysconfdir=/etc/squid --with-logdir=/var/log/squid --with-pidfile=/var/run/squid.pid --with-swapdir=/srv/proxy/cache --enable-ltdl-convenience

Failed with:

checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
configure: error: Valgrind support requested, needed headers not found.

And yet the headers are there, in /usr/include:

[stdop_at_who squid-3.2.1]$ ll /usr/include/valgrind/
total 844
-rw-r--r--. 1 root root 6881 Jun 22 09:35 callgrind.h
-rw-r--r--. 1 root root 19758 Jun 22 09:35 drd.h
-rw-r--r--. 1 root root 32655 Jun 22 09:35 helgrind.h
-rw-r--r--. 1 root root 5521 Jun 22 09:35 libvex_basictypes.h
-rw-r--r--. 1 root root 3440 Jun 22 09:35 libvex_emwarn.h
-rw-r--r--. 1 root root 8134 Jun 22 09:35 libvex_guest_amd64.h
-rw-r--r--. 1 root root 7933 Jun 22 09:35 libvex_guest_arm.h
-rw-r--r--. 1 root root 129 Jun 22 09:35 libvex_guest_offsets.h
-rw-r--r--. 1 root root 2197 Jun 22 09:35 libvex_guest_offsets-x86_64.h
-rw-r--r--. 1 root root 10485 Jun 22 09:35 libvex_guest_ppc32.h
-rw-r--r--. 1 root root 12141 Jun 22 09:35 libvex_guest_ppc64.h
-rw-r--r--. 1 root root 6460 Jun 22 09:35 libvex_guest_s390x.h
-rw-r--r--. 1 root root 11268 Jun 22 09:35 libvex_guest_x86.h
-rw-r--r--. 1 root root 24721 Jun 22 09:35 libvex.h
-rw-r--r--. 1 root root 86681 Jun 22 09:35 libvex_ir.h
-rw-r--r--. 1 root root 3576 Jun 22 09:35 libvex_trc_values.h
-rw-r--r--. 1 root root 13372 Jun 22 09:35 memcheck.h
-rw-r--r--. 1 root root 1796 Jun 22 09:35 pub_tool_aspacehl.h
-rw-r--r--. 1 root root 5527 Jun 22 09:35 pub_tool_aspacemgr.h
-rw-r--r--. 1 root root 2650 Jun 22 09:35 pub_tool_basics_asm.h
-rw-r--r--. 1 root root 11613 Jun 22 09:35 pub_tool_basics.h
-rw-r--r--. 1 root root 2603 Jun 22 09:35 pub_tool_clientstate.h
-rw-r--r--. 1 root root 1484 Jun 22 09:35 pub_tool_clreq.h
-rw-r--r--. 1 root root 1697 Jun 22 09:35 pub_tool_cpuid.h
-rw-r--r--. 1 root root 11063 Jun 22 09:35 pub_tool_debuginfo.h
-rw-r--r--. 1 root root 5876 Jun 22 09:35 pub_tool_errormgr.h
-rw-r--r--. 1 root root 4782 Jun 22 09:35 pub_tool_execontext.h
-rw-r--r--. 1 root root 4167 Jun 22 09:35 pub_tool_hashtable.h
-rw-r--r--. 1 root root 2892 Jun 22 09:35 pub_tool_libcassert.h
-rw-r--r--. 1 root root 8854 Jun 22 09:35 pub_tool_libcbase.h
-rw-r--r--. 1 root root 3724 Jun 22 09:35 pub_tool_libcfile.h
-rw-r--r--. 1 root root 6070 Jun 22 09:35 pub_tool_libcprint.h
-rw-r--r--. 1 root root 3672 Jun 22 09:35 pub_tool_libcproc.h
-rw-r--r--. 1 root root 1887 Jun 22 09:35 pub_tool_libcsignal.h
-rw-r--r--. 1 root root 7282 Jun 22 09:35 pub_tool_machine.h
-rw-r--r--. 1 root root 2520 Jun 22 09:35 pub_tool_mallocfree.h
-rw-r--r--. 1 root root 7233 Jun 22 09:35 pub_tool_options.h
-rw-r--r--. 1 root root 12326 Jun 22 09:35 pub_tool_oset.h
-rw-r--r--. 1 root root 9241 Jun 22 09:35 pub_tool_redir.h
-rw-r--r--. 1 root root 3055 Jun 22 09:35 pub_tool_replacemalloc.h
-rw-r--r--. 1 root root 3813 Jun 22 09:35 pub_tool_seqmatch.h
-rw-r--r--. 1 root root 1883 Jun 22 09:35 pub_tool_signals.h
-rw-r--r--. 1 root root 4187 Jun 22 09:35 pub_tool_sparsewa.h
-rw-r--r--. 1 root root 3729 Jun 22 09:35 pub_tool_stacktrace.h
-rw-r--r--. 1 root root 2149 Jun 22 09:35 pub_tool_threadstate.h
-rw-r--r--. 1 root root 34017 Jun 22 09:35 pub_tool_tooliface.h
-rw-r--r--. 1 root root 2301 Jun 22 09:35 pub_tool_vki.h
-rw-r--r--. 1 root root 2453 Jun 22 09:35 pub_tool_vkiscnums_asm.h
-rw-r--r--. 1 root root 2745 Jun 22 09:35 pub_tool_vkiscnums.h
-rw-r--r--. 1 root root 9438 Jun 22 09:35 pub_tool_wordfm.h
-rw-r--r--. 1 root root 7214 Jun 22 09:35 pub_tool_xarray.h
-rw-r--r--. 1 root root 312630 Jun 22 09:35 valgrind.h
drwxr-xr-x. 2 root root 4096 Sep 27 00:30 vki

Tried this on two different servers, same error. CentOS 6.3, squid 3.2.1 source tarball.

Thanks
-Ty
Received on Wed Sep 26 2012 - 23:36:25 MDT

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