Re: find command trigger coredump

2020-04-16 Thread Bernhard Voelker
On 2020-04-16 21:36, Paul Eggert wrote: > On 4/16/20 9:32 AM, Bernhard Voelker wrote: > >> okay, strange - eventually I have time to try the same with du(1) later this >> evening. > > Yes, it is strange. I tried 'find' and the Gnulib patch fixed the bug for me > there too. I used the same repro

Re: find command trigger coredump

2020-04-16 Thread Paul Eggert
On 4/16/20 9:32 AM, Bernhard Voelker wrote: okay, strange - eventually I have time to try the same with du(1) later this evening. Yes, it is strange. I tried 'find' and the Gnulib patch fixed the bug for me there too. I used the same reproducer that you did. It was easy to reproduce the pro

Re: find command trigger coredump

2020-04-16 Thread Bernhard Voelker
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/m

Re: find command trigger coredump

2020-04-16 Thread Paul Eggert
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? 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

Re: find command trigger coredump

2020-04-16 Thread Bernhard Voelker
On 2020-04-16 06:03, Paul Eggert wrote: > I worked around the bug by removing that optimization from Gnulib fts.c, by > installing the attached patch. I expect that this optimization is obsolete > nowadays, as XFS is now working and ReiserFS is either working, or is so > unpopular that high perf

Re: find command trigger coredump

2020-04-16 Thread Kamil Dudka
On Thursday, April 16, 2020 6:03:45 AM CEST Paul Eggert wrote: > Thanks for the bug report archived at > . What you appear > to be saying is that the Gnulib fts NOSTAT_LEAF_OPTIMIZATION code is buggy > when an XFS filesystem is mutating, and

Re: find command trigger coredump

2020-04-15 Thread Paul Eggert
Thanks for the bug report archived at . What you appear to be saying is that the Gnulib fts NOSTAT_LEAF_OPTIMIZATION code is buggy when an XFS filesystem is mutating, and that your test case illustrates a mutating filesystem that can cau

find command trigger coredump

2020-04-14 Thread ??????
Hi guys  when i use find to search someting trigger coredump  find command use gunlib source code so i report this  reproduction method: 1??xfs filesystem  2??create 10 directory  in /opt     mkdir {1..10} 3??use mkdir.sh to create large number of subdiretcories under the directory