Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm list-help: list-post: Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <001b01bfe799$2dab0b20$f7c723cb@lifelesswks> From: "Robert Collins" To: "cygapp" Subject: stackdump revisited Date: Fri, 7 Jul 2000 08:26:05 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01BFE7EC.FE564CF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01BFE7EC.FE564CF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks all for your patience with my stackdumping squid! this time I have made real progress... squid goes thru the following loop when before it starts up the very = first worker instance. =3D=3D=3D for (i =3D 0; i < Squid_MaxFD; i++) close(i); =3D=3D=3D=3D when i=3D2 it stackdumps. Are fd's 0, 1 and 2 reserved? I am looking = into whether squid _needs_ to close these, or if it's an old hack still = present.. Thanks in advance, Rob ------=_NextPart_000_0018_01BFE7EC.FE564CF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks all for your patience with my = stackdumping=20 squid!
 
this time I have made real = progress...
squid goes thru the following loop when = before it=20 starts up the very first worker instance.
=3D=3D=3D
    for (i =3D 0; i < = Squid_MaxFD;=20 i++)
        = close(i);
=3D=3D=3D=3D
 
when i=3D2 it stackdumps. Are fd's 0, 1 = and 2=20 reserved? I am looking into whether squid _needs_ to close these, or if = it's an=20 old hack still present..
 
Thanks in advance,
Rob
------=_NextPart_000_0018_01BFE7EC.FE564CF0--