From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: bert hubert <bert.hubert@netherlabs.nl>, linux-kernel@vger.kernel.org
Subject: Re: BIND hangs with 2.6.14
Date: Sun, 30 Oct 2005 12:54:30 +0100 [thread overview]
Message-ID: <20051030115430.GA2747@uio.no> (raw)
In-Reply-To: <20051030114537.GA20564@outpost.ds9a.nl>
On Sun, Oct 30, 2005 at 12:45:38PM +0100, bert hubert wrote:
> Check if the address passed, 0x561329b0, is very different from addresses
> passed during regular operations. The error the kernel returns basically
> says that this address is bogus, which it might be, but if more or less the
> same address worked previously chances are that the kernel is confused
Yes, I know what EFAULT means. The interesting part is that I can find one
single call to recvmsg() in the UNIX part of BIND, and there the argument is
on the stack...
strace doesn't show the address except when something fails, but these are
the distinct calls to recvmsg with given addresses (sorted):
[pid 13365] recvmsg(20, 0x56131f60, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(22, 0x56131f60, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(22, 0x56132980, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(22, 0x561329b0, 0) = -1 EFAULT (Bad address)
[pid 13365] recvmsg(23, 0x56131ef0, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(23, 0x56132540, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(23, 0x56132870, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(23, 0x561328a0, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(23, 0x56132940, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(23, 0x561329b0, 0) = -1 ECONNRESET (Connection reset by peer)
[pid 13365] recvmsg(26, 0x56132910, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(28, 0x561324f0, 0) = -1 EFAULT (Bad address)
[pid 13365] recvmsg(28, 0x56132840, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 13365] recvmsg(28, 0x56132840, 0) = -1 EFAULT (Bad address)
[pid 13365] recvmsg(29, 0x56132840, 0) = -1 EAGAIN (Resource temporarily unavailable)
Note that there's multiple EFAULTs in there, and some even go against an
address that was valid at some point... I think there's something fishy in
here.
/* Steinar */
--
Homepage: http://www.sesse.net/
next prev parent reply other threads:[~2005-10-30 11:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-30 2:35 BIND hangs with 2.6.14 Steinar H. Gunderson
2005-10-30 10:11 ` bert hubert
2005-10-30 10:45 ` Steinar H. Gunderson
[not found] ` <20051030110021.GA19680@outpost.ds9a.nl>
2005-10-30 11:36 ` Steinar H. Gunderson
2005-10-30 11:45 ` bert hubert
2005-10-30 11:54 ` Steinar H. Gunderson [this message]
2005-10-31 7:20 ` Lionel Elie Mamane
2005-10-31 10:28 ` Steinar H. Gunderson
2005-10-30 14:22 ` Steinar H. Gunderson
2005-10-30 14:48 ` bert hubert
[not found] ` <4364337F.4090201@erkkila.org>
2005-10-30 10:45 ` Steinar H. Gunderson
2005-10-30 18:54 ` Ray Lee
2005-10-30 19:05 ` Steinar H. Gunderson
2005-10-30 21:40 ` Steinar H. Gunderson
[not found] <53bh4-4UB-5@gated-at.bofh.it>
[not found] ` <53qzy-1yA-7@gated-at.bofh.it>
[not found] ` <53qJ9-1YO-5@gated-at.bofh.it>
2005-10-31 10:17 ` Stefan Schmidt,,,
2005-10-31 16:52 ` Andrew Walrond
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=20051030115430.GA2747@uio.no \
--to=sgunderson@bigfoot.com \
--cc=bert.hubert@netherlabs.nl \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox