--disable-internal-dns will most likely work around the issue.
What happens here is that the internal DNS client receives a odd DNS
reply it is not prepared to handle (from what it looks in the code an IP
v4 address with a size other than 4 octets).
It would be nice of you could spend some time on digging some
information out of this crash.
A good start is to make sure there will be a coredump, and that the core
is from the exact point where it crashes.
As the userid configured as cache_effective_user in squid.conf, start
squid with the -C option.
Then when it crashes, we should get a core file in the first cache_dir
directory.
Start gdb on that core
gdb squid /path/to/core
and type the following commands to gdb:
backtrace
print k
print j
print answers[k]
This will give some additional insight in what is going on here, but the
problem should be possible to fix even if you cannot get this
information.
-- Henrik Nordstrom Squid hacker Brian R. Landy wrote: > > Hi, > For the past couple of weeks I've been experiencing a crash with Squid > 2.3. I'm using RedHat 6.2 with their precompiled 2.2.16 kernel (but saw > the problem as well on an older system running RedHat 6.1 with a custom > 2.2.14 kernel). Only some URL's are proxied through Squid > (primarily microsoft.com, dell.com, and yahoo.com). All my clients access > a different proxy (Netscape 3.52), but it routes requests for those few > URLs through Squid, the rest it gets directly. I saw the crash as well > on 2.3STABLE1. > > Anyway, the problem is that squid will run fine for roughly 1 day. Then > over the course of an hour, it begins to crash and restart itself. It > generates this error message: > > assertion failed: ipcache.c:382: "answers[k].rdlength == 4" > > After around an hour, squid gives up restarting itself. I've searched the > mailing list and Bugzilla but didn't turn up the particular assertion I'm > getting. > > Oh, I just remembered, yesterday I tried the latest 2.3 snapshot > (200010310000), and it has the same problem. The only configure option I > used was --disable-ident-lookups. Any ideas? Thanks! > > Brian Landy > landy@alumni.caltech.edu > > -- > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Nov 01 2000 - 14:29:36 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:13 MST