|
From: | Cornelis de Gier |
Subject: | Re: rm 5.1.2 deep-1 test fails on fedora core 1 |
Date: | Fri, 06 Feb 2004 17:05:09 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
Jim Meyering <address@hidden> wrote:
Cornelis de Gier <address@hidden> wrote:
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.
Lower values up to 800 cause du to segfault 9 in 10 cases, around 1500 du segfaults about 1 in 10 cases. From 2000 du doesn't seem to segfault.
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) CFLAGS=-O2 -march=pentium4
Same result for CFLAGS=-O2 Cornelis
[Prev in Thread] | Current Thread | [Next in Thread] |