findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: update gnulib to latest, to avoid FTS crash on XFS


From: Bernhard Voelker
Subject: [PATCH] maint: update gnulib to latest, to avoid FTS crash on XFS
Date: Sun, 19 Apr 2020 10:25:35 +0200

Crash on XFS discussed at:
<https://lists.gnu.org/r/bug-gnulib/2020-04/msg00068.html>

Reproducer:

Run this endless loop in a background process:

  $ mkdir -p testdir/{1..10}
  
  $ while true; do
      for i in {1..10}; do
        for j  in {1..8000}; do
          mkdir testdir/$i/$j
        done
      done
      for i in {1..10}; do 
        rm -rf testdir/$i/*
      done
    done &

  $ find testdir -name  mess

Without the patch, find(1) crashed in about every 4th run (here on my system).

Have a nice day,
Berny





reply via email to

[Prev in Thread] Current Thread [Next in Thread]