From owner-freebsd-bugs Sat Mar 6 16: 1:40 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (Postfix) with SMTP id 870F8152E3 for ; Sat, 6 Mar 1999 16:01:35 -0800 (PST) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id TAA10029; Sat, 6 Mar 1999 19:08:02 -0500 From: Bill Paul Message-Id: <199903070008.TAA10029@skynet.ctr.columbia.edu> Subject: Re: bin/10353: Failures in ypserv To: barry@lustig.com Date: Sat, 6 Mar 1999 19:07:59 -0500 (EST) Cc: freebsd-bugs@freebsd.org In-Reply-To: <199903021525.HAA11430@dns5.agouron.com> from "barry@lustig.com" at Mar 2, 99 07:25:40 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1350 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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