Re: [squid-users] core dumping with -f command line arg on squid exe

From: Henrik Nordstrom <[email protected]>
Date: Thu, 14 Feb 2002 05:10:14 +0100

Rule of thumb: Don't use configure options you do not know you need.

Several of the listed configure options are debug options. Others are
quite intrusive and changes important aspects of how Squid operates.

Not all of the intrusive options have been tested together, and the
debug options are rarely used and often broken.. (most developers
uses other better tools for the debugging than what these options
provide).

Regards
Henrik Nordstr�m
Squid Developer

On Wednesday 13 February 2002 17.53, David Carson wrote:
> Hi,
>
> Just compiled Squid 2.4STABLE3 on RedHat Linux 7.1. RedHat
> installation is "out of the box", with updated kernel of
> 2.4.9-21smp. Machine is Dell PowerEdge 2550 with 2 Pentium III 1
> Ghz processors and 512 Mb RAM.
>
> Configuration options for squid are:
>
> ./configure --prefix=/opt/squid \
> --enable-cache-digests \
> --enable-icmp \
> --enable-htcp \
> --enable-wccp \
> --enable-carp \
> --enable-unlinkd \
> --enable-xmalloc-statistics \
> --enable-useragent-log \
> --enable-kill-parent-hack \
> --enable-gnuregex \
> --enable-referer-log \
> --enable-time-hack \
> --enable-storeio=diskd,ufs \
> --enable-cachemgr-hostname \
> --enable-xmalloc-debug \
> --enable-xmalloc-debug-trace
>
> After configure, did usual "make", "make install" and "make
> install-pinger". Set up cache dirs with ./squid -z, run from bin
> dir.
>
> Next, tried to run up squid from bin dir with:
>
> ./squid -f /opt/squid/etc/squid.conf
>
> Program dumped core.
>
> Copied squid.conf to /tmp/squid.conf
>
> Again, tried to run up squid from bin dir with:
>
> ./squid -f /tmp/squid.conf
>
> Program dumped core again.
>
> gdb output on core shows:
>
> # gdb ./squid ./core
> GNU gdb 5.0rh-5 Red Hat Linux 7.1
> Copyright 2001 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License,
> and you are welcome to change it and/or distribute copies of it
> under certain conditions. Type "show copying" to see the
> conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details. This GDB was configured as "i386-redhat-linux"...
> Core was generated by `./squid -f /tmp/squid.conf'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libcrypt.so.1...done.
> Loaded symbols for /lib/libcrypt.so.1
> Reading symbols from /lib/i686/libm.so.6...done.
> Loaded symbols for /lib/i686/libm.so.6
> Reading symbols from /lib/libresolv.so.2...done.
> Loaded symbols for /lib/libresolv.so.2
> Reading symbols from /lib/libnsl.so.1...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/i686/libc.so.6...done.
> Loaded symbols for /lib/i686/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> #0 xmallocblksize (p=0x0) at util.c:277
> 277 if (malloc_ptrs[B][I] == p)
> (gdb)
>
> Anyone any ideas as to what might be happening?
>
> Kind Regards,
>
> David Carson
> david.carson@abdn.ac.uk

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Wed Feb 13 2002 - 22:08:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:21 MST