Synchronize Dirs: extract from RAR self-aborting [RC1]

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Synchronize Dirs: extract from RAR self-aborting [RC1]

Post by *StatusQuo »

"Synchronize dirs" aborts operation, when extracting from a RAR archive containing 2 copies of the same file in different directories (they need to be of identical size and date/time).
This problem does not occur with other tested archive formats containing the same file structure (with ZIP, TAR, ARJ, LHA, ACE, TGZ everything seems to be OK).
Also extracting via F5 or WinRAR (context menu/rmb) is working correct.

An example rar archive can be downloaded here:
TC7_sync-fail_RAR-extract.rar
or
TC7_sync-fail_RAR-extract.rar

To reproduce:
- TC left side: open the RAR archive
- TC right side: open an empty directory on local HDD
- call Commands / Synchronize Dirs
- push "Compare" button
- push "Synchronize" button

=> Only the files from root dir are synchronized, then the process is stopped (what it shouldn't be here) and compare starts again.
When you push the "Synchronize" button again, the rest of the files gets extracted.

Screenshots:
start
after 1. sync run
after 2. sync run

BTW, extracting from UC2 in "Synchronize Dirs" seems to be impossible: when pushing the sync button, nothing gets done.

[Edit: updated non-working link to example rar archive]
Last edited by StatusQuo on 2007-04-09, 21:50 UTC, edited 6 times in total.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

TC7_sync-fail_RAR-extract.rar
Link doesn't seem to work!
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

petermad wrote:
TC7_sync-fail_RAR-extract.rar
Link doesn't seem to work!
I have updated the link in my first posting and added a second link to a location at box.net. Sorry for the inconvenience.

If you still can't get the file, please feel free to email me, I will send it to you by eMail (3 kB).
Last edited by StatusQuo on 2007-04-09, 17:14 UTC, edited 2 times in total.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try to reproduce that, thanks for your report.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

For the first link at yah*o: please try to simply left-click the link, wait for the file being sent and choose "Save file to disk"
Tried that in SeaMonkey, Firefox and MS Explorer - keep getting the message that "the server could not be found".

I've added a link to a second location at box.net
Worked fine.

Can confirm the bug now!
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I could reproduce it now too. The problem isn't the identical names, but that files from multiple directory levels need to be unpacked. TC sorts the files the wrong way, so not all are unpacked. They can be unpacked in a second unpack step, though, just press Synchronize again. I already found a way to fix it for the next RC release.
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Fixed in TC7 rc2. :-)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in Tc7rc2 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks! Unfortunately this change caused a new bug in the ftp sync function. :(

I will bring out a new RC as soon as I can.
Author of Total Commander
https://www.ghisler.com
Post Reply