| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B15D53E.9090307@byu.net> |
| Date: | Tue, 01 Dec 2009 19:47:26 -0700 |
| From: | Eric Blake <ebb9 AT byu DOT net> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Issues with find in /proc |
| References: | <2bf229d30912010331l7f041692ld4ed231a8b3edbf4 AT mail DOT gmail DOT com> <20091201161341 DOT GA8059 AT calimero DOT vinschen DOT de> |
| In-Reply-To: | <20091201161341.GA8059@calimero.vinschen.de> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Corinna Vinschen on 12/1/2009 9:13 AM:
> This one appears to be a bug in find. It looks like it's using its own
> version of the fts(3) functions. AFAICS, what happens is that find uses
> fstatat(fd = "/proc/$PID/fd", name="6") in the first place. This
> returns with ENOENT since the descriptor 6 disappeared in the meantime.
> That should be fine for find, but for some reason the next what happens
> is that it calls lstat("6"). The problem here is that the current
> working directory is /proc, which does not contain a file called "6" and
> that in turn results in the assertion.
>
> Eric, could you have a look into that, please?
I need to spend more time on findutils in general, since there is a newer
version that solves several segfaults. But yes, I've added this to my
list of things to remember to double-check.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAksV1T4ACgkQ84KuGfSFAYAZTgCfS6J/cTsXqDc1Pn5ktHFUy3xu
VZ4An1mEsNOugLLcCrQXz+L9hCQarl34
=M5Xd
-----END PGP SIGNATURE-----
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |