Re: [squid-users] garbage before reply

From: Robert Collins <[email protected]>
Date: Sat, 23 Aug 2003 07:45:06 +1000

On Sat, 2003-08-23 at 07:08, Joshua Brindle wrote:
> I've started to isolate it. I'm using dansguardian so I don't know if it
> is there or in squid, I can't reproduce it with only dansguardian, and
> I can't reproduce it with just squid, but it happens every time with both.
>
> I've turned debug_options ALL,9 on and am going line by line when it
> happens to something and am coming up with nothing right now
> (lots of logs to look through though), and i'm also not sure if this
> is the cause of the broken pictures either... Where do you think the
> cause of this is so I can take a look?

I suspect that a cached file is corrupt, and that the re-retrieval code
has a buglet. We ran into a couple of segfaults recently due to
unparsable replies - which correlates with this. There was a buglet in
handling those replies - but there is still the unexplained cause of
them...

The place to look, is client_side_reply.cc: 1445 - where the reply
parsing has failed.

Add some debug fluff there, or run under gdb and breakpoint it.

Then, if this code block is invoked every time you see the bug, we need
to work backwards to identify it.

A bt full would be a good place to start.

Re: the images, lets squash this bug first and see if they get magically
better.

Cheers,
Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Fri Aug 22 2003 - 15:45:07 MDT

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