From owner-freebsd-stable@FreeBSD.ORG Thu Oct 6 06:59:47 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 8A8AE1065673 for ; Thu, 6 Oct 2011 06:59:47 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by mx1.freebsd.org (Postfix) with ESMTP id 730708FC16 for ; Thu, 6 Oct 2011 06:59:47 +0000 (UTC) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id CFB34B852; Wed, 5 Oct 2011 23:40:38 -0700 (PDT) To: =?UTF-8?B?VsOhY2xhdiBaZW1hbg==?= In-reply-to: Your message of "Wed, 05 Oct 2011 23:06:04 +0200." <4E8CC6BC.9040605@sh.cvut.cz> References: <4E8CC6BC.9040605@sh.cvut.cz> Comments: In-reply-to =?UTF-8?B?VsOhY2xhdiBaZW1hbg==?= message dated "Wed, 05 Oct 2011 23:06:04 +0200." Date: Wed, 05 Oct 2011 23:40:38 -0700 From: Bakul Shah Message-Id: <20111006064038.CFB34B852@mail.bitblocks.com> 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: Thu, 06 Oct 2011 06:59:47 -0000 On Wed, 05 Oct 2011 23:06:04 +0200 =?UTF-8?B?VsOhY2xhdiBaZW1hbg==?= 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? Try running valgrind under ktrace (& view with kdump). That will tell you what directory it is trying to access or what syscall fails and why.