Re: another crash

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 16 Feb 2004 21:32:14 -0700

On Mon, Feb 16, 2004, Adrian Chadd wrote:
> On Mon, Feb 16, 2004, Adrian Chadd wrote:
> > On Mon, Feb 16, 2004, Adrian Chadd wrote:
> > >
> > > Another crash, this time, reproducable:
> > >
> > > 2004/02/16 16:27:31| assertion failed: comm.cc:2558: "fdc_table[fd].active && !fdc_table[fd].half_closed"
>
> Right, this is what I _think_ is happening:
>
> * connection breaks
> * we read EOF from the FD
> * commMarkHalfClosed() marks it as half-closed
> * ...
> * we read EOF from the FD again
> * commMarkHalfClosed() get called again..
> * .. which barfs because we already marked it half closed.

.. are we trying to read data when we shouldn't be?
The half-closed connection logic is a bit unclear to me in
the squid-3 codebase.

Adrian
Received on Mon Feb 16 2004 - 21:32:16 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:04 MST