[11.55 rc] Can't calculate CRC for new created files.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1183
Joined: 2012-03-23, 18:15 UTC
Location: UA

[11.55 rc] Can't calculate CRC for new created files.

Post by *MaxX »

1. Unpack some hundreds files from any archive (rar, zip, 7z...) to any empty folder.
2. Try to create SHA1 with that folder under cursor.
3. Get some read errors for random files.
4. Restart TC, try step 2 again.
5. No read errors now.

Noticed in 11.55 RC 2 and RC 3.
TC 11.51 works fine.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55 rc] Can't calculate CRC for new created files.

Post by *ghisler(Author) »

Not confirmed. Can anyone reproduce that?

Could you provide more details?
1. Total Commander 32-bit or 64-bit?
2. Windows version
3. Exact steps to reproduce?

I tried these steps:
1. Selected a few zip files
2. Alt+F9
3. Checked options "Unpack path names" and "Unpack each archive to separate subdir"
4. Selected the new folders
5. Files - Create checksum files
6. SHA1 checked, no other options
-> checksum file was created just fine
7. Same but create checksum for each directory
-> checksum files were created just fine
8. Same but create checksum for each file
-> checksum files were created just fine
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1183
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [11.55 rc] Can't calculate CRC for new created files.

Post by *MaxX »

Win 10 22H2 Pro x64, TC is also x64.
These detailed steps are exact. I often use 7z and rar archives too.
I've got this error twice in different time. Then tried to google the problem and found the mention of similar problem on another forum by it's members.
I'll try to do more tests, don't think that it was a random coincidence.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55 rc] Can't calculate CRC for new created files.

Post by *ghisler(Author) »

I tested over 200'000 files and did not get a single error.

Maybe the file was locked by a virus scanner? I'm using Windows Defender, and it only blocks files here when TC is currently loading its icon (e.g. for exe files). But even then, CRC calculation works, I just can't delete the file.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50703
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55 rc] Can't calculate CRC for new created files.

Post by *ghisler(Author) »

I found a memory leak in the "create checksum" function, maybe it caused your problems?
25.05.25 Fixed: Memory leak when creating checksums (64)
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1183
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [11.55 rc] Can't calculate CRC for new created files.

Post by *MaxX »

Thanks. I'll try to check this in some days.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
MaxX
Power Member
Power Member
Posts: 1183
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [11.55 rc] Can't calculate CRC for new created files.

Post by *MaxX »

It seems to be OK now. Can't get any read error now.
Ukrainian Total Commander Translator. Feedback and discuss.
Post Reply