From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 01:40:27 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 5EB7C16A4CF for ; Mon, 19 Jan 2004 01:40:27 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-16-132.w80-14.abo.wanadoo.fr [80.14.185.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90FD243D41 for ; Mon, 19 Jan 2004 01:40:23 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from srv01.lphp.local (localhost [127.0.0.1]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id i0J9c2Q5055071; Mon, 19 Jan 2004 10:38:02 +0100 (CET) (envelope-from ajacoutot@lphp.org) Received: (from www@localhost) by srv01.lphp.local (8.12.10/8.12.10/Submit) id i0J9c1ee055070; Mon, 19 Jan 2004 10:38:01 +0100 (CET) (envelope-from ajacoutot@lphp.org) Received: from ATuileries-108-2-1-224.w217-128.abo.wanadoo.fr (ATuileries-108-2-1-224.w217-128.abo.wanadoo.fr [217.128.152.224]) by webmail.lphp.org (IMP) with HTTP for ; Mon, 19 Jan 2004 10:38:01 +0100 Message-ID: <1074505081.400ba57956366@webmail.lphp.org> Date: Mon, 19 Jan 2004 10:38:01 +0100 From: Antoine Jacoutot To: freebsd-questions@freebsd.org References: <200401171338.15670.ajacoutot@lphp.org> <200401172027.19927.ajacoutot@lphp.org> <20040117220110.GB78912@xor.obsecurity.org> <200401181458.44948.ajacoutot@lphp.org> <20040118140539.GA87622@xor.obsecurity.org> <20040118203644.GA76639@dan.emsphone.com> In-Reply-To: <20040118203644.GA76639@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 / FreeBSD-5.1 cc: Dan Nelson 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: Mon, 19 Jan 2004 09:40:27 -0000 Selon Dan Nelson : > > > 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. Allright, so I rebuilt rpc.lockd with: "-g" and copy the binary to /usr/sbin/rpc.lockd (without stripping it). I can't attache gdb to it because rpc.lockd wouldn't work for clients. So I analysed to core file again and didn't get much info: Core was generated by `rpc.lockd'. Program terminated with signal 11, Segmentation fault. #0 0x0804dd2f in ?? () (gdb) quit Any idea ? Thanks all for your help. Oh, by the way, it does not core dump right away, it does sometimes (from 30 minutes to 12 hours). Regards, Antoine