From owner-freebsd-current Thu Aug 2 14: 9:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id B18C637B403; Thu, 2 Aug 2001 14:09:24 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 2 Aug 2001 22:09:23 +0100 (BST) To: Maxim Sobolev Cc: current@FreeBSD.org Subject: Re: rpc.umtall dumps core on each startup/shutdown In-Reply-To: Your message of "Thu, 02 Aug 2001 20:47:51 +0300." <200108021748.f72HmW846514@vega.vega.com> Date: Thu, 02 Aug 2001 22:09:23 +0100 From: Ian Dowse Message-ID: <200108022209.aa87389@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200108021748.f72HmW846514@vega.vega.com>, Maxim Sobolev writes: >I found that the rpc.umntall program from time to time starts dumping a core >at each startup/shutdown. Removal of /var/db/mountab helps for certain It seems to be a bug in the rpc library (thank $deity for libefence when tracking down such bugs :-). The rpcbind client code in libc keeps a cache of DNS lookups, but it is missing a strdup() when it copies a string from the cache. Investigating this has shown up a few bugs I introduced to rpc.umtall in my last set of changes, so I'll fix those too. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message