Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2004 20:54:05 +0100
From:      Danijel Tasov <dt@vosat.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   Re: bin/61718: NFS: rpc.lockd dumps core
Message-ID:  <20040122195405.GJ3271@knast.server-king.de>
Resent-Message-ID: <20040122200736.GK3271@knast.server-king.de>
In-Reply-To: <200401221210.i0MCAEgA081285@freefall.freebsd.org>
References:  <200401221203.i0MC3sO0018267@knast.server-king.de> <200401221210.i0MCAEgA081285@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--bgQAstJ9X1Eg13Dy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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/rp=
c.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/rp=
c.lockd
daemon  23917  0.0  0.2  1592 1212  ??  I     8:25PM   0:00.00 /usr/sbin/rp=
c.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 condition=
s.
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=3D0x8072800, conflicting_fl=3D0xbfbfdcec)
    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=3D0x8072800, conflicting_fl=3D0xbfbfdcec)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:802
#1  0x0804e0a1 in lock_nfslock (fl=3D0x8072800)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:875
#2  0x0804ea7b in lock_partialfilelock (fl=3D0x8072800)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1337
#3  0x0804f080 in do_lock (fl=3D0x8072800)
    at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1738
#4  0x0804f43e in getlock (lckarg=3D0x8072800, rqstp=3D0xbfbfdcec,
    flags=3D-1077945108) at /usr/src/usr.sbin/rpc.lockd/lockd_lock.c:1925
#5  0x0804cb64 in nlm4_lock_msg_4_svc (arg=3D0xbfbfddc0, rqstp=3D0xbfbfe320)
    at /usr/src/usr.sbin/rpc.lockd/lock_proc.c:1047
#6  0x0804aea4 in nlm_prog_4 (rqstp=3D0xbfbfe320, transp=3D0xbfbfe320)
    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=3D134660864, argv=3D0xbfbfe514)
    at /usr/src/usr.sbin/rpc.lockd/lockd.c:212
#11 0x080498a2 in _start ()
(gdb)

                                               -DaTa-

--=20
Jabber: data@jabber.pilgerer.org ICQ: 84074839 e-Mail: dt@vosat.de
http://wiki.pilgerer.org/ - Die Kommunikations- und Kooperations-   | () AS=
CII
plattform fuer Unix-Fans und alle die es werden wollen.  Macht mit! | /\ RI=
BBON
# "zieh deinen xterm groesser und fertig..." - Spaceelk                    =
    =20

--bgQAstJ9X1Eg13Dy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAECpdWUSLpvlrHsMRAjwCAKCSueljj8I1I7mfRLpl2TqG6h32IACgmCoL
z9G1D4iQIttNN5hMN2a81j4=
=igJJ
-----END PGP SIGNATURE-----

--bgQAstJ9X1Eg13Dy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040122195405.GJ3271>