Re: bug #94 news

From: Henrik Nordström <hno@dont-contact.us>
Date: Tue, 1 Oct 2002 23:14:56 +0200 (CEST)

Which tells us a quite interesting story of what happened

1. The connection to the server failed, causing fwdStart to restart via a
dummy event (see fwdServerClosed). This is known by the fact that this is
the only case where fwdConnectStart is called via eventRun().

2. When the server connection was restarted in fwdConnectStart we picked
up a persistent connection. This can be told by having a straight
stacktrace fwdServerStart() -> fwdConnectDone(). In case of a new
connection it always goes via the comm_poll main loop.

3. And for some reason, the filedescriptor of this persistent connection
did not make out as a correct filedescriptor when http.c tried to send a
request onto it.

So a good measure would be to try to trap this error in fwdConnectStart().
If pconnPop returns a filedescriptor that does not make out as correct
then yell loudly and forget about it.. then try to identity why there is
"invalid" filedescriptors in the persistent connection heap/stack.

Regards
Henrik

On Tue, 1 Oct 2002, Guido Serassio wrote:

> Hi Henrik,
>
> At 09.39 01/10/2002, Henrik Nordstrom wrote:
> >Can you get stacktraces of these?
> >
> >I am interested to know if these was called directly from comm.c, or
> >indirectly via event.c.
> >
> >Regards
> >Henrik
>
> After 4 datacomm-1 restart, I have just crashed it !, here there is the
> Visual Studio Call Stack:
>
> httpSendRequest(_HttpStateData * 0x018ebd04) line 953
> httpStart(_FwdState * 0x018d9fe4) line 1035 + 9 bytes
> fwdDispatch(_FwdState * 0x018d9fe4) line 456 + 9 bytes
> fwdConnectDone(int 356, int 0, void * 0x018d9fe4) line 237 + 9 bytes
> fwdConnectStart(void * 0x018d9fe4) line 356 + 15 bytes
> eventRun() line 137 + 9 bytes
> SquidMain(int 4, char * * 0x00312e30) line 856
> main(int 4, char * * 0x00312e30) line 734
> mainCRTStartup() line 206 + 25 bytes
> KERNEL32! 77e9ca90()
>
> This build is compiled with Delay Pools support, but without ICMP.
>
> Regards
>
> Guido
>
>
>
> -
> =======================================================
> Serassio Guido
> Via Albenga, 11/4 10134 - Torino - ITALY
> E-mail: guido.serassio@serassio.it
> WWW: http://www.serassio.it
>
Received on Tue Oct 01 2002 - 15:15:00 MDT

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