From owner-freebsd-stable@FreeBSD.ORG Wed Oct 5 23:49:03 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A0DB106564A for ; Wed, 5 Oct 2011 23:49:03 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8B58FC0A for ; Wed, 5 Oct 2011 23:49:03 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RBbCw-0001UH-EE; Wed, 05 Oct 2011 19:49:02 -0400 Date: Wed, 5 Oct 2011 19:49:02 -0400 From: Gary Palmer To: V??clav Zeman Message-ID: <20111005234902.GC38162@in-addr.com> References: <4E8CC6BC.9040605@sh.cvut.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E8CC6BC.9040605@sh.cvut.cz> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: freebsd-stable@freebsd.org Subject: Re: valgrind on FreeBSD? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 23:49:03 -0000 On Wed, Oct 05, 2011 at 11:06:04PM +0200, V??clav Zeman wrote: > Hi. > > No matter what I try, valgrind on 7.3-STABLE is giving me this, both Valgrind > ports: > > valgrind: Startup or configuration error: > Can't establish current working directory at startup > valgrind: Unable to start up properly. Giving up. > > What do I need to do to make it work? I just tried it on 7.4 and it appeared to work for me. Your error message suggests a permissions problem. If you ran pwd from your shell in the directory you were trying to run valgrind from and as the user you were trying to run valgrind from, does pwd give an error also? Gary