Re: Problem: assertion failed: store.c

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Oct 1999 23:47:25 +0200

Duane, how long time does it take to process a bug fix patch? This was
submitted to squid-bugs you at the end of may (at the time of
2.2.STABLE3), and have been mentioned a couple of times since then.

/Henrik

Duane Wessels wrote:
>
> On Tue, 26 Oct 1999 rodrigo.castro@rediris.es wrote:
>
> > 1999/10/26 09:50:48| assertion failed: store.c:400: "e->store_status ==
> > STORE_PENDING"
> > 1999/10/26 09:50:59| Starting Squid Cache version 2.2.STABLE5 for
> > sparc-sun-solaris2.7...
> >
> >
> > I have recompiled the sources with different options, but I can't resolve the
> > problem.
> >
> > I should be very grateful if someone could help me.
>
> Please try this patch:
>
> Index: ftp.c
> ===================================================================
> RCS file: /surf1/CVS/squid/src/ftp.c,v
> retrieving revision 1.286.2.9
> retrieving revision 1.286.2.10
> diff -u -r1.286.2.9 -r1.286.2.10
> --- ftp.c 1999/09/16 04:48:32 1.286.2.9
> +++ ftp.c 1999/09/30 23:43:35 1.286.2.10
> @@ -1,6 +1,6 @@
>
> /*
> - * $Id: ftp.c,v 1.286.2.9 1999/09/16 04:48:32 wessels Exp $
> + * $Id: ftp.c,v 1.286.2.10 1999/09/30 23:43:35 wessels Exp $
> *
> * DEBUG: section 9 File Transfer Protocol (FTP)
> * AUTHOR: Harvest Derived
> @@ -1213,6 +1213,10 @@
> StoreEntry *entry = ftpState->entry;
> int len;
> debug(9, 5) ("ftpReadControlReply\n");
> + if (EBIT_TEST(entry->flags, ENTRY_ABORTED)) {
> + comm_close(ftpState->ctrl.fd);
> + return;
> + }
> assert(ftpState->ctrl.offset < ftpState->ctrl.size);
> Counter.syscalls.sock.reads++;
> len = read(fd,
Received on Tue Oct 26 1999 - 15:12:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:18 MST