Date: Thu, 22 Jan 2004 13:03:54 +0100 (CET) From: Danijel Tasov <dt@vosat.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/61718: NFS: rpc.lockd dumps core Message-ID: <200401221203.i0MC3sO0018267@knast.server-king.de> Resent-Message-ID: <200401221210.i0MCAFvt081297@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61718 >Category: bin >Synopsis: NFS: rpc.lockd dumps core >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 22 04:10:14 PST 2004 >Closed-Date: >Last-Modified: >Originator: Danijel Tasov >Release: FreeBSD 5.2-RELEASE i386 >Organization: KlagenfurT >Environment: System: FreeBSD knast 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sat Jan 17 15:55:17 CET 2004 knarf@knast:/usr/obj/usr/src/sys/KLAGENFURT i386 >Description: rpc.lockd dies every now and then on the NFS server. # egrep -i 'nfs|rpc' /etc/rc.conf nfs_server_enable="YES" nfs_server_flags="-u -t -n 16" nfs_client_enable="YES" rpc_statd_enable=YES rpc_lockd_enable=YES Here is the backtrace: # gdb -core rpc.lockd.core /usr/sbin/rpc.lockd GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-unknown-freebsd"... Core was generated by `rpc.lockd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/librpcsvc.so.2...done. Loaded symbols for /usr/lib/librpcsvc.so.2 Reading symbols from /lib/libutil.so.4...done. Loaded symbols for /lib/libutil.so.4 Reading symbols from /lib/libc.so.5...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0804dd0f in get_lock_matching_unlock (fl=0xbfbfd8e0) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:722 722 if (bcmp(&fl->filehandle, &ifl->filehandle, sizeof(fhandle_t))) (gdb) bt #0 0x0804dd0f in get_lock_matching_unlock (fl=0xbfbfd8e0) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:722 #1 0x0804e37c in unlock_nfslock (fl=0xbfbfd8e0, released_lock=0xbfbfd8a0, left_lock=0xbfbfd8a4, right_lock=0xbfbfd8a8) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:976 #2 0x0804ec20 in unlock_partialfilelock (fl=0xbfbfd8e0) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1477 #3 0x0804f180 in do_unlock (fl=0xbfbfd8e0) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1788 #4 0x0804f50e in unlock (lock=0xbfbfddb8, flags=2) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1967 #5 0x0804cd53 in nlm4_unlock_msg_4_svc (arg=0xbfbfd8e0, rqstp=0xbfbfddb8) at /usr/src/usr.sbin/rpc.lockd/lock_proc.c:1136 #6 0x0804aea4 in nlm_prog_4 (rqstp=0xbfbfe310, transp=0xbfbfd8e0) at nlm_prot_svc.c:436 #7 0x480f57d8 in svc_getreq_common () from /lib/libc.so.5 #8 0x480f55af in svc_getreqset () from /lib/libc.so.5 #9 0x480b4ea4 in svc_run () from /lib/libc.so.5 #10 0x0804b358 in main (argc=134660864, argv=0xbfbfe504) at /usr/src/usr.sbin/rpc.lockd/lockd.c:212 #11 0x080498a2 in _start () (gdb) >How-To-Repeat: This happens automatically. >Fix: Don't know :-/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401221203.i0MC3sO0018267>