bug-coreutils
[Top][All Lists]
Advanced

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

Re: rm 5.1.2 deep-1 test fails on fedora core 1


From: Jim Meyering
Subject: Re: rm 5.1.2 deep-1 test fails on fedora core 1
Date: Fri, 06 Feb 2004 15:22:11 +0100

Cornelis de Gier <address@hidden> wrote:
> du (5.0 and 5.1.2) segfaults in rm 5.1.2 test deep-1. The test passes
> when the following line in deep-1 is changed:
> from
>
> ( ulimit -s 50; du -s $deep > /dev/null ) || fail=1

Thanks for reporting that.

`ulimit -s 50' limits the stack size to 50KB.
That test is supposed to show that the new version of du
(now using fts) requires much less stack space than earlier
ones that used explicit recursion.  So, if you remove the
stack limitation entirely, then of course it will succeed.

Would you please see if the following works on your system?
The `$deep' should be `$tmp'.

( ulimit -s 50; du -s $tmp > /dev/null ) || fail=1

If my system can do it with 8KB of stack, yours should be
able to do it in no more than 50KB.

If not, please try to find the smallest value larger than 50
that works for you.

> Fedora Core 1 on Pentium 4
> Linux 2.4.22-1.2149.nptl
> bash, version 2.05b.0(1)-release
> gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
> CXXFLAGS=-O2 -march=pentium4




reply via email to

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