ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/07/06/18:21:49

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
list-help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>
list-post: <mailto:cygwin-apps AT sourceware DOT cygnus DOT com>
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" <robert DOT collins AT itdomain DOT com DOT au>
To: "cygapp" <cygwin-apps AT sourceware DOT cygnus DOT com>
Subject: stackdump revisited
Date: Fri, 7 Jul 2000 08:26:05 +1000
MIME-Version: 1.0
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks all for your patience with my =
stackdumping=20
squid!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>this time I have made real =
progress...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>squid goes thru the following loop when =
before it=20
starts up the very first worker instance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; for (i =3D 0; i &lt; =
Squid_MaxFD;=20
i++)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
close(i);</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>=3D=3D=3D=3D</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Rob</FONT></DIV></BODY></HTML>

------=_NextPart_000_0018_01BFE7EC.FE564CF0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019