Often when I try to rename a folder, it fails as some process still holds a handle to it. Since lately there's this nice retry dialog for this situation.
But sometimes (happened already 3 times) TC crashes when I closed the according processes and retry it:
Sometimes I'm able to reproduce it, when I open a cmd.exe with a command line antivirus scanner in the folder, then try to rename and get the error message, abort the scanner and close cmd, click on OK in the error message and OK in the rename dialog.
I wasn't able to reproduce it with just cmd.exe, yet, but I didn't try too many times...
Yes, that shouldn't cause any problems. Do you use one of the "watch directory changes" options (Configuration - Options - Refresh, lower part)? Maybe something is causing the directory to change just when you try to rename that file?
Yes, the first two and the last two options under "Auto-Refresh when the file system changes" are set, and one unrelated drive is excluded.
Indeed, the command line scanner is creating a log file, which regularly triggers a directory change (open, write line, close, open, write line, close, ...). But as long as it's running, the directory is locked, so renaming won't work anyways. Perhaps the last change event after closing the scanner is delayed until I click on OK in the rename dialog?
I just also got this crash, when renaming a file on a mounted network share, which was still memory mapped by another application. It said, it cannot rename, I closed the other application, confirmed two times in TC and then it crashed. I think I saw a directory refresh right at the time it crashed.
---------------------------
Total Commander 7.56a
---------------------------
Access violation at address 0067DEF0. Read of address 00000034.
Access violation at address 0067DEF0. Read of address 00000034
Windows Vista SP2 6.0 (Build 6002)
Please report this error to the Author, with a description
of what you were doing when this error occurred!
I recently got these crashes also for local folders (on a TrueCrypt mount) a few times, when trying to rename a folder, when it was still opened by other applications (for example, cmd.exe with current directory in this folder):