TC9bx Sync.Dirs: Equal files marked as Unequal at conditions

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
beb
Power Member
Power Member
Posts: 580
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

TC9bx Sync.Dirs: Equal files marked as Unequal at conditions

Post by *beb »

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.
User avatar
beb
Power Member
Power Member
Posts: 580
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Post by *beb »

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.
Last edited by beb on 2016-10-08, 14:42 UTC, edited 2 times in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Confirmed
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50549
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
User avatar
beb
Power Member
Power Member
Posts: 580
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Post by *beb »

Fixed in TC9rc1.
Thank you very much!
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Post Reply