TC hangs about 10 seconds when listing driver root

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

TC hangs about 10 seconds when listing driver root

Post by *wwynot »

it happens when I press ctrl + \ to enter the driver root (c:\ for example). It also happens when I start TC with driver root being the current content.

Same problem happens on 7.56.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Cant confirm that.
Sure you dont have a bad Network-Drive or CDs in your CDRom?
Hoecker sie sind raus!
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

Post by *wwynot »

Thanks for your reply!

I don't have any CDs in CDROM.

Regarding bad Network-Drive, I also suspect that's the reason. But I don't have any network-drive mounted. Also the problem happens when I listing C: drive.

BTW, my 64bits Windows 7 is in added in a corporate domain. Does that matter?
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

Post by *wwynot »

BTW, I should say it hangs for about 20 seconds. which is really annoying.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50536
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Cannot reproduce. Does this happen only with a specific drive, or all drives? Maybe there is something in the root which the virus scanner doesn't like, like a huge archive or exe file?
Author of Total Commander
https://www.ghisler.com
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

Post by *wwynot »

the windows explorer doesn't have the problem. I only have 1 driver.

there are 2 huge files which are pagefile.sys and higerfil.sys.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50536
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can try the tool "process monitor" from www.sysinternals.com to check what is going on while TC hangs.
Author of Total Commander
https://www.ghisler.com
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

Post by *wwynot »

It seems tc spent about 2 minutes to access C:\Widnows\CSC\v2.0.6\namespace\xxx and got NAME NOT FOUND. How to avoid this?

BTW, why TC try to access almost all subfolders recursively while loading the root?
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

Post by *wwynot »

It seems that if there are .log files in my root, TC will try to access the default log viewer, which for my case is configured as:
[HKEY_CURRENT_USER\Software\Classes\Log.File\shell\open\command]
@="\"\\\\XXServer\\YYshare$\\tools\\Trace32.exe\" \"%1\""

Don't know how this was configured and how to change it. Any idea?

And since the Trace32.exe is from network driver, it will try to access the C:\Windows\CSC\namespace\XXServer and got NAME NOT Found and cost a lot of time.

Does TC access all associated program for files in the current folder? Why? Can we stop TC from doing this?
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Maybe:

Configuration -> Options... : Display(Icons)
[x] EXE/LNK not on net


helps in your case?

Regards
Holger
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

Post by *wwynot »

Thanks HolgerK!

I already associated .log file to gvim which is on my disk. This resolved the hang problem.

I think the way you suggest must work as well. So I just followed it.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

BTW, why TC try to access almost all subfolders recursively while loading the root?
Maybe you have DirSizeCalc plugin installed and are using Custom columns ?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
wwynot
Junior Member
Junior Member
Posts: 8
Joined: 2012-04-12, 15:45 UTC

Post by *wwynot »

petermad wrote:
BTW, why TC try to access almost all subfolders recursively while loading the root?
Maybe you have DirSizeCalc plugin installed and are using Custom columns ?
No. I haven't heard of it and I don't think I have such plugin installed. I just checked Configuration-->Plugin and there is no any plugin.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50536
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It seems that if there are .log files in my root, TC will try to access the default log viewer, which for my case is configured as:
[HKEY_CURRENT_USER\Software\Classes\Log.File\shell\open\command]
@="\"\\\\XXServer\\YYshare$\\tools\\Trace32.exe\" \"%1\""
TC simply tries to load the icon for that file. is there a DefaultIcon entry? If not, TC will try to get the icon from Trace32.exe. I guess that the file is then scanned by a virus scanner, which causes that long delay.
Author of Total Commander
https://www.ghisler.com
Post Reply