From owner-freebsd-hackers Mon Jan 6 14:21:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA04559 for hackers-outgoing; Mon, 6 Jan 1997 14:21:12 -0800 (PST) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA04553 for ; Mon, 6 Jan 1997 14:21:05 -0800 (PST) Received: from misery.sdf.com [204.244.213.33] by misery.sdf.com with smtp (Exim 1.59 #1) id 0vhNP6-0001Ud-00; Mon, 6 Jan 1997 14:20:25 -0800 Date: Mon, 6 Jan 1997 14:20:24 -0800 (PST) From: Tom Samplonius To: Stephan Szabo cc: freebsd-hackers@freebsd.org Subject: Re: Question about ypbind In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 6 Jan 1997, Stephan Szabo wrote: > > We have been attempting to install NIS on a FreeBSD 2.1.5R system > and have run into a problem with ypbind. When it is run, it dies on a > SIGSEGV. Going through gdb a bit gave us the following: > Program received signal SIGSEGV, Segmentation fault. > > rpc_received (dom=0xefbfd538 "\025:\006\b\207\002", raddrp=0xefbfd528, > force=0) at ypbind.c:773 > 773 switch(ypdb->dom_default) { > (gdb) bt > #0 rpc_received (dom=0xefbfd538 "\025:\006\b\207\002", > raddrp=0xefbfd528, force=0) at ypbind.c:773 > #1 0x20d1 in handle_children (ypdb=0xa080) at ypbind.c:537 > #2 0x1f9d in main (argc=1, argv=0xefbfddc8) at ypbind.c:490 > > > The first parameter to rpc_received seems like random noise, and doesn't > match any entry in the ypbindlist, which appears to cause the actual > crash. > We were wondering if there was a known reason/fix for this, or what the > best way to handle this problem would be. > > Thank you for your time. > > Stephan Szabo > > > > Works fine for me. What params are you running ypbind with? What kind of server is ypbind binding too (or trying to bind to)? Tom