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
Received on Wed Feb 13 2002 - 09:53:33 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:21 MST