Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jul 1998 08:18:07 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        phk@critter.freebsd.dk (Poul-Henning Kamp), rotel@indigo.ie, wpaul@skynet.ctr.columbia.edu, kkennawa@physics.adelaide.edu.au, current@FreeBSD.ORG
Subject:   Re: inetd problems 
Message-ID:  <199807070018.IAA02949@spinner.netplex.com.au>
In-Reply-To: Your message of "Mon, 06 Jul 1998 07:09:25 GMT." <199807060709.AAA22656@usr02.primenet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> > 2: inetd probelm
> > 	inetd doesn't correctly handle some exception conditions,
> > 	maybe related to malloc(3) failing for the above or other
> > 	reasons.
> 
> It seems to not unwind state/check its return values very well.  8-(.

I've looked at this before but never was able to catch it in the act with
an inetd with enough symbols to make it worth tracing.  I'm pretty sure
it's not inetd itself, but some other libc routine that inetd calls.  I
wonder about the resolver getXXXbyYYY() stuff sometimes.  I suspect that 
some state is being trashed somewhere and it's being accessed or freed 
in each child after the fork().

> 
> 					Terry Lambert
> 					terry@lambert.org
> ---
> Any opinions in this posting are my own and not those of my present
> or previous employers.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807070018.IAA02949>