CDD /S bug

I just reinstalled Windows 7 64 bit, and installed TCC 12.11.74 x64

Now when I run:
cdd /S
or
cdd /U C:\

the TCC windows exits after a few seconds without error message without building the index.

I ran:

C:
dir /bs *.* >temp.txt

It similarly died.
Inside temp.txt I noticed
C:\Windows.old\Documents and Settings\Roedy\AppData\Local\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Corel
C:\Windows.old\Documents and Settings\Roedy\AppData\Local\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\ElevatedDiagnostics
C:\Windows.old\Documents and Settings\Roedy\AppData\Local\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Logishrd
C:\Windows.old\Documents and Settings\Roedy\AppData\Local\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Nero

Something strange is happening that is causing the recursion. I wonder if TCC should defend itself.
 
the TCC windows exits after a few seconds without error message without building the index.

I tried
TreeExclude=C:\Windows;C:\Windows.old
to no avail.

I pruned out nearly everything in windows.old and it worked. Oddly, when I viewed with explorer, I saw nothing that looked responsible for the recursion.
 
I wonder if TCC should defend itself
I've no idea how difficult it would be to code, but I'd like to see TCC spot the circular reference, issue an error and unravel the recursion rather than simply running until it crashes.

I saw nothing that looked responsible for the recursion
By default the Documents and Settings/Users structure contains at least two circular references, which you are only protected from by the security ACLs on the filesystem. Once you copy the whole structure then that protection disappears.
 
Similar threads
Thread starter Title Forum Replies Date
Dick Johnson cdd - is this a bug or a feature? Support 7
samintz CDD to non-existent directory hangs Support 2
vefatica TCCHere vs. CDD? Support 6
thorntonpg cdd /T and cdd /TO Support 4
fishman@panix.com V23 cdd /s doing WIERD things. Support 5
A CDD and DOS filenames Support 1
fishman@panix.com Extended Directory Searches are not working for me in CDD Support 9
H WAD Problem with cdd /s Support 2
C How to? query about CDD Support 1
Roedy WAD CDD buglets Support 15
S CDD Doesn't Find Directory? Support 3
C cdd /T . hangs tcc.exe Support 2
M Does CDD /TO work? Support 13
Roedy cherry pitted CDD window Support 1
Joe Caverly Slow CDD Support 0
Y CDD /U overwrites Support 1
Roedy CDD command window size Support 6
David McClelland TC10 - cdd /t gives invalid parameter Support 2
A Inverse of CDD /t c:\ (sync TCC currdir to Folders view)? Support 9
J CDD Help Nitpick Support 0
Dick Johnson v28 Cosmetic Bug Support 0
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
R strange bug? Support 7
Jay Sage Bug With Flow Control and/or Command Grouping Support 2
M Server 2019 Bug with @execstr? Support 14
R bug _ypixels in BDEBUGGER Support 6
E Fixed Bug with DIR /Z displaying descriptions Support 8
E Text copy bug Support 1
x13 SETARRAY /Z bug Support 6
Gamegod ffind bug with chinese Support 2
P "Set" command behavior - a bug? Support 3
nikbackm TCC 20 variable expansion bug Support 6
gentzel Bug launching external commands in 20.11.43 Support 11
R Is this a bug in SETARRAY? Support 2
M Windows Installer bug? Support 4
vefatica @SCRIPT bug persists Support 4
M Little bug, big consequences .. Support 6
fishman@panix.com Once again the Can't Install bug bites... Support 2
gentzel Fixed dirs +n bug in 20.0.12 x64 Support 2
M Bug in Windows 10, when adding symbol to task bar Support 6
Alpengreis [Bug?] View (V) Prefs Error (TC 18.00.27 x64) Support 4
D WAD Minor Post Installation Bug in V18 Support 1
I Possible Bug: History /n Returns Nothing Support 3
samintz WAD Weird REN bug Support 6
Jay Sage WAD Possible Bug in Batch Parameters Support 7
G Bug? TCC 16.03.55 Console Palette Support 4
S Return of FTP copy bug in 16.02.48 Support 12
S XenForo bug Support 3
D TCMD16 Delete Toolbar Button bug Support 7
keithg1964 WAD 16.0027 Alias /rz bug Support 8

Similar threads