On 2020-04-16 18:01, Paul Eggert wrote:
> On 4/16/20 6:36 AM, Bernhard Voelker wrote:
> 
>> I installed it in my local findutils tree, but find still crashes:
> 
> Thanks for checking. Do you have a reproducer for that?

The same as in the original post.
https://lists.gnu.org/r/bug-gnulib/2020-04/msg00068.html

With the patch:

$ while :; do date ; ~berny/findutils/find/find /opt -name  mess; done
Thu Apr 16 18:29:30 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:31 CEST 2020
Thu Apr 16 18:29:31 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:31 CEST 2020
Thu Apr 16 18:29:32 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:32 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:32 CEST 2020
Thu Apr 16 18:29:33 CEST 2020
Thu Apr 16 18:29:33 CEST 2020
Thu Apr 16 18:29:33 CEST 2020
Thu Apr 16 18:29:34 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:34 CEST 2020
Thu Apr 16 18:29:35 CEST 2020
Thu Apr 16 18:29:35 CEST 2020
Thu Apr 16 18:29:35 CEST 2020
Thu Apr 16 18:29:36 CEST 2020
Thu Apr 16 18:29:36 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:37 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:37 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:37 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:29:38 CEST 2020
^C

Without the patch:

$ while :; do date ; /usr/bin/find /opt -name  mess; done
Thu Apr 16 18:30:16 CEST 2020
Thu Apr 16 18:30:16 CEST 2020
Thu Apr 16 18:30:16 CEST 2020
Thu Apr 16 18:30:16 CEST 2020
Thu Apr 16 18:30:16 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:17 CEST 2020
Thu Apr 16 18:30:17 CEST 2020
Thu Apr 16 18:30:17 CEST 2020
Thu Apr 16 18:30:17 CEST 2020
Thu Apr 16 18:30:17 CEST 2020
Thu Apr 16 18:30:17 CEST 2020
Thu Apr 16 18:30:17 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:17 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:18 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:18 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:18 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:18 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:18 CEST 2020
Thu Apr 16 18:30:18 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:18 CEST 2020
Aborted (core dumped)
Thu Apr 16 18:30:19 CEST 2020
^C

So not much difference.

>> Did it fix the crash for you (maybe in du(1))?
> 
> Yes, the patch fixed 'du' when I was running 'du' in an XFS filesystem that 
> was 
> being mutated by a different process that was creating subdirectories. 
> Without 
> the fix, 'du' often (but not always) crashed; with the fix 'du' never crashed 
> in 
> the dozen times I tried.

okay, strange - eventually I have time to try the same with du(1) later this 
evening.

Have a nice day,
Berny

Reply via email to