Bug with folder: Delete > reappears > open > error

Bug reports will be moved here when the described bug has been fixed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
Serge
New Member
New Member
Posts: 1
Joined: 2018-06-22, 09:36 UTC

Bug with folder: Delete > reappears > open > error

Post by *Serge » 2018-06-22, 09:50 UTC

I created the folder. Then I removed it. After some time, it reappears again. When I open a folder, an error occurs.

"No access or file is in use"

User avatar
Usher
Power Member
Power Member
Posts: 623
Joined: 2011-03-11, 10:11 UTC

Post by *Usher » 2018-06-22, 10:39 UTC

It's not a bug, I think. It's probably well known issue with delayed delete.
https://social.technet.microsoft.com/Forums/ie/en-US/a4d33ce8-1892-4c1c-a869-d81056642a56/delayed-file-delete?forum=w7itprogeneral

In your case - you made some actions with the folder and system couldn't delete it immediately. Maybe the folder was open in some Explorer window or TC tab, or maybe you had opened a program that created temp file in this folder…
Regards from Poland
Andrzej P. Wozniak

ckfwong
Junior Member
Junior Member
Posts: 8
Joined: 2016-10-14, 17:40 UTC

Post by *ckfwong » 2018-06-23, 00:29 UTC

I also see this exact problem and it only started with RC2 and it is consistent.

What I find is because of this issue the folder appears to be still there but if I close Total Commander and start it again the folder is truly gone.

LionTech
Junior Member
Junior Member
Posts: 31
Joined: 2003-06-12, 19:07 UTC
Location: Belgium
Contact:

Post by *LionTech » 2018-06-23, 06:23 UTC

Confirmed. I had to go back to 9.12. It seems as if TC 9.20RC2 leaks a file handle. Quiting TC and restarting it makes the directory go away. TakeOwn and icacls don't even see the file.

Andreas85
Junior Member
Junior Member
Posts: 27
Joined: 2015-08-21, 09:35 UTC
Location: Harz

Post by *Andreas85 » 2018-06-23, 08:18 UTC

Confirmed!

pulbitz
Junior Member
Junior Member
Posts: 33
Joined: 2009-06-05, 12:19 UTC

Post by *pulbitz » 2018-06-23, 15:06 UTC

Confirmed. (RC1 is OK)

It seems to be caused by the following modifications.

20.06.18 Fixed: Prevent thread watching for directory changes (Configuration-Options-Refresh-Auto-refresh when the file system changes) from hanging the main thread (32/64)

User avatar
MaxX
Power Member
Power Member
Posts: 671
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2018-06-24, 08:57 UTC

Confirm.
9.12 Final works fine

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38384
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-06-24, 09:32 UTC

It's a nown problem caused by the following bugfix:
20.06.18 Fixed: Prevent thread watching for directory changes (Configuration-Options-Refresh-Auto-refresh when the file system changes) from hanging the main thread (32/64)

It will be fixed in RC3.
Author of Total Commander
http://www.ghisler.com

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38384
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-06-27, 09:30 UTC

This should be fixed in Total Commander 9.20 RC3, please test!
Author of Total Commander
http://www.ghisler.com

pulbitz
Junior Member
Junior Member
Posts: 33
Joined: 2009-06-05, 12:19 UTC

Post by *pulbitz » 2018-06-27, 11:57 UTC

fixed.

ckfwong
Junior Member
Junior Member
Posts: 8
Joined: 2016-10-14, 17:40 UTC

Post by *ckfwong » 2018-06-28, 12:43 UTC

Fixed

Post Reply