[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #45930] -ignore_readdir_race ineffective in find 4.5.11 and 4.5.14
From: |
Bernhard Voelker |
Subject: |
[bug #45930] -ignore_readdir_race ineffective in find 4.5.11 and 4.5.14 |
Date: |
Thu, 13 Jun 2019 02:18:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 |
Follow-up Comment #4, bug #45930 (project findutils):
The issue can be triggered with a shorter command line.
Run this in one terminal:
while env true; do sleep .001; done
and in another one this find(1) command:
$ find /proc -ignore_readdir_race -maxdepth 3 > /dev/null
With that, find(1) is hitting the error pretty reliably.
FWIW: Interestingly, 'oldfind', i.e., the old non-FTS implementation even runs
into an endless loop:
...
/home/berny/findutils/find/oldfind: ‘/proc/1143/net’: Invalid argument
/home/berny/findutils/find/oldfind: ‘/proc/1143/net’: Invalid argument
/home/berny/findutils/find/oldfind: ‘/proc/1143/net’: Invalid argument
/home/berny/findutils/find/oldfind: ‘/proc/1143/net’: Invalid a^C
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?45930>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/