From: Garrick Staples <garrick@usc.edu>
To: nfs@lists.sourceforge.net
Subject: Re: mountd segfault on itanium2
Date: Fri, 30 Apr 2004 16:43:27 -0700 [thread overview]
Message-ID: <20040430234327.GM22498@polop.usc.edu> (raw)
In-Reply-To: <20040430212414.GF22498@polop.usc.edu>
[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]
On Fri, Apr 30, 2004 at 02:24:14PM -0700, Garrick Staples alleged:
> Hi all,
> I'm having a terrible time with mountd segfaulting on two Itanium boxes. I
> can't find a specific trigger, but I can generally trigger it within a few
> minutes by just calling mount/umount a few hundred times.
>
> I'm using glibc 2.3.2 and nfs-utils 1.0.6 from RHE.
>
> In the tests below, I have a single directory exported to 10.125.0.0/16. Since
> I know name resolution was a recent problem, I've made sure all clients are in
> /etc/hosts. I'm using NIS, but files is before dns and nis in nsswitch.conf.
> I've also tested with and without nscd running.
> select(1024, [3 4 5 6 7], NULL, NULL, NULL) = 2 (in [5 6])
> read(5, "", 0) = 0
> --- SIGSEGV (Segmentation fault) @ 20000008002c19d0 (63742f3132353111) ---
> write(5, "10.125.0.0/16 0 \\x00080011020000"..., 62) = 62
> --- SIGSEGV (Segmentation fault) @ 20000000002899d0 (7064752f35343639) ---
I just spotted a pattern. After collecting several strace samples, it always
segfaults after read() or write() to fd 5. And fd 5 is always:
open("/proc/net/rpc/nfsd.fh/channel", O_RDWR) = 5
I have no idea what the file is for, but grep'ing my straces shows that mountd
doesn't normally use it. It can handle hundreds of mount/umount requests
without ever touching fd 5. Then at some point it reads once:
read(5, "10.125.0.0/16 0 \\x00080011020000"..., 128) = 35
If it doesn't segfault on the read(), it might segfault on a write() very soon
after:
write(5, "10.125.0.0/16 0 \\x00080011020000"..., 62) = 62
Thanks in advance to anyone that knows what's going on.
--
Garrick Staples, Linux/HPCC Administrator
University of Southern California
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-04-30 23:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-30 21:24 mountd segfault on itanium2 Garrick Staples
2004-04-30 23:43 ` Garrick Staples [this message]
2004-05-01 0:15 ` J. Bruce Fields
2004-05-01 0:24 ` Garrick Staples
2004-05-01 3:07 ` Garrick Staples
2004-05-03 13:35 ` Jose R. Santos
2004-05-03 18:18 ` Garrick Staples
2004-05-03 18:24 ` Garrick Staples
2004-05-03 20:47 ` Garrick Staples
2004-05-04 0:17 ` Garrick Staples
2004-05-04 1:01 ` J. Bruce Fields
2004-05-04 1:52 ` Garrick Staples
2004-05-04 1:38 ` Garrick Staples
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040430234327.GM22498@polop.usc.edu \
--to=garrick@usc.edu \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.