TC9bx Synchronize Dirs Tool:
Equal files are detected and marked as Unequal at some conditions
* Here's rar archive:
http://rgho.st/64kMGj8FY
* Reproduction video:
https://drive.google.com/open?id=0B3BTNbPc9FR5WjdZNThfYkxhdzg
How to reproduce:
1. Left panel:
1.1. Enter resource_hacker_3.6.rar
1.2. Enter resource_hacker_3.6.0.92.rar
1.3. Enter Resource_Hacker_3.6.0.92_FX_1.4.18_Rus folder
2. Right panel:
2.1. Enter resource_hacker_3.6.rar
2.2. Enter Resource_Hacker_3.6.0.92_FX_1.4.18_Rus.rar
3. Synchronize Dirs Tool:
3.1. Start tool.
3.2. Check [by content] and [ignore dates] options.
3.3. Run Compare.
3.4. Double click any line with files marked Unequal
and get message: "The two files have the same content!"
N.B. Reported by user desertmt in Russian:
http://forum.ru-board.com/topic.cgi?forum=5&topic=48247&start=1120#13
* Confirmed 3 times by users.
* TC 8.52 reported as not affected.
* Initially I did not confirm this on my working well set up TC 9b17 x32/x64 @ Win10 x64, getting all the files as Equal.
But I did on newly installed clean TC copy. So I am the fourth.
I could not find out which specific settings or somewhat else my working TC copy has to be free of the reported behavior.
TC9bx Sync.Dirs: Equal files marked as Unequal at conditions
Moderators: Hacker, petermad, Stefan2, white
Got some news:
* my working TC 9 beta 17 copy:
a. among others Total7zip 0.8.5.6 plugin has been found installed and after all it is associated with rar extension.
b. remove it (the plugin itself or just the rar association).
c. reported bug has come!
* clean TC 9 beta 17 copy:
a. install Total7zip 0.8.5.6 plugin:
http://www.ghisler.ch/board/viewtopic.php?t=28125
b. open wincmd.ini and add the line below into the [PackerPlugins] section:
[PackerPlugins]
rar=735,%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx
b. bug is gone.
So:
- When the rar archives were served by Total7zip plugin the bug had no chance to appear.
- The source of the reported bug is related to TC internal UNRAR libraries somehow.
* my working TC 9 beta 17 copy:
a. among others Total7zip 0.8.5.6 plugin has been found installed and after all it is associated with rar extension.
b. remove it (the plugin itself or just the rar association).
c. reported bug has come!
* clean TC 9 beta 17 copy:
a. install Total7zip 0.8.5.6 plugin:
http://www.ghisler.ch/board/viewtopic.php?t=28125
b. open wincmd.ini and add the line below into the [PackerPlugins] section:
[PackerPlugins]
rar=735,%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx
b. bug is gone.
So:
- When the rar archives were served by Total7zip plugin the bug had no chance to appear.
- The source of the reported bug is related to TC internal UNRAR libraries somehow.
Last edited by beb on 2016-10-08, 14:42 UTC, edited 2 times in total.
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, I could reproduce it. The unpack method was changed to handle deduplicated files (files with the same content but different names) in RAR. This change couldn't handle more than 1 unrar operation per thread at the same time. The above requires 2. I will change it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com