Hi,
I built coreutils 6.9 on my Solaris 8 box, particularly because I
like gnu du's -S (exclude size of subdirs) capability.
When logged in as root, if I enter:
du -Sk /
I get a system panic and a crash! Something about a null pointer; it
scrolls by very fast, then the system restarts, and I end up with
unix.# and vmcore.# in /var/crash/sol8.
Interestingly, if I enter
du -Skx /
I do not get the crash. When it crashes, du is processing my $HOME
directory, but it's never in the same spot; this could be a red
herring since $HOME is very near the end of directories gnu du seems
to get to (whatever its algorithm is for walking directories).
Other datapoints:
uname -a
SunOS sol8 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10
gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj
--enable-languages=c,c++
Thread model: posix
gcc version 3.3.2
./du --version
du (GNU coreutils) 6.9
...
This does NOT occur using Solaris 10! (The machine is set up to
dual-boot into either Sol8 or Sol10.)
I did do a search of the bug archives and couldn't see anything like
it. Can someone try this on another Solaris 8 box and confirm? If I
need to supply more info, just let me know!
Thank you,
Chris Niggeler
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils