Of course its my fault that I didnt have original "lru" compiled in, but
squid is not supposed to coredump in this case I think...?
-----------------------------------------------------------------------------
FATAL: ERROR: Unknown policy lru
Squid Cache (Version 2.5.STABLE4-20040206): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.000 user + 0.006 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Abort (core dumped)
-----------------------------------------------------------------------------
proxy:/usr/local/squid/sbin#gdb /usr/local/squid/sbin/squid squid.core
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
Core was generated by `squid'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libcrypt.so.2...done.
Loaded symbols for /lib/libcrypt.so.2
Reading symbols from /lib/libm.so.2...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x88174f5f in kill () from /lib/libc.so.5
(gdb) backtrace
#0 0x88174f5f in kill () from /lib/libc.so.5
#1 0x881699f8 in raise () from /lib/libc.so.5
#2 0x881e00d2 in abort () from /lib/libc.so.5
#3 0x0809999c in fatalf (fmt=0x813aa80 "ERROR: Unknown policy lru\n") at
tools.c:362
#4 0x080999ae in fatalf (fmt=0x80c4690 "ERROR: Unknown policy %s\n") at
tools.c:382
#5 0x0809544f in createRemovalPolicy (settings=0x81e40a0) at store.c:1374
#6 0x080a280a in storeDiskdDirParse (sd=0x81ec000, index=0,
path=0x81e3450 "/usr/local/squid/cache/disk1")
at diskd/store_dir_diskd.c:1944
#7 0x0805321c in parse_cachedir (swap=0x81df634) at cache_cf.c:1240
#8 0x08056fd5 in parse_line (buff=0x81e344a "diskd") at cf_parser.h:431
#9 0x08051862 in parseConfigFile (file_name=0x81e3440 "cache_dir") at
cache_cf.c:264
#10 0x08082570 in main (argc=3, argv=0xbfbfed18) at main.c:664
#11 0x0804a492 in _start ()
(gdb)
------------------------------------------------------------------------------------
Received on Tue Feb 10 2004 - 13:54:01 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST