From owner-freebsd-i386@FreeBSD.ORG Fri Mar 28 00:00:03 2008 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2153106566B for ; Fri, 28 Mar 2008 00:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B68098FC1C for ; Fri, 28 Mar 2008 00:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2S003Wx046749 for ; Fri, 28 Mar 2008 00:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2S003qE046748; Fri, 28 Mar 2008 00:00:03 GMT (envelope-from gnats) Resent-Date: Fri, 28 Mar 2008 00:00:03 GMT Resent-Message-Id: <200803280000.m2S003qE046748@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lee Damon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FD49106564A for ; Thu, 27 Mar 2008 23:55:57 +0000 (UTC) (envelope-from nomad@crow.ee.washington.edu) Received: from crow.ee.washington.edu (crow.ee.washington.edu [128.208.232.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7F59C8FC1D for ; Thu, 27 Mar 2008 23:55:57 +0000 (UTC) (envelope-from nomad@crow.ee.washington.edu) Received: from goose.ee.washington.edu (goose.ee.washington.edu [128.208.232.11]) by crow.ee.washington.edu (8.13.1/8.13.3) with ESMTP id m2RNtsIU019424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Mar 2008 16:55:54 -0700 Received: from goose.ee.washington.edu (localhost [127.0.0.1]) by goose.ee.washington.edu (8.14.2/8.12.10) with ESMTP id m2RNts2W004226; Thu, 27 Mar 2008 16:55:54 -0700 (PDT) Received: (from nomad@localhost) by goose.ee.washington.edu (8.14.2/8.14.2/Submit) id m2RNtsb9004225; Thu, 27 Mar 2008 16:55:54 -0700 (PDT) (envelope-from nomad) Message-Id: <200803272355.m2RNtsb9004225@goose.ee.washington.edu> Date: Thu, 27 Mar 2008 16:55:54 -0700 (PDT) From: Lee Damon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: nomad@crow.ee.washington.edu Subject: i386/122172: amd(8) automount daemon dies on 6.3-STABLE i386, fine on amd6 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lee Damon List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 00:00:04 -0000 >Number: 122172 >Category: i386 >Synopsis: amd(8) automount daemon dies on 6.3-STABLE i386, fine on amd6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 28 00:00:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Lee Damon >Release: FreeBSD 6.3-STABLE i386 >Organization: Univ. of Washington Electrical Engr, SSLI LAB >Environment: System: FreeBSD goose.ee.washington.edu 6.3-STABLE FreeBSD 6.3-STABLE #6: Wed r 26 17:03:35 PDT 2008 root@goose.ee.washington.edu:/usr/obj/usr/src/sys/NIKO i386 goose was CVSupd, buildworld, buildkernel and installed around 15:00 PDT on 26 MAR, 2008. This was done trying to solve the problem. The problem showed up from CVSup, buildworld, buildkernel on 14 FEB, 2008 at 11:32 PST. The other i386 system with same problem and 8 amd64 systems which don't have the problem were all CVSup'd and built on 14 FEB, 2008 at 11:32 PST. >Description: amd(8) is launched on boot (or later) and runs briefly then aborts. If it is launched on boot then it never gets past reclaiming all the children it starts to help it boot up. One of the children (or the parent in some cases) aborts with a SIG 11. The attached gdb & truss output were obtained by starting amd manually after boot. It gets past the part where the children finish setup but eventually dies. Sometimes it is SIG 10, sometimes SIG 11. I have a truss output and amd log file available but gnats thought they were too big to include in the pr email. The core file and amd binary are available for examination if needed. The amd.conf and map files are the same on all 10 systems. >How-To-Repeat: configure and launch amd on a i386 6.3-STABLE system. >Fix: none known. --- gdb.out begins here --- Script started on Thu Mar 27 14:42:26 2008 goose# gdb -c amd.core amd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `amd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/X11R6/lib/nss_ldap.so.1...done. Loaded symbols for /usr/X11R6/lib/nss_ldap.so.1 Reading symbols from /usr/local/lib/libldap-2.3.so.2...done. Loaded symbols for /usr/local/lib/libldap-2.3.so.2 Reading symbols from /usr/local/lib/liblber-2.3.so.2...done. Loaded symbols for /usr/local/lib/liblber-2.3.so.2 Reading symbols from /usr/local/lib/libgssapi_krb5.so...done. Loaded symbols for /usr/local/lib/libgssapi_krb5.so Reading symbols from /usr/local/lib/libssl.so.5...done. Loaded symbols for /usr/local/lib/libssl.so.5 Reading symbols from /usr/local/lib/libcrypto.so.5...done. Loaded symbols for /usr/local/lib/libcrypto.so.5 Reading symbols from /usr/local/lib/libkrb5.so...done. Loaded symbols for /usr/local/lib/libkrb5.so Reading symbols from /usr/local/lib/libk5crypto.so...done. Loaded symbols for /usr/local/lib/libk5crypto.so Reading symbols from /usr/local/lib/libcom_err.so...done. Loaded symbols for /usr/local/lib/libcom_err.so Reading symbols from /usr/local/lib/libkrb5support.so...done. Loaded symbols for /usr/local/lib/libkrb5support.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0805d8fa in flush_nfs_fhandle_cache (fs=0x0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/ops_nfs.c:307 307 if (fp->fh_fs == fs || fs == NULL) { (gdb) bt #0 0x0805d8fa in flush_nfs_fhandle_cache (fs=0x0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/ops_nfs.c:307 #1 0x0805272d in amqproc_setopt_1_svc (argp=0xbfbfe4a0, rqstp=0xbfbfe9c0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/amq_subr.c:157 #2 0x0805337b in amq_program_1 (rqstp=0xbfbfe9c0, transp=0x80b9080) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/amq_svc.c:215 #3 0x28112673 in svc_getreq_common () from /lib/libc.so.6 #4 0x281126e8 in svc_getreqset () from /lib/libc.so.6 #5 0x0805c2a5 in run_rpc () at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/nfs_start.c:294 #6 0x0805c505 in mount_automounter (ppid=2487) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/nfs_start.c:448 #7 0x0804deaa in main (argc=5, argv=0xbfbfecd0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/amd.c:564 (gdb) where #0 0x0805d8fa in flush_nfs_fhandle_cache (fs=0x0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/ops_nfs.c:307 #1 0x0805272d in amqproc_setopt_1_svc (argp=0xbfbfe4a0, rqstp=0xbfbfe9c0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/amq_subr.c:157 #2 0x0805337b in amq_program_1 (rqstp=0xbfbfe9c0, transp=0x80b9080) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/amq_svc.c:215 #3 0x28112673 in svc_getreq_common () from /lib/libc.so.6 #4 0x281126e8 in svc_getreqset () from /lib/libc.so.6 #5 0x0805c2a5 in run_rpc () at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/nfs_start.c:294 #6 0x0805c505 in mount_automounter (ppid=2487) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/nfs_start.c:448 #7 0x0804deaa in main (argc=5, argv=0xbfbfecd0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/amd.c:564 (gdb) goose# exit exit Script done on Thu Mar 27 14:42:38 2008 --- gdb.out ends here --- --- gdb1.out begins here --- Script started on Thu Mar 27 15:34:48 2008 goose# gdb -c amd.core amd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `amd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/X11R6/lib/nss_ldap.so.1...done. Loaded symbols for /usr/X11R6/lib/nss_ldap.so.1 Reading symbols from /usr/local/lib/libldap-2.3.so.2...done. Loaded symbols for /usr/local/lib/libldap-2.3.so.2 Reading symbols from /usr/local/lib/liblber-2.3.so.2...done. Loaded symbols for /usr/local/lib/liblber-2.3.so.2 Reading symbols from /usr/local/lib/libgssapi_krb5.so...done. Loaded symbols for /usr/local/lib/libgssapi_krb5.so Reading symbols from /usr/local/lib/libssl.so.5...done. Loaded symbols for /usr/local/lib/libssl.so.5 Reading symbols from /usr/local/lib/libcrypto.so.5...done. Loaded symbols for /usr/local/lib/libcrypto.so.5 Reading symbols from /usr/local/lib/libkrb5.so...done. Loaded symbols for /usr/local/lib/libkrb5.so Reading symbols from /usr/local/lib/libk5crypto.so...done. Loaded symbols for /usr/local/lib/libk5crypto.so Reading symbols from /usr/local/lib/libcom_err.so...done. Loaded symbols for /usr/local/lib/libcom_err.so Reading symbols from /usr/local/lib/libkrb5support.so...done. Loaded symbols for /usr/local/lib/libkrb5support.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0805d8fa in flush_nfs_fhandle_cache (fs=0x0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/ops_nfs.c:307 307 if (fp->fh_fs == fs || fs == NULL) { (gdb) frame 0 #0 0x0805d8fa in flush_nfs_fhandle_cache (fs=0x0) at /usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/ops_nfs.c:307 307 if (fp->fh_fs == fs || fs == NULL) { (gdb) list 302 flush_nfs_fhandle_cache(fserver *fs) 303 { 304 fh_cache *fp; 305 306 ITER(fp, fh_cache, &fh_head) { 307 if (fp->fh_fs == fs || fs == NULL) { 308 /* 309 * Only invalidate port info for non-WebNFS servers 310 */ 311 if (!(fp->fh_fs->fs_flags & FSF_WEBNFS)) (gdb) info frame Stack level 0, frame at 0xbfbfe450: eip = 0x805d8fa in flush_nfs_fhandle_cache (/usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/ops_nfs.c:307); saved eip 0x805272d called by frame at 0xbfbfe470 source language c. Arglist at 0xbfbfe448, args: fs=0x0 Locals at 0xbfbfe448, Previous frame's sp is 0xbfbfe450 Saved registers: ebp at 0xbfbfe448, eip at 0xbfbfe44c (gdb) info args fs = (fserver *) 0x0 (gdb) info locals fp = (fh_cache *) 0x8 (gdb) print fp $1 = (fh_cache *) 0x8 (gdb) Script done on Thu Mar 27 15:35:19 2008 --- gdb1.out ends here --- >Release-Note: >Audit-Trail: >Unformatted: