Menu

#511 gnuwin32 du fails at "C:\Program Files"

CoreUtils
open
nobody
None
5
2012-07-26
2010-05-28
No

On XP SP3, 12GB drive, du quits at (i.e., just before) my directory "C:\Program Files\".
Command is just "du" given at root directory: "C:>du{Enter}"

If the last directory before Program Files is "C:\oracle\" then the last lines listed are like:
12345 ./oracle/foo
23456 ./oracle
34567 .

If I rename "oracle" to "Zoracle", then the last lines from du are like:
1234 ./MyProjects/bar
2345 ./MyProjects
3456 .

In other words, du lists directories up to, and not including, my Program Files directory (in alphabetical order).
Is there any debug switch to enable, short of recompilation from source with debug printfs?

C:\Program Files\gnu\gnuwin32>du --v
du (GNU coreutils) 5.3.0
Written by Torbjorn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering.

Discussion

  • Pete Klammer

    Pete Klammer - 2010-05-28

    P.S. The du command for Program Files issued at root succeeds; i.e., this works:
    C:>du "Program Files"

     
  • rpr

    rpr - 2010-05-31

    I have a similar problem on a MS Windows Server 2003 SP2 (x86, fully patched). I'm getting errors while running e.g.
    "c:\Program Files\GnuWin32\bin\du.exe" --block-size=MB --max-depth=3 d:\Users

    du.exe runs for some time and then crushes with the following error
    logged in the Event Log:

    Event Type: Error
    Event Source: Application Error
    Event Category: (100)
    Event ID: 1000
    Description:
    Faulting application du.exe, version 5.3.0.1936, faulting module
    ntdll.dll, version 5.2.3790.4455, fault address 0x0001bd02.

    The fault address can be different:

    Faulting application du.exe, version 5.3.0.1936, faulting module
    ntdll.dll, version 5.2.3790.4455, fault address 0x0002b5c3.

    Faulting application du.exe, version 5.3.0.1936, faulting module
    ntdll.dll, version 5.2.3790.4455, fault address 0x0002a718.

    -- rpr.