bin/61718: NFS: rpc.lockd dumps core

Danijel Tasov dt at vosat.de
Thu Jan 22 12:07:40 PST 2004


Note: Only the parent process (the one running as root) is dying.

# ps -auxww | fgrep lockd
daemon  14690  0.0  0.2  1592 1192  ??  I    12:44PM   0:00.00 /usr/sbin/rpc.lockd
# killall rpc.lockd; /usr/sbin/rpc.lockd; ps -auxww | fgrep lockd
root    23915  0.0  0.2  1592 1232  ??  Is    8:25PM   0:00.03 /usr/sbin/rpc.lockd
daemon  23917  0.0  0.2  1592 1212  ??  I     8:25PM   0:00.00 /usr/sbin/rpc.lockd

A few minutes ago, it died again, but the backtrace differs, so here
is a new one, maybe it helps:

# 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  0x0804deed in test_nfslock (fl=0x8072800, conflicting_fl=0xbfbfdcec)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:802
802                     if (bcmp(&fl->filehandle, &ifl->filehandle, sizeof(fhandle_t)))
(gdb) bt
#0  0x0804deed in test_nfslock (fl=0x8072800, conflicting_fl=0xbfbfdcec)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:802
#1  0x0804e0a1 in lock_nfslock (fl=0x8072800)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:875
#2  0x0804ea7b in lock_partialfilelock (fl=0x8072800)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1337
#3  0x0804f080 in do_lock (fl=0x8072800)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1738
#4  0x0804f43e in getlock (lckarg=0x8072800, rqstp=0xbfbfdcec,
    flags=-1077945108) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1925
#5  0x0804cb64 in nlm4_lock_msg_4_svc (arg=0xbfbfddc0, rqstp=0xbfbfe320)
    at /usr/src/usr.sbin/rpc.lockd/lock_proc.c:1047
#6  0x0804aea4 in nlm_prog_4 (rqstp=0xbfbfe320, transp=0xbfbfe320)
    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=0xbfbfe514)
    at /usr/src/usr.sbin/rpc.lockd/lockd.c:212
#11 0x080498a2 in _start ()
(gdb)

                                               -DaTa-

-- 
Jabber: data at jabber.pilgerer.org ICQ: 84074839 e-Mail: dt at vosat.de
http://wiki.pilgerer.org/ - Die Kommunikations- und Kooperations-   | () ASCII
plattform fuer Unix-Fans und alle die es werden wollen.  Macht mit! | /\ RIBBON
# "zieh deinen xterm groesser und fertig..." - Spaceelk                         
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20040122/0fc1bd0b/attachment.bin


More information about the freebsd-bugs mailing list