From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 06:06:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4BD316A4CE for ; Sun, 18 Jan 2004 06:06:00 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A4C43D5D for ; Sun, 18 Jan 2004 06:05:39 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6582466C78; Sun, 18 Jan 2004 06:05:39 -0800 (PST) Date: Sun, 18 Jan 2004 06:05:39 -0800 From: Kris Kennaway To: Antoine Jacoutot Message-ID: <20040118140539.GA87622@xor.obsecurity.org> References: <200401171338.15670.ajacoutot@lphp.org> <200401172027.19927.ajacoutot@lphp.org> <20040117220110.GB78912@xor.obsecurity.org> <200401181458.44948.ajacoutot@lphp.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <200401181458.44948.ajacoutot@lphp.org> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: rpc.lockd segfault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 14:06:00 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jan 18, 2004 at 02:58:44PM +0100, Antoine Jacoutot wrote: > > Unfortunately that doesn't give any information. You'll need to > > recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS). > > See the developer's handbook on the website for more information about > > debugging program failures with gdb (specifically, how to obtain a > > useful backtrace). > $ gdb /usr/sbin/rpc.lockd > How come no debugging symbols are found ? > install -s -o root -g wheel -m 555 rpc.lockd /usr/sbin ^^ This strips the debugging symbols. Run gdb against the version of the binary in the obj/ directory. e.g cd /usr/src/usr.sbin/rpc.lockd make objdir cd obj gdb ./rpc.lockd Kris --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACpKyWry0BWjoQKURAid2AJ9CjdXMZDIBajFtSXlMaScPsnxMfACg3CN1 n00LVTAI478kwtel1hORw1I= =CoNi -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--