I think I have found some bug in chmod. Maybe it is more general, but I didn't manage (and didn't try hard) to
reconstruct it using different utilities. The sequence (alphabetical order is important)
touch a
mkdir b
touch c
cd b
chmod a-x ../*
makes a segmentation fault.
Though it may look strange, I found it during normal work.
The versions are:
chmod (GNU coreutils) 5.93
Fedora Core 5 on a i686 (2.6.16-1.2111_FC5)
glibc 2.4
The same happens on a different computer with version 5.2.1 (FC2 on a i686, glibc 2.3.3), but the error report looks
worse with new glibc (outputs some backtrace and memory map). I don't have access to more UNIX systems.