?TC9.0x bug report: hangs when drive becomes unavailable

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
ogonzuhnina
Junior Member
Junior Member
Posts: 3
Joined: 2016-05-12, 07:54 UTC

?TC9.0x bug report: hangs when drive becomes unavailable

Post by *ogonzuhnina »

Not sure if it was reported before:
TC9.0B1 hangs often (nearly allways) when a directory becomes unavailable (network drive, media player etc)

in TC8.5x it recognized the issue pretty quickly and gave option to switch to selected local drive.

now in 9.0B1 it hangs untill process is killed in task manager or recognized as uresponsive by system
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I do not have this problem. Actually it should hang less than TC8.x!

Please download the freeware tool "whatishang" from
http://www.nirsoft.net/utils/what_is_hang.html

and run it when TC hangs. Then post the stack trace for the hanging thread, plus the version of TC, and whether it's 32-bit or 64-bit. I would also appreciate more details, like what you were doing last when TC was hanging (e.g. trying to change to a subdir per double click).
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Anyone else having this problem? I need a stack trace to fix it!
Author of Total Commander
https://www.ghisler.com
ogonzuhnina
Junior Member
Junior Member
Posts: 3
Joined: 2016-05-12, 07:54 UTC

Post by *ogonzuhnina »

sorry for late reply, sure I will post the stack.

It happens to me all the time
(samba shares, cloud plugin, media device)


... well, the tool does not recognize it hangs, TC is stuck at popup //Network Reading directries: 0 (press esc to Abort) and nothing reacts except minimizing to taskbar

... checked again fev times: when opening network location, TC shows up in Whatshang for a second, (but that's regardless if it opens succesfully, or stucks at the popup)... then when location is unavailable, the popup stucks, it is not shown as hang in Whatshang, and I noticed TC9 is top CPU usage process in Task Manager (Memory consumption does not change).

It may be related to x64, but can not check that for sure (8.51a works perfectly, and is 32bit) will try 9.0b2 32 bit and see if it makes a difference

... confirmed. in 32bit version TC handles failed response from external storage very well (Reading network directories did not stuct forever, but after a short while (few seconds) I got an error message "Control deleted from background thread!" and after closing it, TC works normally.
BTW: the issue also happens for quickly browsing/changing directories for slow-responsive network drives (wifi shared smb) (I mean full stuck for x64, short stuck for 32 bit)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I will compare 32-bit and 64-bit code. I'm not aware of any difference right now which would cause this...
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are you using the separate tree(s)? If yes, there will be a fix in beta 4 soon.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in beta 4 or newer, please try it!
Author of Total Commander
https://www.ghisler.com
Post Reply