Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 1999 19:07:59 -0500 (EST)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        barry@lustig.com
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: bin/10353: Failures in ypserv
Message-ID:  <199903070008.TAA10029@skynet.ctr.columbia.edu>
In-Reply-To: <199903021525.HAA11430@dns5.agouron.com> from "barry@lustig.com" at Mar 2, 99 07:25:40 am

next in thread | previous in thread | raw e-mail | index | archive | help
Of all the gin joints in all the towns in all the world, 
barry@lustig.com had to walk into mine and say:

> ypserv is continually core dumping with a segmentation violation.  xprt is
> NULL.  I've added the code from current to check whether xprt is NULL, but 
> am still running into segv's at the same point.

I'm confused. Which "code from current" are you talking about? Please
tell me: I'm confused. How long have you been experiencing this problem?
Is it recent or has it been happening for a while?

> ypserv's forked children do not always exit.

This is a totally separate problem. I have something for you to
try. In yp_main.c, find the yp_svc_run() function and where it
says:

		if (forked && pid != getpid())
			_exit(0);

change it to:

		if (/*forked &&*/ pid != getpid())
			_exit(0);

-Bill

-- 
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
=============================================================================


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




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