Re: bug #94 alive again

From: PsychoTekk .de <psychotekk@dont-contact.us>
Date: Mon, 30 Sep 2002 16:52:09 +0100

> Try the following change in http.c:
>
> Index: http.c
> ===================================================================
> RCS file: /cvsroot/squid/squid/src/http.c,v
> retrieving revision 1.20.6.5
> diff -u -p -r1.20.6.5 http.c
> --- http.c 24 Sep 2002 17:45:31 -0000 1.20.6.5
> +++ http.c 29 Sep 2002 20:01:06 -0000
> @@ -948,7 +948,10 @@ httpSendRequest(HttpStateData * httpStat
> else if (entry->mem_obj == NULL)
> cfd = -1;
> else
> + {
> cfd = entry->mem_obj->fd;
> + assert(FD_SOCKET == fd_table[cfd].type);
> + }
> assert(-1 == cfd || FD_SOCKET == fd_table[cfd].type);
> if (p != NULL)
> httpState->flags.proxying = 1;
>
> So we can be sure that the crash is in the wrong fd_table entry.

Hi Guido,
did so today, here comes the result:
assertion failed: http.c:953: "FD_SOCKET == fd_table[cfd].type"
regards,
 Clemens

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Received on Mon Sep 30 2002 - 09:52:55 MDT

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