Problems with latest coreutils (6.5)

Tom Rindborg Tom.Rindborg at fatburen.org
Tue Nov 21 18:31:46 UTC 2006


Hi,

I have problems with ls in the latest coreutils, it segfaults when doing 
ls -l in a directory containing a file with an "unknown" uid:

root at islay(1:580)~> touch foo
root at islay(1:581)~> ls -l
total 136
drwxr-xr-x 5 root root    120 2005-05-21 16:28 GNUstep
drwxr-xr-x 2 root root    304 2006-11-01 16:58 bin
-rw-r--r-- 1 root root 124296 2004-10-29 23:02 capture.tgz
lrwxrwxrwx 1 root root     13 2005-02-14 16:12 el -> /home/tom/el/
-rw-r--r-- 1 root root      0 2006-11-21 19:17 foo
-rw-r--r-- 1 root root    147 2006-11-19 11:49 revdep.txt
-rw-r--r-- 1 root root   7487 2006-11-18 17:44 revdep.txt~
root at islay(1:582)~> chown 500.500 foo
root at islay(1:583)~> ls -l
Segmentation fault
root at islay(1:584)~> pkgadd -u /usr/ports/core/coreutils/coreutils#6.4-1.pkg.tar.gz
root at islay(1:585)~> ls -l
total 136
drwxr-xr-x 5 root root    120 2005-05-21 16:28 GNUstep
drwxr-xr-x 2 root root    304 2006-11-01 16:58 bin
-rw-r--r-- 1 root root 124296 2004-10-29 23:02 capture.tgz
lrwxrwxrwx 1 root root     13 2005-02-14 16:12 el -> /home/tom/el/
-rw-r--r-- 1  500  500      0 2006-11-21 19:17 foo
-rw-r--r-- 1 root root    147 2006-11-19 11:49 revdep.txt
-rw-r--r-- 1 root root   7487 2006-11-18 17:44 revdep.txt~
root at islay(1:586)~>

I can reproduce this on at least three (all that I've tried) machines, so 
it is not just something wrong with my machine. As you can see the problem 
does not exist in coreutils 6.4. Before diving into a debugging session it 
would be good to know if anyone else has this problem, or if it is 
something in my setup.
-- 
Hälsningar/Best regards, Tom
________________________________________________________________________
Tom Rindborg                            Phone: +46-8-599 984 40
Stockholm, Sweden                       MailTo:Tom.Rindborg at fatburen.org
                  "If you have to hate, hate gently."


More information about the CRUX mailing list